Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

run as administrator

Status
Not open for further replies.

bookouri

IS-IT--Management
Feb 23, 2000
1,464
US
I want to use my logon script to automatically run an exe that must have admin rights to execute. I keep finding situations where I need to run update scripts on all the domain workstations and they always have to be run with admin rights. I could use the run as on a shortcut or whatever, but all the references I find to run as or the runas command indicate that there is no way for it to run without the local user entering at least the password. Any suggestions would be appreciated.
 
I still havnt been able to get anything to work. Ive tried scripting the runas.exe but just cant get it to work for me. There is a sysinternals utility to run an application remotely on a workstation, but I can only manage to get that to work from command line and I really need to apply these patches to a couple of hundred workstations.

If anyone has any other ideas I would appreciate them. Im running a mix of win2k pro and XPpro with Win2k Servers in one AD forest. Im almost sure there is some way in AD to accomplish something as simple as this must be.

thanks again for any suggestions..

 
I recently tried to use the runas to install some patches, I found that it only works if the file you are running is located on the C:\ drive of the computer you are running it on. I got round this by copying the file to the C:\ drive before I ran it.

 
Ill take a look at that, nothing else has worked, but sometimes weird anomolies like that is what it takes.

thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top