Windows 7 Forums


Windows 7: Run as Different User Shortcut - Create for Specified Program and User


Run as Different User Shortcut - Create for Specified Program and User

How to Create a Shortcut to Run a Program as a Specified User
Published 23 May 2011
Published by

Featured Tutorial

Microsoft Account Display Name - Change
Microsoft Account Display Name - Change

How to Change your Microsoft Account Display Name

Chrome GPU Hardware Acceleration - Turn On or Off
Chrome GPU Hardware Acceleration - Turn On or Off

How to Turn GPU "Hardware Acceleration" On or Off in Chrome

Peppermint3 - Create Live CD/DVD/USB To Use For Emergency Backup
Peppermint3 - Create Live CD/DVD/USB To Use For Emergency Backup

How to Perform an Emergency Data Backup When Windows 7 Will Not Boot

Bootmgr - Move to C:\ with EasyBCD
Bootmgr - Move to C:\ with EasyBCD

How to Move Bootmgr to C:\ with EasyBCD

Secunia ONLINE Software Inspector
Secunia ONLINE Software Inspector

How to Scan for Common Software Vulnerabilities

System Preparation Tool - Use to Customize Windows
System Preparation Tool - Use to Customize Windows

How to Use Sysprep to Customize Windows 7 and Windows 8
How to Create a Shortcut to Run a Program as a Specified User

information   Information
This will show you how to create a Run as different user shortcut that will run a program specified by you as a specified user on the Windows 7 and Vista computer.

The user account that you want to run the program as must be password protected.

Note   Note
When you use the runas shortcut that you created below, you will be prompted to enter the user's password in a command prompt before the program will run as the specified user.


EXAMPLE: RUNAS command
NOTE: These are all of the different options available for the RUNAS command that you could also use with the command in step 2 below.
Run as Different User Shortcut - Create for Specified Program and User-runas.jpg
Here's How:
1. Right click on a empty area on desktop, and click on New and Shortcut.

2. Type the command below into the location area, and click on the Next button. (see screenshot below)
NOTE: You would substitute USER-NAME in the command with the actual name of the user account that you want to run the program as.
runas /user:USER-NAME "C:\full\path\of\Program.exe"

For example, if I wanted to run Notepad as the test user, I would type this command below.

runas /user:test "C:\Windows\system32\notepad.exe"

Run as Different User Shortcut - Create for Specified Program and User-step1.jpg
3. Type in something like Program Name - Run as User for the name, and click on the Finish button. (see screenshot below)
NOTE: You can name this anything you would like though.
Run as Different User Shortcut - Create for Specified Program and User-step2.jpg
4. Right click on the new Program Name - Run as User shortcut on the Desktop and click on Properties.

5. Click on the Shortcut tab, then click on the Change Icon button. (see screenshot below)
Run as Different User Shortcut - Create for Specified Program and User-step3.jpg
6. Click on OK. (see screenshot below)
Run as Different User Shortcut - Create for Specified Program and User-step4.jpg
7. Click on Browse (see screenshot below step 8), navigate to the location of the EXE file (ex: notepad.exe) of the program, select it, and click on Open. (see screenshot below)
Run as Different User Shortcut - Create for Specified Program and User-step5.jpg
8. Select the program's icon, and click on OK. (see screenshot below)
Run as Different User Shortcut - Create for Specified Program and User-step6.jpg
9. Click on OK. (see screenshot below)
Run as Different User Shortcut - Create for Specified Program and User-step7.jpg
10. You can now Pin to Taskbar (Windows 7 only) or Pin to Start Menu this shortcut, assign a keyboard shortcut to it, or move it where you like for easy use.
That's it,
Shawn






Need more help? Try searching our extensive help and support site.
Loading
Comment

 Run as Different User Shortcut - Create for Specified Program and User problems?



Tutorial Tools



Similar help and support threads for: Run as Different User Shortcut - Create for Specified Program and User
Windows 7 Tutorial Category
Elevated Program Shortcut - Create for Standard User Tutorials
Switch User Shortcut - Create Tutorials
User Account Control Settings Shortcut - Create Tutorials
Advanced User Accounts Shortcut - Create Tutorials
User Accounts Shortcut - Create Tutorials


All times are GMT -5. The time now is 07:08 AM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32