December 4th, 2003, 09:01 AM
|
#3 (permalink)
|
| Junior Member
Join Date: Dec 2003
Posts: 2
|
Thanks meese. The Runas command prompts for a password, which is a problem as non of us wants to give out admin passwords to our users. But I found a way around that problem:
runas /user:domain\username \\server\folder\setup.exe | sanur password
The sanur command allows you to script in the password for the admin userid used in the runas command - pretty cool. Download the sanur.exe and place it in the same folder as the script. Check out http://www.commandline.co.uk/sanur for more details.
Sledge |
| |