Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just want to see my login info after I am logged in, including the domain. Is there an area where I can see that on Windows Serer 2008 R2?

share|improve this question
    
You might want to define "my login info" a bit more - my answer kinda just guessed at what you wanted. – Ben Pilbrow Aug 11 '10 at 21:41
up vote 0 down vote accepted

Just type whoami on the command line.

share|improve this answer
    
that did it, thx – user8160 Aug 11 '10 at 21:42
    
Good answer but there's no way to know if the domain listed is the local domain (computer) or AD domain, unless the OP knows what his computer name is. (which he probably does). – joeqwerty Aug 11 '10 at 23:17
    
That's very true. If you really needed to, I'm sure you could write a vbs script and determine if you're logged on locally or on the domain with some WMI-fu. – Ben Pilbrow Aug 11 '10 at 23:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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