Create Elevated Shortcut without UAC prompt in Windows 10  

Page 19 of 20 FirstFirst ... 917181920 LastLast

  1. Posts : 25
    Windows 10
       #180

    Brink said:
    Hello dracarys,

    Are you able to use option 2 to manually create the elevated task instead?
    I haven't tried, I like this way :)
      My Computer

  2. Brink's Avatar
    Posts : 56,483
    64-bit Windows 10 Pro for Workstations build 21364
    Thread Starter
       #181

    dracarys said:
    I haven't tried, I like this way :)
    I understand. @Matthew Wai will hopefully be online soon to help with his script.
      My Computers

  3. Matthew Wai's Avatar
    Posts : 5,150
    Windows 10 Home 20H2
       #182

    dracarys said:
    elevated shortcut doesn't work anymore, now when I load the exe it says task already exists, hit any key to close.
    Go to Task Scheduler. Expand "Task Scheduler Library". Click on "Apps". Delete the task "Create_an_elevated_shortcut" and run the script again. Also, as the context menu is at issue, it would have been better to post the problem in the following tutorial:
    How to Add Create Elevated Shortcut to New Context Menu in Windows 10

    dracarys said:
    I just reformated windows 10, only tasks are windows update
    BTW, if you are interested, consider Using CMD script and VBScript to control Windows Update
      My Computer


  4. Posts : 25
    Windows 10
       #183

    Matthew Wai said:
    Go to Task Scheduler. Expand "Task Scheduler Library". Click on "Apps". Delete the task "Create_an_elevated_shortcut" and run the script again. Also, as the context menu is at issue, it would have been better to post the problem in the following tutorial:
    How to Add Create Elevated Shortcut to New Context Menu in Windows 10


    BTW, if you are interested, consider Using CMD script and VBScript to control Windows Update
    It's still not letting me edit anything inside the actual blue box like before, I used to be able to to Type "ThrottleStop", then copy it's location. Then drag the created APP to startup folderCreate Elevated Shortcut without UAC prompt in Windows 10-fas.png
      My Computer

  5. Matthew Wai's Avatar
    Posts : 5,150
    Windows 10 Home 20H2
       #184

    dracarys said:
    It's still not letting me edit anything inside the actual blue box like before, I used to be able to to Type "ThrottleStop", then copy it's location. Then drag the created APP to startup folder
    Go to your desktop. Right-click on any empty space. On the context menu, hover the cursor over the item "New". You will see "Elevated Shortcut" on the submenu. Click on it.
      My Computer


  6. Posts : 25
    Windows 10
       #185

    Matthew Wai said:
    Go to your desktop. Right-click on any empty space. On the context menu, hover the cursor over the item "New". You will see "Elevated Shortcut" on the submenu. Click on it.
    Awesome, thanks!
      My Computer

  7. Matthew Wai's Avatar
    Posts : 5,150
    Windows 10 Home 20H2
       #186

    You are most welcome!
      My Computer

  8. ritjesman's Avatar
    Posts : 39
    Win 7 SP1 x64 || Win 10 Pro x64 v1909, bld 18363.1082
       #187

    BIg thank-you to Shawn and Mathew for keeping this alive and lively. It’s still incredibly useful … not only for its stated purpose but also for running utilities/apps that need to run both elevated and in Win 7/Win XP Compatibility mode.

    I‘ve recently (3 Oct ‘20) completed the Win7 --> Win10 migration and none of the shortcuts created following Brink’s SevenForum tutorial (Option 2 here) worked. The reason was that I had prefaced my Task Scheduler tasks with ! (!HiCMD, !Reflect, etc.). It worked fine in Win 7 but not Win 10; Mathew alludes to this in the instructions for his scripted approach which is what gave me the needed clue. The following is offered in the hope it will be useful to somebody else.

    Unfortunately it is not possible to simply modify the task name (at least I was unable to edit that field) so new tasks are required. I have 7 of these shortcuts and it only took about 5 mins. The process used was
    • Export existing tasks (to retain commands/arguments)
    • Create a new task (I used Option 2 but I believe either Option will work)
    • Export it
    • Edit it (in text editor) replacing the <Exec> block with that of an old exported task:

    Create Elevated Shortcut without UAC prompt in Windows 10-notepad-task-xml.jpg

    • Save As your new task name & import into Task Scheduler
    • Right click on the associated Shortcut and update the Target task name:

    Create Elevated Shortcut without UAC prompt in Windows 10-noflash-nouac.jpg
    BTW if “Run Minimized” doesn’t eliminate the flashing cmd window – which I’ve had happen – another way to stop seeing the flash is to click on the Shortcut’s Layout tab and set Window Size/Location parameters to 1 (it won’t accept zero) making sure “Let system position window” is unchecked.
      My Computer

  9. Homer712's Avatar
    Posts : 143
    Windows 10, 1909 (OS Build 18363.1379 )
       #188

    Very, very helpful tutorial . . . thank you! Noticed something today. I have a calendar (Rainlendar) located at the top right of my laptops screen. If I create a desktop shortcut using the bat file method (Option One), the calendar shows through the apps window until I click on the window to bring it to the forefront. If I create the shortcut by manually (Option Two) creating the task in Task Scheduler it seems that the app window is brought to the forefront automatically just like any other launched app.

    Certainly not a big issue, just wondering.
      My Computer

  10. Matthew Wai's Avatar
    Posts : 5,150
    Windows 10 Home 20H2
       #189

    Homer712 said:
    Certainly not a big issue, just wondering.
    Please run the modified version below and see whether the problem has been fixed.

    Create_an_elevated_shortcut.bat

    Remember to delete the old scheduled task beforehand.
      My Computer


 
Page 19 of 20 FirstFirst ... 917181920 LastLast

Tutorial Categories

Create Elevated Shortcut without UAC prompt in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 04:13.
Find Us




Windows 10 Forums