Elevated Program Shortcut - Create for Standard User

Page 13 of 22 FirstFirst ... 31112131415 ... LastLast

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

    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.
    Last edited by Brink; 21 Jul 2013 at 20:25.
      My Computer


  2. Posts : 20
    Windows 7 Home Premium 64-bit SP1
       #121

    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 Computer


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

    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 Computer


  4. Posts : 3
    Win 8 64 bit
       #123

    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.

    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 Computer


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

    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 Computer


  6. Posts : 3
    Win 8 64 bit
       #125

    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 Computer


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

    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 Computer


  8. Posts : 3
    Win 8 64 bit
       #127

    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 Computer


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

    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 Computer


  10. Posts : 25,847
    Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
       #129

    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 Computer


 
Page 13 of 22 FirstFirst ... 31112131415 ... 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 21:41.
Find Us