![]() |
Runas Automation Utility [v1.0.3.1] |
Troubleshooting STEP 2. DO NOT, I repeat, DO NOT use Sanur until you have confirmed that your Runas command works ok when you manually enter the password. STEP 3. Because Runas uses stdout to display errors, any errors that Runas prints will be piped into Sanur. Therefore if you are having problems getting Sanur to work, add >&2 to the end of the Runas commandline so you can see any Runas error messages, for example:-
STEP 4. Temporarily change the password of the account you are trying to use to Password456, (or something equally simple using ONLY ASCII characters in the range 0-9, A-Z and a-z). If Sanur now works then this confirms that Sanur is not 100% compatible with your system and you now have three choices:-
Common Runas Mistakes
Note in the example above there is a space between cmd and /k. Without that space, Runas will try to execute a program named cmd/k. If the program's name, path or any of its arguments need quoting, then these quotes must be escaped using a backslash for Runas to interpret them correctly (again, this is nothing to do with Sanur). For example:-
And finally, bear in mind that processes started by Runas will (most likely?) start from the system32 folder (typically c:\winnt\system32 or c:\windows\system32). If you're using Runas to launch a script, then you might need to change the working directory from within the script. |
|
| [Top][Home] | |