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: Elevated Program Shortcut - Create for Standard User

07 May 2013   #120
Brink

64-bit Windows 10 Pro
 
 

I'm not sure it'll work for a standard user, but this was what I was thinking as a workaround:
  1. Create the elevated program shortcut that any user (ex: standard users) can run using the tutorial on the first page here, save it in a "C:\Users\Public" folder, and make sure it's working.
  2. Next, use the tutorial below to create the first task to run the elevated program shortcut from 1 above.
  3. When you get to step 23 using while still using the same tutorial below, use the "run at startup as a task" option to run the elevated program shortcut from 2 above created from the task.
Elevated Program Shortcut without UAC Prompt - Create

The thinking behind this is that the shortcut from 1 actually runs as the Administrator instead of the standard user, so it may be able to run at startup for the standard user account when running it using 2 and 3. No guarantees, but it's worth a try.


My System SpecsSystem Spec
.
18 Jun 2013   #121
Soyabeaner

Windows 7 Home Premium 64-bit SP1
 
 
Won't work for users under Parental Controls

This method fails to work on a standard user restricted by Parental Controls (Windows 7 x64 Home Premium). I get a popup from Parental Controls about runas.exe, which can't be addded to the whitelist even by an administrator. Likely due to a security design.
My System SpecsSystem Spec
18 Jun 2013   #122
Brink

64-bit Windows 10 Pro
 
 

Hello Soyabeaner,

Yeah, if you restricted apps with Parental Controls, then yes it's by design to not allow runas.exe to the "allowed" list since runas.exe could be used to run anything by the standard user.

Parental Controls - Allow or Block Specific Programs
My System SpecsSystem Spec
20 Jun 2013   #123
Carib04

Win 8 64 bit
 
 
Thanks for the tutorial

I really appreciate the tutorial. I can definitely use this at work however what brought me here is something I am trying to do at home.

I followed the tutorial and it seems to have worked up to the point where the program should start running. I am not asked for the password anymore. The following is copy past of the output from the batch file.

Quote:
C:\Users\wheel_000\Desktop>C:\Windows\System32\runas.exe /user:<computer name>\Administ
rator /savecred "C:\Program Files (x86)\Kill3rCombo\Elsword\elsword.exe"
Attempting to start C:\Program Files (x86)\Kill3rCombo\Elsword\elsword.exe as us
er "Marcospc\Administrator" ...
C:\Users\wheel_000\Desktop>pause
Press any key to continue . . .
When I click on the desktop icon the cmd window pops up then disappears. The above is the output of th e batch file. Will this program not run this way?
My System SpecsSystem Spec
.

20 Jun 2013   #124
Brink

64-bit Windows 10 Pro
 
 

Hello Carib, and welcome to Seven Forums.

It will only ask for the "Administrator" account's password the first time the use runs the shortcut. Afterwards, it will just run the elevated shortcut when opened.

I'm not sure how you set up this shortcut, but you don't want to run the program from a .bat file. Instead, you would want to run it directly as in the steps in the tutorial.

Please clarify how you set this up, and we'll go from there.
My System SpecsSystem Spec
20 Jun 2013   #125
Carib04

Win 8 64 bit
 
 

Sorry about that~!

I followed the instructions and read all the posts in the thread.
The short cut was set up per instructions and the password was only entered once during the first time the short cut was used.
Afterwards when the short cut is used what happens is the cmd prompt pops up and disappears but the program does not run.

I only run the .bat file to keep the command prompt from disappearing for troubleshooting purposes only and not to run the program.
My System SpecsSystem Spec
20 Jun 2013   #126
Brink

64-bit Windows 10 Pro
 
 

It's possible that the password may not have been entered correctly the first time.

Go ahead and delete the stored password in Credential Manager as per the yellow tip box at the bottom of the tutorial. This way it will ask for the password again the next time you run the elevated shortcut to see if this may be the case.

Since this is for an online role-playing game (MMORPG), it may not work for it.
My System SpecsSystem Spec
20 Jun 2013   #127
Carib04

Win 8 64 bit
 
 

Brink,

Thanks for the advice, I logged into the built in admin account. Deleted the password as shown in the procedure, then ran the shortcut in the user account. It behaved as if the password was never erased.
I rebooted the PC and tried it again in the user account and again it behaved as if the password was never erased.

So I logged into the build in admin account and clicked on the shortcut. This time it did ask for a password but I did not input it.

I deleted the shortcut in the user account then copied the new shortcut to the user account (not really new short cut). I logged into the user account and ran the shortcut but it did not ask for a password.

I log back into the built in admin account and run the shortcut and I am prompted once again for a password. This time I do input the password but the program never runs. It does not run in the built in admin or in the user account.

If the shortcut works, it should work in any of the accounts correct?
The only time the game runs in any account is if a regular shortcut or directly accessing the .exe file.

Again thanks for looking into this.

PS.
So I went into the user account and right clicked on the shortcut. This time I was prompted for a password. I input the password but the game still does not run.
I will conclude that this does not work for the game.

Love the site!!
My System SpecsSystem Spec
20 Jun 2013   #128
Brink

64-bit Windows 10 Pro
 
 

Correct, the elevated shortcut would have worked in any account you copy it to, but it will ask for a password one the first time in each account it's opened the first time in to save the credentials.

It doesn't look like it's going to work for this game. Games seem to not always work with this method.
My System SpecsSystem Spec
20 Jun 2013   #129
Layback Bear

Windows 7 Pro. 64/SP-1
 
 

Just seen this Tutorial and I love it. It allows me to do things on different drives only. If I create different partitions will I be able to select different partitions on different drives only?
My System SpecsSystem Spec
Comment

 Elevated Program Shortcut - Create for Standard User




Tutorial Tools Search this Tutorial
Search this Tutorial:

Advanced Search




Similar help and support threads
Windows 7 Tutorial Category
Elevated Program Shortcut without UAC Prompt - Create
How to Create an Elevated Program Shortcut without a UAC Prompt in Windows This will show you how to create an elevated "Run as administrator" shortcut of any installed program using Task Scheduler so that it will not give you a UAC prompt for permission when you start it while still having...
Tutorials
Task Manager - Create Elevated Shortcut
How to Create an Elevated Task Manager Shortcut in Windows 7 This will show you how to create a elevated Task Manager shortcut that will "run as an administrator" in Windows 7 when opened. It will open as if you clicked Show processes from all users in the default Task Manager. You will...
Tutorials
Standard user requires admin PW when using elevated command
I have a file to clear the print spooler when it has an error. I based this file on Brinks tutorial. Thanks Brink. I placed this file in C:\windows\system32 folder so all users would have access. The file must be run in a elevated cmd window. I then created a shortcut to the file and put the...
General Discussion
Creating an Elevated Program Shortcut for Search Everything Program.
I`ve done this successfully for SpeedFan, but I`m having a problem with doing the same for the Search Everything program. I`ve been through the tutorial steps several times now, the task executes successfully,( I checked it with command prompt box) but nothing happens. /c start "SpeedFan"...
Software
Run as Different User Shortcut - Create for Specified Program and User
How to Create a Shortcut to Run a Program as a Specified User 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...
Tutorials
Question on "How to Create a Elevated Program Shortcut ..."
The solution (Shawn) in the thread How to Create a Elevated Program Shortcut without a UAC Prompt (http://www.sevenforums.com/tutorials/11949-elevated-program-shortcut-without-uac-prompt-create.html) ends with 24. When you run this new elevated shortcut, you will now no longer have...
System Security


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 21:51.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App