Create Elevated Shortcut without UAC prompt in Windows 10  

Page 14 of 20 FirstFirst ... 41213141516 ... LastLast
  1. Matthew Wai's Avatar
    Posts : 5,072
    Windows 10 Home 20H2
       #130

    @Brink, could you upload this latest version of Create_an_elevated_shortcut.bat? It will remove the space at the end of the file path (if any), so that the same issue will not happen again.

    phrab said:
    3. When I used your .bat file to run a game (Bridge Buff 19), it did work; i.e. there was a flash & then the game opened.
    If you want to kill the flash, right-click on the shortcut and change "Normal window" to "Minimized". The .bat file just uses the default settings, which can be changed at will. Also, the version you downloaded hours ago does not work if you have put it in a folder whose name contains a pair of brackets. The problem has been fixed in the version in this post.

    phrab said:
    I just found my error & I apologize for wasting everyone's time.
    Your error provided an opportunity to improve the script, so no apology is needed.
      My Computer

  2. Brink's Avatar
    Posts : 56,332
    64-bit Windows 10 Pro for Workstations build 21359
    Thread Starter
       #131

    Matthew Wai said:
    @Brink, could you upload this latest version of Create_an_elevated_shortcut.bat? It will remove the space at the end of the file path (if any), so that the same issue will not happen again.
    No problem Matthew. All updated in the tutorial now.
      My Computers


  3. Posts : 2
    Windows 10 Home 64 Bit
       #132

    Searched for "OBS" and "OBS Studio" - no results

    Will this method work for allowing OBS Studio to run in admin mode without an annoying prompt every time? OBS ran as admin runs a bit smoother, and I'd love to have my streamdeck automate without having 2 UAC prompts every time.
      My Computer

  4. Brink's Avatar
    Posts : 56,332
    64-bit Windows 10 Pro for Workstations build 21359
    Thread Starter
       #133

    Kenson said:
    Searched for "OBS" and "OBS Studio" - no results

    Will this method work for allowing OBS Studio to run in admin mode without an annoying prompt every time? OBS ran as admin runs a bit smoother, and I'd love to have my streamdeck automate without having 2 UAC prompts every time.
    Hello Kenson, and welcome to Ten Forums.

    It should work if applied to the executable file for OBS Studio.
      My Computers


  5. Posts : 2
    Windows 10 Home 64 Bit
       #134

    Brink said:
    Hello Kenson, and welcome to Ten Forums.

    It should work if applied to the executable file for OBS Studio.
    Thanks for the response. Also got it working for Streamlabs Chatbot. Gets annoying having that extra popup twice just to have my streams run smoother haha.
      My Computer

  6. Brink's Avatar
    Posts : 56,332
    64-bit Windows 10 Pro for Workstations build 21359
    Thread Starter
       #135

    Kenson said:
    Thanks for the response. Also got it working for Streamlabs Chatbot. Gets annoying having that extra popup twice just to have my streams run smoother haha.
    Great news.
      My Computers

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

    @Brink, I have created this .bat file, which will add "Elevated Shortcut" into the "New" context menu as shown below:
    Create Elevated Shortcut without UAC prompt in Windows 10-elevated-shortcut.jpg

    Just click on "Elevated Shortcut", which lets you create an elevated shortcut as shown in option 1. Could you add the above .bat into the tutorial? The following .bat file will remove "Elevated Shortcut" from the menu: https://www.tenforums.com/attachment...ntext_menu.bat
      My Computer

  8. Brink's Avatar
    Posts : 56,332
    64-bit Windows 10 Pro for Workstations build 21359
    Thread Starter
       #137

    Hello @Matthew Wai,

    That looks like it would make a create new separate tutorial instead, and have it linked into this one as well.

    I'll look into getting it created today sometime, and will post back when it's done.
      My Computers


  9. Posts : 5
    Windows 10
       #138

    Thanks so much for offering these solutions! Option 2 worked great.

    But there is something missing... I have an old app for editing audio files (no newer one is as effective unfortunately).
    The app is configured to run when clicking on a WAV file. So option 2 would need the file name passed in as an argument.

    Does anyone know if that can be done in the task scheduler?
      My Computer

  10. Brink's Avatar
    Posts : 56,332
    64-bit Windows 10 Pro for Workstations build 21359
    Thread Starter
       #139

    Aeolian said:
    Thanks so much for offering these solutions! Option 2 worked great.

    But there is something missing... I have an old app for editing audio files (no newer one is as effective unfortunately).
    The app is configured to run when clicking on a WAV file. So option 2 would need the file name passed in as an argument.

    Does anyone know if that can be done in the task scheduler?
    Hello Aeolian, and welcome to Ten Forums.

    You could do this with a specific WAV file included in the command to run the app, but I'm not sure if it's possible for just any random WAV file.

    If you like, you could use an option in the tutorial below to set the executable file for the app to always run as administrator, but you will get a UAC prompt.

    Run as Administrator in Windows 10
      My Computers


 
Page 14 of 20 FirstFirst ... 41213141516 ... 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 18:01.
Find Us




Windows 10 Forums