Windows XP Pro, Run as...

n0tdan

Member
Aug 29, 2005
184
0
76
Is it possible to run a shortcut as a different user without having to right click, select run as, and choose which user and pw?

My Windows xp install has multiple users, and i want to be able to run a program as a different user without the prompts.

Possible?

Edit: Figured out a sort of solution... created a .bat using the runas command and it prompts for the user password in the command prompt.

Any way to make the prompt for a password come up as a Windows input box instead of the command prompt?
 

mechBgon

Super Moderator<br>Elite Member
Oct 31, 1999
30,699
1
0
If you're using Windows XP Professional Edition, you can modify a shortcut as depicted here and it will only ask for the password once (type it blind and press ENTER), and will retain it for subsequent use until the password changes (if ever).

As the picture shows, simply add runas /user:username /savecred in front of the usual Target:, then modify the Start in: location to somewhere that the logged-in user has full permissions, e.g. the user's own directory within C:\Documents and Settings.

Once the shortcut has been fixed up in this fashion, you can then copy or move it where you want it. I haven't tried this on WinXP Media Center Edition but I'd suppose it would work for MCE since it's derived from WinXP Pro.
 

n0tdan

Member
Aug 29, 2005
184
0
76
Thanks! that was EXACTLY the answer i was looking for! Works like a charm.