Windows 10: Run as Administrator in Windows 10

Discus and support Run as Administrator in Windows 10 in Windows 10 Tutorials to solve the problem; How to: Run as Administrator in Windows 10 How to Run an App as Administrator in Windows 10 [img] Information Some legitimate applications... Discussion in 'Windows 10 Tutorials' started by wh0pper28, Nov 16, 2015.

  1. wh0pper28 Win User

    Run as Administrator in Windows 10


    How to: Run as Administrator in Windows 10

    How to Run an App as Administrator in Windows 10

    Run as Administrator in Windows 10 [​IMG]
    Information Some legitimate applications require a full administrator access token (elevated) to perform their functions or tasks. For example, when a program that you are trying to run is giving you a Access Denied or No Permission type error.

    The User Account Control (UAC) message is displayed to request consent or credentials to allow an application to use the full administrator access token in any of the following circumstances:
    • The application developer marked the application to require an administrator access token. This is done by using a development technique known as an embedded manifest.
    • UAC detected that the application is an installer or setup application. (Automatic detection can be disabled by using Group Policy.)
    • Microsoft analyzed the application and provided an application compatibility shim. A shim is a small amount of extra code provided by Microsoft that supports certain non-Microsoft applications.
    • An administrator configured the application compatibility settings on the application's Program Properties page.
    • An interactive user right-clicked the application and then clicked Run as administrator to start the application.

    This tutorial will show you different ways on how to have an application Run as administrator with full unrestricted elevated rights in Windows 10.

    Run as Administrator in Windows 10 [​IMG]
    Note The "Run as administrator" option is only available for desktop apps, and not available for Windows apps (aka: modern apps).

    You must be signed in as an administrator or provide the credentials of a member of the local Administrators group to Run as administrator.
    • If you are on as a standard user, or if UAC is configured to always require credentials, enter the appropriate administrative credentials, and then click OK.
    • If you are logged on as an administrator and UAC is not configured to always require credentials, click Yes to start the application.
    CONTENTS:




    OPTION ONE [/i] To Run as Administrator using Keyboard Shortcut
    1. Select an app to highlight it.

    2. Press and hold the CTRL + Shift keys.

    3. Press Enter or click/tap on the app.

    4. Release the CTRL + Shift keys.




    OPTION TWO [/i] To Run as Administrator using Context Menu
    1. Right click on an app, and click/tap on Run as administrator. (see screenshot below)

    Run as Administrator in Windows 10 [​IMG]
    Tip
    Run as Administrator in Windows 10 [​IMG]





    OPTION THREE [/i] To Run as Administrator from Run Dialog
    1. Press the Win+R keys to open the Run dialog.

    2. Type what (ex: "cmd") you want to run into the Run dialog.

    3. Either press the CTRL + Shift + Enter keys OR press CTRL + Shift and click/tap on OK.


    Run as Administrator in Windows 10 [​IMG]





    OPTION FOUR [/i] To Run as Administrator with Task Scheduler
    1. For how, see: How to Create Elevated App Shortcut without UAC Prompt in Windows 10




    OPTION FIVE [/i] To Run as Administrator in Start Menu
    1. Right click or press and hold on an app in All Apps or on Start, click/tap on More, and click/tap on Run as administrator. (see screenshot below)


    Run as Administrator in Windows 10 [​IMG]





    OPTION SIX [/i] To Run as Administrator in File Explorer Ribbon
    1. While in File Explorer, select an app (ex: cmd.exe).

    2. Click/tap on the Application Tools Manage tab, and do step 3 or step 4 below for what you would like to do.

    3. Click/tap on the top half of the Run as administrator button in the ribbon. (see screenshot below)

    Run as Administrator in Windows 10 [​IMG]

    4. Click/tap on the bottom half of the Run as administrator button in the ribbon, and click/tap on Run as administrator. (see screenshot below)

    Run as Administrator in Windows 10 [​IMG]





    OPTION SEVEN [/i] To Run as Administrator on Taskbar
    1. Right click or press and hold on a program's (ex: Command Prompt) icon on the taskbar to open it's jump list. (see screenshot below step 2)

    2. In the jump list, right click or press and hold on the program's name (ex: Command Prompt), and click/tap on Run as administrator.


    Run as Administrator in Windows 10 [​IMG]





    OPTION EIGHT [/i] To Run as Administrator in Task Manager
    1. Open Task Manager in more details view.

    2. Click/tap on File (menu bar), and click/tap on Run new task. (see screenshot below)

    Run as Administrator in Windows 10 [​IMG]

    3. Type the name of the app's .exe file (ex: cmd) or browse to and select the program's .exe file or shortcut, check the Create this task with administrative privileges box, and click/tap on OK. (see screenshot below)

    Run as Administrator in Windows 10 [​IMG]





    OPTION NINE [/i] To Always Run as Administrator in Shortcut Advanced Properties
    1. Right click or press and hold on a shortcut of an app on your desktop or in File Explorer, and click/tap on Properties in the context menu.

    2. Click/tap on the Shortcut tab, and click/tap on the Advanced button. (see screenshot below)

    Run as Administrator in Windows 10 [​IMG]

    3. Do step 4 or step 5 below for what you would like to do.

    4. To Always Run Shortcut as administrator when Opened
    A) Check the Run as administrator box, click/tap on OK, and go to step 6below. (see screenshot below step 5)
    5. To Not Always Run Shortcut as administrator when Opened
    A) Uncheck the Run as administrator box, click/tap on OK, and go to step 6below. (see screenshot below)


    Run as Administrator in Windows 10 [​IMG]

    6. Click/tap on OK. (see screenshot below step 2)




    OPTION TEN [/i] To Always Run as Administrator in Compatibility Properties
    1. Right click or press and hold on a shortcut of an app on your desktop or in File Explorer, and click/tap on Properties in the context menu.

    2. Click/tap on the Compatibility tab, and do step 3 or step 4 below for what you would like to do. (see screenshot below)

    3. Set "Run as administrator" Privilege Level for App for Only Your Account
    A) In the Settings section, check or uncheck the Run this program as an administrator box for what you would like to do, and click/tap on OK. (see screenshot below)


    Run as Administrator in Windows 10 [​IMG]
    Note If the Run this program as an administrator setting is grayed out, then you will need to do step 4 below instead.

    Run as Administrator in Windows 10 [​IMG]

    4. Set "Run as administrator" Privilege Level for App for All Users
    A) Click/tap on the Change settings for all users button. (see screenshot below step 4B)

    B) In the Settings section, check or uncheck the Run this program as an administrator box for what you would like to do, and click/tap on OK. (see screenshot below)

    Run as Administrator in Windows 10 [​IMG]

    C) Click/tap on OK. (see screenshot below)


    Run as Administrator in Windows 10 [​IMG]
    Note If you checked the Run this program as an administrator box in step 4B, then the Run this program as an administrator setting in step 3 will be grayed out and unable to be changed unless you do step 4A again.

    Run as Administrator in Windows 10 [​IMG]






    OPTION ELEVEN [/i] To Always Run as Administrator in Registry Editor
    1. Press the Win+R keys to open Run, type regedit, and click/tap on OK to open Registry Editor.

    2. If prompted by UAC, click/tap on Yes.

    3. In regedit, navigate the location below that you want to use. (see screenshot below)

    Run as Administrator in Windows 10 [​IMG]
    Note If the Layers key is not there, then right click or press and hold on the AppCompatFlags key, click/tap on New, click/tap on Key, type Layers, and press Enter.

    (for current account only)
    *Arrow HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers


    (for all users)
    *Arrow HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers


    Run as Administrator in Windows 10 [​IMG]

    4. In the right pane of Layers, right click or press and hold on an empty area, then click/tap on New, and click/tap on String Value. (see screenshot above)

    5. Type in the full path of the app's exe file (ex: "C:\Program Files\CCleaner\CCleaner.exe") you want to always run as administrator, press Enter, then double click/tap on the full path in the right pane to modify it. (see screenshot below step 3)

    6. Copy and paste the data value below, and click/tap on OK. (see screenshot below)
    *Arrow ~ RUNASADMIN


    Run as Administrator in Windows 10 [​IMG]

    7. When finished, you can close Registry Editor if you like.

    That's it,
    Shawn


    Related Tutorials

    :)
     
    wh0pper28, Nov 16, 2015
    #1

  2. Run as administrator in Windows 10

    Hi Jim,

    We would like to know more about your concern. Please provide the following information:

    • Are you getting any error messages when performing the action?
    • What troubleshooting steps have you done so far?
    • Did you make any changes on the computer prior to this issue?
    • Have you successfully set your account as Administrator before?

    We will be waiting for your response.
     
    Acelyn Alc, Nov 16, 2015
    #2
  3. GiannaZK Win User
    Run as administrator in Windows 10

    Indeed I was. Credit goes to a fan, with whom I took liberties to call, A Fan.

    As far as "over there," RCH3, since I posted the fix that I found at some great company's website. I helped myself.

    As far as the rest - hardly ever.

    The family censors edited out something I wrote. Was I vulgar?

    I wrote crapshoot someplace else and I was bleeped for writing '****'. Isn't that a game they play in casinos and street corners all over the world?

    Values: They show cops murdering young Black men on television, but they censor silly words here.
     
    GiannaZK, Nov 16, 2015
    #3
  4. Brink
    Brink New Member

    Run as Administrator in Windows 10

    Hello Wh0pper28, *Smile

    By default, any time you run anything as administrator (elevated), you will get a UAC prompt for approval first.

    This will not bypass it.

    To try and understand for a better solution, why did you want to bypass UAC when opening Registry Editor?
     
    Brink, Nov 16, 2015
    #4
  5. wh0pper28 Win User
    Woah, thanks for such a quick response!
    Basically just to fulfill my personal preference, I hate having to constantly select yes when running things as an administrator but I don't want to disable UAC completely, I just simply want the option to disable it for specific applications such as Registry Editor and Command Prompt. I don't know any way to achieve this nor have I found any solutions for it, I guess it was hopeful thinking believing it'd be as simple as this registry edit. I'd also like the ability for cmd to open as administrator by default without the use of shortcuts and without the UAC prompts.

    Regards
     
    wh0pper28, Nov 16, 2015
    #5
  6. Brink
    Brink New Member
    Brink, Nov 17, 2015
    #6
  7. wh0pper28 Win User
    Ideally I wanted to be able to do this without making a shortcut, but I suppose I'll have to compromise. I've tried this for both the Command Prompt and Registry Editor, when I run the tasks on demand from within the Scheduled Task UI, they both work fine, but when I double-click the desktop shortcuts for them neither of them seem to work, the cmd simply flashes on screen really quickly and then nothing after that. I really do appreciate the assistance, it's not often I come across a forum such as this where the majority of users go out of their way to be helpful.

    Regards
     
    wh0pper28, Nov 17, 2015
    #7
  8. Brink
    Brink New Member

    Run as Administrator in Windows 10

    You're most welcome. Please let us know how it went if you try the elevated shortcut. *Smile
     
    Brink, Nov 17, 2015
    #8
  9. wh0pper28 Win User
    Yeah, as I mentioned in my previous post, the scheduled tasks work as expected within the Task Scheduler itself but the shortcuts for them don't seem to work, the cmd just flashes and neither one of the programs opens. Find attached my screenshots, maybe you will notice an error on my part.
    Run as Administrator in Windows 10 [​IMG]

    Run as Administrator in Windows 10 [​IMG]

    Run as Administrator in Windows 10 [​IMG]

    Run as Administrator in Windows 10 [​IMG]
     
    wh0pper28, Nov 17, 2015
    #9
  10. Brink
    Brink New Member
    The elevated shortcut is not working since it's not pointing to the correct path. The tutorial is for having the task in the Task Scheduler Library folder in Task Scheduler instead.
     
    Brink, Nov 17, 2015
    #10
  11. wh0pper28 Win User
    How would I rectify it to point to the path of my folder? I can't seem to find the path for it. Or is that not possible?

    Regards
     
    wh0pper28, Nov 17, 2015
    #11
  12. Brink
    Brink New Member
    Try the location below for creating the shortcut with instead. Substitute the part in red for the task name in your Microsoft\My Tasks folder. *Smile

    schtasks /run /tn "Microsoft\My Tasks\Registry Editor"
     
    Brink, Nov 17, 2015
    #12
  13. wh0pper28 Win User

    Run as Administrator in Windows 10

    Yes, that works great! *Biggrin
    I did actually try that path, only without the quotation marks which I think is why it wouldn't work.
    Nevertheless it works as intended now, I can't thank you enough for your help, keep it up the great work, you are a credit to this community!

    Regards
     
    wh0pper28, Nov 17, 2015
    #13
  14. Brink
    Brink New Member
    You're most welcome Wh0pper28. *Smile
     
    Brink, Nov 17, 2015
    #14
  15. tolisss Win User
    I modified my registry in order to call mklink from cmd. However it seems that this option does not work as described and I still get "You do not have sufficient privilege to perform this operation".
     
    tolisss, Dec 8, 2015
    #15
Thema:

Run as Administrator in Windows 10

Loading...
  1. Run as Administrator in Windows 10 - Similar Threads - Run Administrator

  2. I can't open my search bar, and because of that I can't run as administrator on command...

    in Windows 10 Customization
    I can't open my search bar, and because of that I can't run as administrator on command...: I'm trying to do this because my settings app continuously crash when I try to open it, and opening it through the search bar don't work neither, I was told to try the DSIM cleaning method, but I need admin/elevated commands to do so, which again I can't get it without the...
  3. I can't open my search bar, and because of that I can't run as administrator on command...

    in Windows 10 Gaming
    I can't open my search bar, and because of that I can't run as administrator on command...: I'm trying to do this because my settings app continuously crash when I try to open it, and opening it through the search bar don't work neither, I was told to try the DSIM cleaning method, but I need admin/elevated commands to do so, which again I can't get it without the...
  4. I can't open my search bar, and because of that I can't run as administrator on command...

    in Windows 10 Software and Apps
    I can't open my search bar, and because of that I can't run as administrator on command...: I'm trying to do this because my settings app continuously crash when I try to open it, and opening it through the search bar don't work neither, I was told to try the DSIM cleaning method, but I need admin/elevated commands to do so, which again I can't get it without the...
  5. How can i run a program as an administrator on windows 10 home?

    in Windows 10 Gaming
    How can i run a program as an administrator on windows 10 home?: Hello, I am attempting to run nice hash on my computer as an administrator, but it gives me an error "this app has been blocked for your protection" I have googled several solutions, such as add it to windows antivirus exclusions list, which did not work, and to use the group...
  6. How can i run a program as an administrator on windows 10 home?

    in Windows 10 Software and Apps
    How can i run a program as an administrator on windows 10 home?: Hello, I am attempting to run nice hash on my computer as an administrator, but it gives me an error "this app has been blocked for your protection" I have googled several solutions, such as add it to windows antivirus exclusions list, which did not work, and to use the group...
  7. How can i run a program as an administrator on windows 10 home?

    in AntiVirus, Firewalls and System Security
    How can i run a program as an administrator on windows 10 home?: Hello, I am attempting to run nice hash on my computer as an administrator, but it gives me an error "this app has been blocked for your protection" I have googled several solutions, such as add it to windows antivirus exclusions list, which did not work, and to use the group...
  8. Running App Downloaded From Microsoft Store in Administrator Mode by Default

    in Microsoft Windows 10 Store
    Running App Downloaded From Microsoft Store in Administrator Mode by Default: I purchased 4k Video Downloader from the Microsoft Store but some of its features such as the Smart Mode do not work. If you try to set Smart Mode settings it clears once you exit the dialog box. I figured out that running the application in administrator mode fixes this and...
  9. My apps crash and wont open again unless I run them as administrator

    in Windows 10 Gaming
    My apps crash and wont open again unless I run them as administrator: Today I installed a new motherboard, cpu and a graphics card and now after having my computer turned on for a minute all of my apps crash and wont open unless I run them as administrator. I have tried different solutions to fix this problem but none of them have helped, I...
  10. My apps crash and wont open again unless I run them as administrator

    in Windows 10 Software and Apps
    My apps crash and wont open again unless I run them as administrator: Today I installed a new motherboard, cpu and a graphics card and now after having my computer turned on for a minute all of my apps crash and wont open unless I run them as administrator. I have tried different solutions to fix this problem but none of them have helped, I...