Solved

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

Posted on 2014-10-07
3
160 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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

In a hurry?.. scroll down to "HERE's HOW TO DO IT" Section. Greetings All, I was going to post this as question/solution, but its seems more appropriate as an article considering its length.  I felt it important to illucidate all the details c…
This article covers how to install the Microsoft Windows Operating System (OS). What is covered in this article:  > Different Versions and Editions of the Windows OS  > Upgrading versus Fresh Installation of the OS           - Steps to take pr…
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). …
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…

705 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