Title: Message
I believe that the domain needs to be in Windows server 2003 mode for this command to work.
----- Original Message -----
Sent: Wednesday, January 26, 2005 3:26 PM
Subject: RE: [ActiveDir] Computer Account Cleanup

I tried running this utility �dsquery computer domainroot -inactive 4� and received the following error message on our Windows 2003 Domain.

 

dsquery failed:The parameter is incorrect.:Windows could not run this query because you are connected to a domain that does not support this query.

type dsquery /? for help.

 

I did not find �help� to be that helpful in resolving the issue.  Does anyone have any ideas?

Thanks,

S


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hines
Sent: Tuesday, January 11, 2005 8:40 AM
To: [email protected]
Subject: Re: [ActiveDir] Computer Account Cleanup

 

Joe's utility works for Windows 2000.  I'm reading about it now.  I don't think there is a MS utility to do this for windows 2000 but you could wrtie a script to query for pwdLastSet .  I may have a copy of one but you probably be better off using Joe's tool.  

----- Original Message -----

Sent: Tuesday, January 11, 2005 11:23 AM

Subject: RE: [ActiveDir] Computer Account Cleanup

 

Hi all,

 

Is there one for windows 2000? This is also an issue i have tried resolving.

 

regards

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hines
Sent: Tuesday, January 11, 2005 5:06 PM
To: [email protected]
Subject: Re: [ActiveDir] Computer Account Cleanup

In windows 2003 you can use "dsquery computer -inactive or -stalepwd". Here is a link to the syntax. 

 

----- Original Message -----

Sent: Tuesday, January 11, 2005 10:41 AM

Subject: [ActiveDir] Computer Account Cleanup

 

Is there a free MS utility that allows you to identify and cleanup old computer accounts within AD? Any suggestions would be appreciated.

 

Thanks,

Liz

Reply via email to