Welcome to Julian Kuiters Saturday, July 21 2018 @ 05:53 PM AEST

Getting RunAs to Work Without Prompting for a Password

  • Contributed by:
Microsoft Windows Server Oren Eini gives a naughty but neat tip on using the RunAs command in windows without being prompted for a password each time:

runas /savecred /user:user-to-run-as command-to-run

It saves the runas user credentials. Pretty neat if you have a long/difficult service account password to remember. Just be sure to never do this on your production servers.