dsquery inactive

J

James Roman

When I run the following command:

dsquery user -limit 0 - inactive 12

I get the following response:

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.

I can not find any reference to what causes this error or
what version of AD supports the command. Can anyone help?

Thanks
James
 
S

Simon Geary

dsquery is new to Windows Server 2003 so I would guess you are getting this
error running against a Windows 2000 domain?
 
B

Bobby Davies

Then my guess is that functionality requires windows 2003 domain functional
level.
 
U

Ulf B. Simon-Weidner

When I run the following command:

dsquery user -limit 0 - inactive 12

I get the following response:

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.

I can not find any reference to what causes this error or
what version of AD supports the command. Can anyone help?

Thanks
James
Hi James,

IIRC the query is running against some attribute (like logon or logouttime)
which is only replicated in Windows Server 2003 Native Mode. In all other modes
this attribute is held on the local domain controller and therefor you would
need to query all dc's for the information which is not done by dsquery.

Gruesse - Sincerely,

Ulf B. Simon-Weidner
 
G

Guest

I have the same problem even I run "dsquery user -inactive 4" on a Windows Server 2003 domain controller, anything I need to do to modify the configuration of WS2k3 to make it support this query?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top