Home

Awesome

adduser

Programmatically creates a 'local admin' Windows user. Requires admin rights. The created user is hardcoded to the following:

Login: audit Password: Test123456789! (this should be good enough to fit most password policies)

This standalone piece code can run in many contexts:

Compiling

Using MinGW (tested on macOS, but Linux should work)

Using Visual Studio (tested with VS2013)