Qeury Windows Computer for Active User Accounts

From Michael's Information Zone
Revision as of 12:41, 24 April 2017 by Michael.mast (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

[1]

net rpc registry enumerate "HKEY_USERS" -W <workgroup or domain> -S <server name> -U '<username>@<domain>'

On the windows computer [2]

wmic useraccount where name="USER" get sid