Elevated Program Shortcut - Create for Standard User

Page 3 of 22 FirstFirst 1234513 ... LastLast

  1. Posts : 72,050
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #20

    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 Computer


  2. Posts : 925
    Windows 10 Pro
       #21

    Thanx. The conclusion is some programs this technique will not work on. :)
      My Computer


  3. Posts : 72,050
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #22

    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 Computer


  4. Posts : 1
    Windows 7 Home Premium 64bit & Ultimate 64bit
       #23

    JerometheGiraff said:
    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 Computer


  5. Posts : 72,050
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #24

    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 Computer


  6. Posts : 925
    Windows 10 Pro
       #25

    Follow the same tutorial you originally wrote which has been changed or follow post #23 as well as the original tutorial ?
      My Computer


  7. Posts : 72,050
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #26

    Sorry Jerome. That would be follow the updated tutorial from scratch now. It has been updated to include post #23.
      My Computer


  8. Posts : 925
    Windows 10 Pro
       #27

    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 Computer


  9. Posts : 72,050
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #28

    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 Computer


  10. Posts : 925
    Windows 10 Pro
       #29

    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.

    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 Computer


 
Page 3 of 22 FirstFirst 1234513 ... LastLast

  Related Discussions
Our Sites
Site Links
About 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 15:26.
Find Us