I'm looking for a client-side method of confirming whether or not a user is connected and fully integrated into an active directory domain.

I know users can type echo %userdomain% %username% but does that actually confirm the state of their connection? Or does it just return their login details?

-M

link|improve this question

73% accept rate
feedback

2 Answers

"Connected" and "fully integrated" are somewhat open to interpretation, but at a command prompt perhaps try:

net config workstation
link|improve this answer
feedback

What about the command whoami ?

When I'm the local system admin

C:\>whoami
NT AUTHORITY\SYSTEM

Or (when I on the PDC)

C:\WINDOWS\system32>whoami
CORP\Username

Update
I just realised that whoami is not a standard command (except in Vista+).

For older versions of Windows :

  1. It's part of the "Windows XP SP2 Support Tools"
  2. Was before in the "Windows 2000 Resource Kit".
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.