start application as administrator using psxec
Posted
by Sen
on Server Fault
See other posts from Server Fault
or by Sen
Published on 2010-04-15T18:40:17Z
Indexed on
2010/04/15
18:43 UTC
Read the original article
Hit count: 414
psexec
I use psexec to run a batch script on remote machines.The batch script is used to setup my web application and starts and stops IIS during setup.
The script works fine but it fails while stopping and starting IIS.The account I use for remote connection is an admin on that box.
Could someone tell me how to start to start the script as an administrtor using psexec?
© Server Fault or respective owner