• Skip to main content
  • Skip to header right navigation
  • Skip to site footer
iGuRu

iGuRu

Real-time Technology News. Opinions & Tweaks

  • / news
  • / tools
  • / tweaks
  • / dummies
  • / opinions
  • / support
  • / yourpost
home / News / How to use the Whoami command

How to use the Whoami command

04/01/2021 22:19 by giorgos

"Who am I;" is a philosophical question for late night discussions. Whoami, on the other hand, is an extremely useful Windows command.

When you run the whoami command in a Windows command prompt box with no additional commands, you will see the minimum details: the current domain and username, in the form \ domain \ username (if you are logged in to a local account or a Microsoft account , the domain will display your computer name).c cmd - How to use the Whoami command

Run the Whoami command with /? and you will see the help that displays the options for displaying and formatting additional information for the currently logged in user account.

For best results, use the whoami / all command, and it will display the security ID (SID) for the current user, along with information about team members and privileges.

The / fo list switch changes the default panel display (which can be difficult to read) to a neat list.

whoami - How to use the Whoami command

Use the / fo csv switch to change the appearance of the results to comma-separated values, which you can enter into a spreadsheet.

WHOAMI Parameter list:

/ UPN : displays the user name in User Principal Name (UPN) format.
/ FQDN : displays the user name in Fully Qualified Distinguished Name (FQDN) format.
/ USER : displays information about the logged in user along with the security identifier (SID).
/ GROUPS : displays the group membership for the logged in user, account type, security identifiers (SID) and properties.
/ PRIV : displays the security privileges for the logged in user.
/ LOGONID : displays the logon ID for the logged in user.
/ ALL: Displays user name for the logged in user, groups, security identifiers (SID) and privileges.
/ FO format : output format in TABLE, LIST, CSV values.
/ NH : tells the column header not to appear in the output. Works only for TABLE and CSV formats.
/? : help.

How to use the Whoami command was last modified: 4 January, 2021, 10: 19 mm by giorgos

spread the news

  • Facebook
  • Twitter
  • Reddit
  • Printing
  • Email

Read them Technology News from all over the world, with the validity of iGuRu.gr

Follow us on Google News


Competition: Newstag: Microsoft, Whoami, windows

You May Also Like

Malwarebytes hacked by SolarWinds hackers
Do you have the secure version of Microsoft Defender?
Windows 10X with tight anti-theft protection

About Us giorgos

George still wonders what he's doing here ...

Previous Post: « Assange will not be extradited to the United States
Next Post: Windows Core OS Polaris has leaked to the internet »

Reader Interactions

Comment Policy:

IGuRu.gr does not publish the comments immediately. Malicious comments, comments that include ads, or comments that are offensive are deleted without notice. We do not adopt the opinions expressed by our readers.
Your comments will be displayed after approval by the administrators


Leave your comment
Ακύρωση απάντησης

Your email address is not published. Τα υποχρεωτικά πεδία σημειώνονται με *

 

 © 2021 · iGuRu.gr · ☢ · Keep It Simple Stupid Genesis theme

about  ·   get in touch  ·  rss  ·  sitemap  ·  cough

loading Cancel
Could not post post - check your email address!
Email verification failed, please try again
Your blog can not post posts via email.