Solved

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

Posted on 2014-10-07
3
149 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
3 Comments
 
LVL 24

Accepted Solution

by:
Mohammed Khawaja earned 167 total points
Comment Utility
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:Bartender_1
Bartender_1 earned 167 total points
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Log files are useful in diagnosing and repairing problems.  This is a list of common log files and their standard locations that I've compiled.   While this is not exhaustive, it is a pretty good list that I've found to be useful.  I may update it f…
This is a little timesaver I have been using for setting up Microsoft Small Business Server (SBS) in the simplest possible way. It may not be appropriate for every customer. However, when you get a situation where the person who owns the server is i…
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…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

744 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now