How to find the Profile GUID for all the Users logging on to a Machine (For example RDS machine or Domain Controller)


If suppose you want to work on the GUID’s in the registry and don’t want to go through all the GUID’s one by one, then you can try running the following command to get the list of all the Users with their profile GUID’s , which make your life easier to troubleshoot.


Open Elevated PowerShell / Command prompt and run the following command:
wmic useraccount get name,sid >C:\Profile.txt


Output format:

Registry Path for Profile List :

HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

Download : WinGag Remote Control Software

Leave a Reply

Your email address will not be published. Required fields are marked *