Create Elevated Shortcut without UAC prompt in Windows 10  

Page 22 of 23 FirstFirst ... 1220212223 LastLast

  1. Posts : 30
    Windows 10
       #210

    Hello, just installed windows 11 and this is not working anymore. I created an elevated command prompt/shortcut but it doesn't load on boot. Any new solutions?

    Thanks!
      My Computer


  2. Posts : 64,465
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #211

    dracarys said:
    Hello, just installed windows 11 and this is not working anymore. I created an elevated command prompt/shortcut but it doesn't load on boot. Any new solutions?

    Thanks!
    Hello,

    Double check the steps below for Windows 11 to see if it may help for now.

    Create Elevated Shortcut without UAC prompt in Windows 11 Tutorial | Windows 11 Forum
      My Computers


  3. Posts : 30
    Windows 10
       #212

    Brink said:
    Hello,

    Double check the steps below for Windows 11 to see if it may help for now.

    Create Elevated Shortcut without UAC prompt in Windows 11 Tutorial | Windows 11 Forum
    Jesus 20 steps vs the original 2 steps. I'll try it out thanks!
      My Computer


  4. Posts : 64,465
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #213

    dracarys said:
    Jesus 20 steps vs the original 2 steps. I'll try it out thanks!
    Yeah, it's involved.
      My Computers


  5. Posts : 30
    Windows 10
       #214

    Brink said:
    Yeah, it's involved.
    Tried it twice, still not working. Windows 11 is cancer so far, can't even make the bottom taskbar smaller without going into regedit lol.
      My Computer


  6. Posts : 64,465
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #215

    dracarys said:
    Tried it twice, still not working. Windows 11 is cancer so far, can't even make the bottom taskbar smaller without going into regedit lol.
    What are you trying to run elevated at startup?

    Windows can be picky about that.
      My Computers


  7. Posts : 30
    Windows 10
       #216

    Brink said:
    What are you trying to run elevated at startup?

    Windows can be picky about that.
    ThrottleStop
      My Computer


  8. Posts : 64,465
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #217

    dracarys said:
    ThrottleStop
    If ThrottleStop loads anything other than the exe, it could cause it to not work.
      My Computers


  9. Posts : 30
    Windows 10
       #218

    Brink said:
    If ThrottleStop loads anything other than the exe, it could cause it to not work.
    It's a pretty barebones program, I don't think it's running anything else. Anyone else here get Throttlestop working?
      My Computer


  10. Posts : 4
    Windows 10
       #219

    Hi, somehow I cannot get it work to run netsh.exe as a standard user.

    My goal:
    switch between 2 NICs in my PC - 1 using a VPN connection, the other is connected directly (for gaming). I am currently switching using 2 batch files with the runas /user:administrator command where I have the issue that the script is executed sometimes with a delay of 20-30secs

    My steps:
    1) As Admin user
    - I created a Win10 task "Switch_WAN_to_VPN" following the guide with the following parameters:
    • general: use the following user account: standard user (not admin)
    • actions:
      cmd.exe /c start "Switch_WAN_to_VPN" "%windir%\system32\netsh.exe" "interface set interface REGULAR enable"
      cmd.exe /c start "Switch_WAN_to_VPN" "%windir%\system32\netsh.exe" "interface set interface GAMING disable"

    - I tested the task and it works (for the test I put in the general tab the admin account under which the tasks should run)

    2) As standard user
    - I created a shortcut schtasks /run /tn "Switch_WAN_to_VPN"
    - The tasks seems to be executed, but the NICs are not changed.

    In order to fix it, I performed the following steps:
    (1) I changed the user account under which the tasks should be executed from "standard user" to "admin user".
    Then of course I cannot execute the task anymore as standard user (error: access denied) and I need again to use the runas /user:administrator command which gives me the delay.

    (2) I changed the command slightly adapting the ":
    "%windir%\system32\netsh.exe" "interface set interface REGULAR enable"
    "%windir%\system32\netsh.exe interface set interface REGULAR enable"


    Any advice?
    Last edited by LaUs3r; 30 Dec 2022 at 10:26.
      My Computer


 

  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 10:16.
Find Us




Windows 10 Forums