With the command: wmic useraccount get name,sid
executed within the command prompt will show the sid’s of the existing users.
With the command: wmic useraccount get name,sid
executed within the command prompt will show the sid’s of the existing users.