Get SID from Username and Username from SID using WMI Queries
INTRODUCTION This post will show you how to get the username of a SID. This will help you when you need to make amendments within a computers registry for HKEY_CURRENT_USER (HKCU). GUIDE Open a command prompt on the computer that a change is required for and run the followinng command: wmic useraccount get name, sid, […]