Wednesday, January 20, 2016

How to get the SID of the User Account?

How to determine SID of User Account of Windows

Those who don't know what the SID is, I would like to tell you that the System ID or SID is a unique identifier assigned to each user in Windows Environment. SID is used to control access to various resources like Files, Registry Keys, network shares, etc.

Do you know your SID?

Don't you worry if you don't know the System ID of your User Account. You can determine the SID of the user through WMIC USERACCOUNT command. I am giving you syntax and example below for different method of determining SID of the user accounts of Windows.

Get SID of the Local User

wmic useraccount where name='username' get sid
For example, you have to extract SID for a local user with the login name 'SAM', the command would be as follows:

wmic useraccount where name='SAM' get sid

Get SID for Current Logged-In User

To retrieve the SID for the Current Logged-In User, below command line required to be run.

wmic useraccount where name='%username%' get sid
For obtaining the SID for the Current Logged-in User, the User Name is not required to be specified. You just need to enter %username% in the name field and the system automatically picks the User Name of the Current User which is running in the system.

Get SID for Current Logged-in Domain User

Run the command 'whoami /user' to get the SID of the Logged-in user.

get the SID for Current logged in Domain User

Get SID for the local administrator of the computer

wmic useraccount where (name='administrator' and domain='%computername%') get name,sid

Get SID for the Domain Administrator

wmic useraccount where (name='administrator' and domain='%userdomain%') get name,sid

Thank you for the Reading the Article! I hope you got the different processes of determining the SID of the User Accounts of the Windows. Please do let us know in the comments below if you are faing any problem.

Have a Nice Day!


  1. If you are looking for information on Cultural Blogs, Blogs Motorcycles and Cars Magazines, Blogs literature, Travel blogs and places around the world, Blogs Science and Technology, Blogs Books and Novel, Blog Latin American literature, visit the page CULTURAL BLOGS , is very interesting.

  2. Browsing the web looking for "How to solve security problems in my home" I found the web House Alarms where I found answers to my questions How to avoid thefts by the Bumping method ?, What is a monitored or robotic house? Where to buy anti-dumping locks ?, How do they use the hooks ?, Do they have information on alarms of houses by provinces, Company Relations and Security and many other things. Information of Scams and Scams .

  3. If you are new user to sage 50 accounting software and looking for the sage 50 technical support.If yes than you have come to right place as we provide efficient technical support service to customers who show complete faith in us. With our efficient and highly qualified team ,we never disappoint our customers.You can reach us at 1800-910-4754 at any hour of the day. You can also visit our website at for the complete knowledge of the sage products and services.

    The Services we offered are following-
    Sage 50 Technical Support Number
    Sage 100 Technical Support Number
    Sage 50 live chat
    Sage 50 Technical Support phone Number
    Sage 50 support phone number