start application as administrator using psxec
- by Sen
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?