How to run as different user without prompting user batch How to run as different user without prompting user batch powershell powershell

How to run as different user without prompting user batch


Same question bothered me too :-)I've tried to workaround this with schtasks and eventcreate.Here i posted my solution :

http://ss64.org/viewtopic.php?id=1539

If you want to run the script on a remote machine you can also try with wmic:

http://ss64.org/viewtopic.php?id=1495

Hope these will help you.