dsquery tool

  • Thread starter Thread starter steve
  • Start date Start date
S

steve

Hi all,

I have a W2K domain with two DCs, both running W2K SP4.
Can anyone tell me if it is possible to use the dsquery
tool?

Thanks,
Steve
 
Yes you can use dsquery tool, but some functionality won't work, like
finding inactive machines, as it relies on AD attributes only found in WS2k3
AD functionality level.

Regards
 
You forest has to be in Windows Server 2003 functionality level. It is not
enough that you run this command from Ws2k3 machine, but also all your DC's
have to be WS2k3 + domain and forest must be raised to WS2k3 functionality
level.

--

Regards

Matjaz Ladava, MCSA, MCSE, MCT, MVP
Microsoft MVP Windows Server - Active Directory
(e-mail address removed), (e-mail address removed)



Lily said:
When I run "dsquery user - inactive 4" on WS2k3 domain controller, i got following message
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.
Should i do anything to modify the WS2k3 configuration to make it support
this query?
 
The domain i queried just has 2 DC, and both are WS2k3. I got same message even I put -s or -d parameter, which means that I just query this server/domain.

dsquery user -inactive 1 -s aaa.aaa.aaa.aa.co
dsquery user -inactive 1 -d aaa.aaa.aa.co

Is that still required that forest be in Windows Server 2003 functionality level even i just query a single ws2k3 domain/seve
 
yes. You must rise your domain functionality. You do this in AD users and
computers by right clicking on your domain and select raise domain
functionality level.

--

Regards
Matjaz Ladava, MCSA, MCSE, MCT, MVP
Microsoft MVP Windows Server - Active Directory
(e-mail address removed), (e-mail address removed)
 
Back
Top