i have a case where i want to check whether the computer has join the microsoft domain or not.
after searching, i found the effective way is to run command nltest.exe. nltest.exe is a command to check trust relationship between workstation and domain controller.
is there any way that custom check can do this ? in CAM document, only registry, file, service, and application check.
this is the link from Microsoft : http://support.microsoft.com/kb/158148
C:\>nltest /server:test3 /sc_query:testd
Connection Status = 0 0x0 NERR_Success
Trusted DC Name \\TEST2
Trusted DC Connection Status Status = 0 0x0 NERR_Success
The command completed successfully
Can Clean access agent do the command line check and interpret the result ?