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
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?
in your cmd prompt run
dsquery user -inactive 9
does it give youa list of users?
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
we do have server 2003... i'll look for those disks i guess
you have the commands, its just the way your executing is wrong or something is wrong
try to execute one command at a time