i don't believe you can use the run as function because you won't be able to
pass the admin acct info to it from the command line. if you installed the
SU.exe resource kit utility previously, you can script that to launch an exe
with admin rights. 

-----Original Message-----
From: John [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 29, 2002 7:28 PM
To: NT 2000 Discussions
Subject: Running an install script--need admin right.


Hi everyone,


I need to run an exe from a logon script. The problem is the exe requires
admin rights, because the exe will edit the registry. Does anyone know of
a way to callup the exe with a run as variable set to a local admin
account. If so please let me know.


Thanks
John Shi

------
You are subscribed as [EMAIL PROTECTED]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to %%email.unsub%%

------
You are subscribed as [email protected]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to