EXE in Startup folder not running

Page 2 of 2 FirstFirst 12

  1. Posts : 2
    Windows 10 x64 & x86
       #11

    Hi,

    I have the same problem with a system program (Taskmgr.exe, looks like 'C:\Windows\system32\taskmgr.exe /7' in its regular shortcuts -- not sure what '/7' does but couldn't get a command line options for taskmgr.exe). When I do a Properties on it, there's no Details tab, so I can't tell if it needs or set it to have Admin privileges -- my UAC settings cause a confirmation window when an app needs that, and that doesn't come up with Task Manager, so I'd say no if I needed to pick one.

    I tried the method from 'miken' involving the .bat file, but both when I launch the .bat file manually and when it's launched during the startup, it just brings up a command prompt with the current directory set to the Startup folder, doesn't seem to do anything else.

    As far as the response from Kanata, there is no Startup under Start → All Programs (I find it through typing 'shell:startup' in the Win+R (Run) field). But the rest of his suggestion involves just the usual procedure (i.e. what is already being tried), so it would have the same problem.

    I don't see any explanation of how it is possible that these used to work earlier as stated by the OP (and I have the same recollection about this if my memory is right). Since this is Windows 10 forums, I assume that's been the platform referred to by everyone (albeit different build releases possibly).

    I don't want to have to go create an item in Task Scheduler for a built-in Windows app. Everything else in the Startup folder I have works, and the Task Manager also works when it's double-clicked on in the folder.

    I don't know how this item is marked as Solved (unless the key aspect is that the program OP is asking about needs Admin privileges), despite the problems with the two suggestions I pointed out. I don't mean to re-open a properly closed item, so I'll be happy to remove this, open a new item, or just look at another one that you might be able point me to.

    Thanks,
    A.B.
      My Computer


  2. Posts : 68,881
    64-bit Windows 11 Pro for Workstations
       #12

    Hello Arthur, :)

    By default, Windows will not allow any program to run elevated at startup for security reasons.

    You could use the tutorial below to create an elevated shortcut of this program, then place the elevated shortcut in your Startup folder. The program will then run elevated at startup without getting a UAC prompt.

    Elevated Program Shortcut without UAC Prompt - Create - Windows 7 Help Forums
      My Computers


  3. Posts : 14
    Windows 10 Enterprise
       #13

    What was said by miken (page 1) works correctly with Windows 10 Enterprise.
    All directories are exemplified. Choose the ones you want.
    ---------------------------------------------------------------------------------------------------
    Batch File folder
    C:\Users\BillGatesTheMiser\Documents\BATCH\
    MakeMoreMoney.bat

    Here is what's in "MakeMoreMoney.bat"
    @echo off
    cd "C:\Users\BillGatesTheMiser\Documents\SHORTCUTS"
    start TaskManager
    ---------------------------------------------------------------------------------------------------
    Batch File folder shortcut
    C:\Users\BillGatesTheMiser\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\
    MakeMoreMoney
    Shortcut Properties
    Target: C:\Users\BillGatesTheMiser\Documents\BATCH\ MakeMoreMoney.bat
    Start in: C:\Users\BillGatesTheMiser\Documents\BATCH
    No need to Check “Run as Administrator”
    ---------------------------------------------------------------------------------------------------
    Shortcut
    C:\Users\BillGatesTheMiser\Documents\SHORTCUTS
    MakeMoreMoney
    Shortcut Properties
    Target: C:\Windows\System32\MakeMoreMoney.exe
    Start in: C:\Windows\System32
    Properties\Shortcut\Advanced: Check “Run as Administrator”
      My Computer


  4. Posts : 13
    Windows 10
       #14

    Kanata said:
    Try this instead. It's from a Win 7 instruction, but may be the answer for you. You may have to do it from the actual folder rather than the start menu:
    Click the Windows "Start" button and select "All Programs." Right-click the "Startup" folder in the menu and select "Open All Users."
    You're a genius. Thank you so much.

    I had a number of programs which wouldn't boot at start up for ages now and they were driving me around the twist. This method works a treat.

    Thank you.
      My Computer


  5. Posts : 77
    Windows 7 and Windows 10
       #15

    miken said:
    To run a program requiring admin access at startup in Windows 10, just create a shortcut (anywhere, I used the Startup folder itself) with "run as administrator" checked, then create a short batch file in the startup folder and use the 'start' command to launch the shortcut (omit the .lnk extension and the path, else start won't work, so use 'cd' to change to the shortcut directory first). Example:
    @echo off
    cd "C:\Users\...\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup"
    start ThrottleStop
    Isn't this method going to have UAC prompting you?
      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 06:15.
Find Us




Windows 10 Forums