Code: Select all
Let>EXE_PATH=cmd.exe
RunProgram>runas /user:%COMPUTER_NAME%\admin "%EXE_PATH%"
Wait>1
Send>SuP3rP455W0rD
Press>Enter
This would be used to have your script selfcheck if it's running with admin rights, if not execute self like this.
Your computers admin account is easily found by running "compmgmt.msc" from the search (Win+R). I usually rename my administrator account to "admin" and set the password to a default one.