-
WhoamI.exe question
Okay, so I'm preparing a tutorial on windows shortcut key's and built-in command prompt programs but I have a little question. While using the whoami command, under the [Group 1] section I get a Domain \none result. Does this mean that I am not member of the domain or what? I can only guess. I searched google and the MS knowledgebase and I'm still confused.
-
its means that the computer is not part of the domain... was the computer you were running this on part of a domain?
-
Well the computer i ran it on a few minutes ago was not part of a domain. However this morning I was fooling around in a computer store with a computer that should be on a domain but I got the same thing. I guess I'll have to go back to the store and ask them.
-
Whoami Displays the CURRENT username and domain.
Displays the complete contents of the access token in the command window. Displays the user name and security identifier (SID), the group names, types, attributes and their SIDs, the
WHOAMI 2.0 @1997. Written by Christophe Robert([email protected]).
WHOAMI [/option] [/option] ...
Where /option is one of the following:
/ALL = Display all information in the current access token.
/NOVERBOSE = Display minimal information. *
/USER = Display user.
/GROUPS = Display groups.
/PRIV = Display privileges.
/LOGONID = Display Logon ID.
/SID = Display SIDs. *
/HELP = Display help.
* Must be used with option /USER, /GROUPS, /PRIV or/LOGONID
Samples are as follows:
WHOAMI
WHOAMI /ALL
WHOAMI /USER /SID
WHOAMI /GROUPS
WHOAMI /GROUPS /NOVERBOSE
WHOAMI /USER /GROUPS /SID
WHOAMI /PRIV /NOVERBOSE
WHOAMI /USER /GROUPS /PRIV
WHOAMI /HELP
If it displays only %USERNAME% then you are not logged onto the pc with a domain account.
-
Here is a thought... right click on "My Computer", go to properties, then network identification and see for yourself. You will either be in a workgroup, or a domain... and it sounds like a workgroup.
You can also use the little built in windows help file about whoami, or if you are too cool for that, try google.com :rolleyes:
-
http://antionline.com/showthread.php?s=&threadid=245868
As stated, it means the machine is NOT a member of a domain.
-Maestr0
-
Oh wow. :-/ I feel really dumb now. I looked at that same thread and i must have been rushing or something.