code:
CD 'C:\' ;Run From Local Drive
Shell '%COMSPEC% /c RunAs.exe /user:Administrator "C:\Windows\Notepad.exe" | %%KIXCRYPTDIR%%\sanur.exe {Password}'

Works for me, drop "| %KIXCRYPTDIR%\sanur.exe {Password}" if you want it to prompt for password.

If you are going to use RunAs, use sanur.exe to push the password to RunAs, SendKeys is so unrealiable.

Looking at your code, You have a Server with a domain called "NT" ??

[ 02. October 2003, 11:52: Message edited by: Richard Farthing ]