Solved

Windows:  How do I determine my user ID from a command prompt

Posted on 2014-10-07
3
156 Views
Last Modified: 2014-10-08
From a command prompt, how do I determine what userID I logged in under

I am running Windows 2008

Thanks
0
Comment
Question by:Anthony Lucia
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 25

Accepted Solution

by:
Mohammed Khawaja earned 167 total points
ID: 40367208
Run SET and look for username and if connected to domain then look at userdomaindomain.  You could also run WHOAMI to show you the username.
0
 
LVL 22

Assisted Solution

by:Christopher McKay
Christopher McKay earned 167 total points
ID: 40367211
you can type:

echo %username%

That'll give your logon name.

Hope this helps!

:o)

Bartender_1
0
 
LVL 16

Assisted Solution

by:Joshua Grantom
Joshua Grantom earned 166 total points
ID: 40367230
whoami

is the easiest and its a good way to check to make sure you are using an elevated account in case you have separate user and admin accounts.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hallo! I guess almost every Windows Administrator must have got stumped with this question "Where does WINDOWS store a users cached credentials? Every user who had once logged onto a Server/Desktop while it was connected to the domain could sti…
Many admins will agree: WSUS is is a nice invention but using it on the client side when updating a newly installed computer is still time consuming as you have to do several reboots and furthermore, the procedure of installing updates, rebooting an…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question