Create Elevated Shortcut without UAC prompt in Windows 10  

Page 20 of 20 FirstFirst ... 10181920
  1. Homer712's Avatar
    Posts : 134
    Windows 10, 1909 (OS Build 18363.1379 )
       #190

    Wow, that was fast . . . and it works perfectly! Thank you.

    I dabble with software only because the whole area fascinates me. Always make a MR backup image before trying to "fix" (and I use that term in the loosest possible meaning) anything. Just for my curiosity, what did you change?
      My Computer

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

    @Brink, can you upload the following updated version, in which the problem reported by Homer712 has been fixed?

    Create_an_elevated_shortcut.bat

    Homer712 said:
    Just for my curiosity, what did you change?
    Take Registry Editor, i.e. regedit.exe, for example.

    The previous version will run "%windir%\regedit.exe"
    The updated version will run cmd.exe /c start "Registry Editor" "%windir%\regedit.exe"

    That is the difference. Thank you for reporting the subtle problem, which I did not notice at all!
      My Computer

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

    Matthew Wai said:
    @Brink, can you upload the following updated version, in which the problem reported by Homer712 has been fixed?

    Create_an_elevated_shortcut.bat

    Take Registry Editor, i.e. regedit.exe, for example.

    The previous version will run "%windir%\regedit.exe"
    The updated version will run cmd.exe /c start "Registry Editor" "%windir%\regedit.exe"

    That is the difference. Thank you for reporting the subtle problem, which I did not notice at all!
    Thank you Matthew. The .bat file in option 1 has now been updated for this.
      My Computers

  4. Homer712's Avatar
    Posts : 134
    Windows 10, 1909 (OS Build 18363.1379 )
       #193

    I'm probably pushing it now, but in the previous version it was possible to "minimize" the desktop shortcut and all you got was this tiny little split second flash in the task bar. With the new version the "minimize" of the shortcut does nothing and you still get that big black cmd window flashing on the screen. Short, yes, but wondering if there's anything that can be done/set to stop that. And it seems that the first instance after every restart is the worst, seems to get shorter with each additional launch.
    Last edited by Homer712; 28 Jan 2021 at 09:26.
      My Computer

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

    @Homer712, do you mean the following "Minimized"? It works at my end. I see no big black CMD window flashing. Even if it flashes, the flashing will last no more than 0.1 second. Not a problem at all.

    Create Elevated Shortcut without UAC prompt in Windows 10-minimized-shortcut.jpg
      My Computer

  6. Homer712's Avatar
    Posts : 134
    Windows 10, 1909 (OS Build 18363.1379 )
       #195

    I'm sure it is fine, everything happens a bit slower on this older laptop. Don't change anything. Works perfectly!
      My Computer


  7. Posts : 1
    Win 10 Pro
       #196

    Hey there! Fantastic application btw. I read through all of the forum comments and from what it sounds like, there is no automated solution to bypass the UAC without some sort of manual interaction, correct? I'm trying to create a batch file that essentially never triggers the UAC as a local administrator, but the more I look into it, the less possible that becomes. I do understand that Option 2 works manually, and option 1 is almost perfect, but I was just wondering if anyone here had any feedback. Thank you for the information though! This forum was a good read.
      My Computer


 
Page 20 of 20 FirstFirst ... 10181920

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 19:22.
Find Us




Windows 10 Forums