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

25 Oct 2011   #19
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

How to Create an Elevated Program Shortcut Any User is able to Run in Vista, Windows 7, and Windows 8

...

My System SpecsSystem Spec
.

11 Nov 2011   #20
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Ah, ok.

It appears to be a bug where the shortcut will not work if the program doesn't run elevated natively and you use compatibility mode with Run this program as an administrator checked. I get the same thing as you when doing it like that.

My System SpecsSystem Spec
.

12 Nov 2011   #21
JerometheGiraff

Windows 8.1 Pro
 
 

Thanx. The conclusion is some programs this technique will not work on.
My System SpecsSystem Spec
12 Nov 2011   #22
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Yeah, it seems that the ones that you use compatibility mode with Run this program as an administrator checked on do not always seem to work with this shortcut.
My System SpecsSystem Spec
17 Nov 2011   #23
Slider

Windows 7 Home Premium 64bit & Ultimate 64bit
 
 

Quote   Quote: Originally Posted by JerometheGiraff View Post
Thanx. The conclusion is some programs this technique will not work on.
I'm new here, but thought I'd mention that I went through this too with a program I needed to run as Administrator without entering the password each time and I (eventually) figured out a solution. In my case my children's PCs have their accounts set up as standard users. One game required execution with an administrative account (due to some anti-hacking protection). Initially I made the same choice as you and configured the program to run in compatibility mode as administrator, but discovered that this forces the requirement that a password always be entered (if the logon account is a standard user) - even if "runas" is used through a shortcut.

The solution is to deselect "run as administrator" under program properties and then force an administrator account to be used to run the program using the technique outlined here. If you choose to both enable and use the actual "Administrator" account, this has the benefit of getting rid of the UAC prompt too (as well as no password entry) since UAC is automatically disabled for the actual "Administrator" account. If you use any other user with administrative privileges you will still have to click the "Yes" button, but you won't have to type in a password. This technique also works with Vista too.

BTW, to enable the "Administrator" account you need to:

Built-in Administrator Account - Enable or Disable

at an elevated command prompt. After that you can configure a shortcut to use runas using "Administrator" and this should remove both the password entry requirement (after the first run) as well as the UAC prompt. Make sure you add a password for the "Administrator" account if you enable it.
My System SpecsSystem Spec
17 Nov 2011   #24
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Thank you Slider, and welcome to Seven Forums.

I have updated the tutorial to allow this shortcut to work no matter how the program is running elevated (run as administrator).

@Jerome,

This updated tutorial should now allow what you want to use work now with it.
My System SpecsSystem Spec
18 Nov 2011   #25
JerometheGiraff

Windows 8.1 Pro
 
 

Follow the same tutorial you originally wrote which has been changed or follow post #23 as well as the original tutorial ?
My System SpecsSystem Spec
19 Nov 2011   #26
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Sorry Jerome. That would be follow the updated tutorial from scratch now. It has been updated to include post #23.
My System SpecsSystem Spec
19 Nov 2011   #27
JerometheGiraff

Windows 8.1 Pro
 
 

Sliders fix which was in post #23 won't work in Home Premium (NOTE: This option will only be available in the Windows 7 Professional, Ultimate, and Enterprise editions.) Is there solution ?
My System SpecsSystem Spec
19 Nov 2011   #28
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Jerome,

That's just for OPTION ONE in that tutorial, you will be able to use OPTION TWO. I include more than one option for how to do what the tutorial is for since some editions of Windows 7 do not include features that say Windows 7 Ultimate has.
My System SpecsSystem Spec
23 Nov 2011   #29
JerometheGiraff

Windows 8.1 Pro
 
 

I followed the instructions step-by-step. Including creating the Administrator account which worked out successfully. Launching the shortcut and entering in the password that's when things break and space sniffer doesn't work. Here is the error message.

Quote:
Enter the password for <pcname>-PC\Administrator:
Attempting to start C:\SpaceSniffer\SpaceSniffer.exe as user "<account-name>-PC\Admi
nistrator" ...
RUNAS ERROR: Unable to run - C:\SpaceSniffer\SpaceSniffer.exe
-2147467259: Unspecified error
My System SpecsSystem Spec
Comment

 Elevated Program Shortcut - Create for Standard User





Tutorial 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 07:43 AM.
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