Running as Administrator from Startup shortcut?


  1. Posts : 478
    Windows 10
       #1

    Running as Administrator from Startup shortcut?


    Up until now one of my programs has always run on booting up. Its shortcut is in my Startup folder.

    I have now re-configured the shortcut to 'Run as Administrator', for all users. It works correctly when d-clicked manually. But it no longer starts on startup.

    Is that to be expected? (Perhaps because the UAC warning is triggered and obviously cannot be answered?) Can I work around it?

    It's no big deal to start it manually, but...

    Terry, East Grinstead, UK
      My Computer


  2. Posts : 4,792
    Windows 11 Pro 64 Bit 22H2
       #2

    Try removing the shortcut from the Startup folder. Restart the computer.
    Then create a new shortcut of the program that is Run As Administrator, and save it to the Startup folder. Restart to test.
      My Computer


  3. Posts : 5,478
    2004
       #3

    You can't run startup items as administrator without enabling the built in Administrator account.
    Can't run a shortcut in startup folder as administrator - Windows 10 Forums

    It is a (pretty sensible) security precaution.

    You can use task scheduler to launch a process at logon (How to run a program as an administrator at startup on Windows 10? - Super User) but only for that have no user interaction.
      My Computer


  4. Posts : 478
    Windows 10
    Thread Starter
       #4

    Hmm - my brief note of thanks did not appear. Perhaps I should not have clicked 'Mark solved' first?
      My Computer


  5. Posts : 68,952
    64-bit Windows 11 Pro for Workstations
       #5

    Hello Terry, :)

    Another option would be to create an elevated shortcut using the method in the tutorial below, then move the elevated shortcut into your Startup folder.

    Create Elevated Shortcut without UAC prompt in Windows 10 Windows 10 Customization Tutorials
      My Computers


  6. Posts : 478
    Windows 10
    Thread Starter
       #6

    Thanks Brink. Isn't that that the same solution as lx07's, using Task Scheduler?
      My Computer


  7. Posts : 68,952
    64-bit Windows 11 Pro for Workstations
       #7

    Not quite the same, but more detailed and versatile.
      My Computers


 

  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 13:43.
Find Us




Windows 10 Forums