Skip to main content
0 online
yay yayOG 2004

It looks like 2003, is this what you are running?
Do the commands even exist on that system?

They are not scripts, they are actual programs
dsquery and dsmod are programs for supporting AD

Its just piping one command output to the right command

thefunkyfresh thefunkyfreshFounder

I think they exist... I'm not really sure though. If I go to the command prompt and type in dsquery /? it gives me a whole bunch of info. However, I did a search on the drive and didn't find dsquery.exe or dsmod.exe.

I did a search online and found a site where I could download dsquery.dll
What do I need to do?

yay yayOG 2004

in your cmd prompt run
dsquery user -inactive 9

does it give youa list of users?

yay yayOG 2004

basically it says
for every user 9 months inactive, disable the user with dsmod command
pipe the list of "dsquery user -inactive 9" to "dsmod user -disabled yes"

so a couple things.

if its 2003 specific, and dont have 2003 you may be out of luck
if you do, then you need to install your resource disks

thefunkyfresh thefunkyfreshFounder

we do have server 2003... i'll look for those disks i guess

yay yayOG 2004

you have the commands, its just the way your executing is wrong or something is wrong

try to execute one command at a time

Welcome Back to eZabel

It's been a while. Here's what's new.

eZabel Lore

A complete history of our community — stats, Hall of Fame, legendary threads, and more.

View the Lore →

Everything Preserved

All 225,969 pieces of content from 2000–2014 are here — forums, messages, journals, photos, polls, and events.

💎

Gems

Spot something you love — a legendary comment, a classic thread, a great photo? Log in and click the diamond icon to mark it as a Gem. Add a note about why it's special. The best stuff surfaces on the Gems page.