# runas.exe
Helpful for running something on a Windows machine in another user's context.

## Spawn a cmd.exe as a domain user
```
runas /netonly /user:7MS\pwneduser "C:\windows\system32\cmd.exe"
```

## Troubleshooting
I found that AD passwords ending with `%` sometimes have issues doing the `runas` magic.  In cases like that, check out [runascs](/pentesting/Internal/runascs).
