:::: MENU ::::

Short cut with run as in windows

Windows allows you to run an application as another user then the one you are logged on as, normally done by right-clicking an application and choosing ‘Run as’.

But, what if you have an application you start and shutdown often, will get pretty tedious always filling in the user you want to run it as, better to change the short-cut to automatically do the run-as for you.

So, either create a new short-cut or open the properties of an already existing one.

In the ‘Target’ put something like this, substituting the domain\accountname for the one you want to run it as:

C:\WINDOWS\system32\runas.exe /user:domain\accountname c:\windows\system32\notepad.exe

And ofcourse change the path to the application, the path above is to notepad.

Now when you run the shortcut it’ll throw up a command window asking you for the password, type it, press enter and you’re done :-)


So, what do you think ?