Here's how you can find out which domain controller your computer is getting authenticated with:
gpresult /rSET L
echo %logonserver%
nltest /dsgetdc:
gpresult /r /scope:computer
=VB Script= Set objDomain = GetObject("LDAP://rootDSE") strDC = objDomain.Get("dnsHostName") Wscript.Echo "Authenticating domain controller: " & strDC
Which DCs are there in the domain?
NETDOM QUERY PDC
NETDOM QUERY DC (Lists all DC’s in domain)
NETDOM QUERY FSMO
Комментариев нет:
Отправить комментарий