Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: How to run a program elevated at startup in a standard account


26 Aug 2010   #1

Windows 7 x64
 
 
How to run a program elevated at startup in a standard account

How to run a program elevated at startup in a standard account in Vista or later when UAC is not disabled:

We'll use a program called RunasSpc.

1. Log into a standard account and download RunasSpc.
2. Log into the admin account in which you want to run the program elevated when in the standard account.
3. In Windows Explorer, right-click on the program's .exe (the one that you want to run elevated), right-click Properties, go to Compatibility tab, and check "Run this program as an administrator."
4. Unzip RunasSpc and move the unzipped RunasSpc folder to its desired permanent location, such as within Program Files.
5. Run runasspcadmin.exe. Provide credentials for the admin account in the Username and Password fields. In the 'Path\Application.exe' field, provide the path to the program that you wish to run elevated. Click command 'Save Cryptfile'. Click 'Test Cryptfile' if you want to test that the program is launched elevated. Exit runasspcadmin. Move the saved .spc file to the desired location, perhaps to the same folder where the program to launch elevated is located.
6. Log into the standard account to use.
7. In Windows Explorer, go to the folder where the standard user's Startup folder is located. You can find this folder by right-clicking on Startup in the start menu and then choosing Properties. Right-click and choose New->Shortcut. In the Target field, enter "path of runasspc.exe" "path of cryptfile generated in step 5" /quiet. Replace the items in italics with the appropriate information.
8. Test by logging out and then back into the standard account. You should get a UAC prompt for the launching of the program, but no credentials will be asked for. The program should now be running elevated.

My System SpecsSystem Spec
.

Reply

 How to run a program elevated at startup in a standard account




Thread Tools




Our Sites

Site Links

About Us

Find Us

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

All times are GMT -5. The time now is 03:42 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

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 33