whoami /user
wmic useraccount where name='%username%' get domain,name,sid
for all user
wmic useraccount get domain,name,sid
using regedit
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
blog about linux tricks
whoami /user
wmic useraccount where name='%username%' get domain,name,sid
for all user
wmic useraccount get domain,name,sid
using regedit
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
Comments
Post a Comment