Page 1 of 2 12 LastLast

  1. Joined : Aug 2015
    Posts : 32
    Windows XP
       29 Oct 2015 #1

    EXE in Startup folder not running


    Just don't know if it's really worth the trouble, seems like just one issue after another.

    Latest is I wrote a program that runs on windows 10 just fine from a shortcut on the desktop. I copied the shortcut to the startup folder for my account and did all the compatibility changes so it would run. It worked fine after a few test startups but now all the sudden it no longer works.

    Not sure if MS installed any updates between it working and not working, all I know is it ain't working now.
    It shows up in task manager but really isn't running. Any ideas?

    TKS...

    PS: If I open the Startup folder and double click the shortcut it runs just fine.
    Last edited by BReeves; 29 Oct 2015 at 08:32.
      My System SpecsSystem Spec


  2. Joined : Jun 2015
    Ottawa, Canada
    Posts : 193
    Windows 10 Pro
       29 Oct 2015 #2

    When you changed the compatibility settings, did you change the option to run as administrator? If so, remove it.
      My System SpecsSystem Spec


  3. Joined : Aug 2015
    Posts : 32
    Windows XP
       30 Oct 2015 #3

    Kanata said: View Post
    When you changed the compatibility settings, did you change the option to run as administrator? If so, remove it.
    That was the problem with it auto-starting but it doesn't work properly if it isn't ran as Administrator. I have UAC set to it's lowest setting and getting frustrated with all the "protect me" stuff we have to work around if we need a computer to do real work. Not sure if I will keep messing with it or just go back to XP which works.

    This is a program we use for a Model Airplane club webcam, it grabs images from two cameras (1 IP and 1 video) then ftp's them to a web site every 30 seconds or so. It has to access the registry, local network, files on the hard drive and the Internet all of which are protected in some way or another..
      My System SpecsSystem Spec


  4. Joined : Jun 2015
    Ottawa, Canada
    Posts : 193
    Windows 10 Pro
       30 Oct 2015 #4

    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." This option opens the folder for all users on the computer. Choose "Explore" to open the folder for the currently logged-in user only.
    Right-click the folder or file you want started when the computer boots. Select "Copy Shortcut" from the menu.
    Right-click any white space in the "Startup" folder opened in Step 1. Select "Paste" from the menu list. The program will now open the next time you start the computer.

      My System SpecsSystem Spec


  5. Joined : Aug 2015
    Posts : 32
    Windows XP
       30 Oct 2015 #5

    Thanks, will play with it a little more in the morning. I only have a small window between when I get up in the mornings and when it gets light outside to play. I like to have it running anytime it's light enough outside to see anything.

    Tulsa Gluedobbers Control Line Club WebCam
      My System SpecsSystem Spec


  6. Joined : Oct 2013
    Posts : 17,490
    64-bit Windows 10 Pro build 15014
       30 Oct 2015 #6

    Hello BReeves,

    If the program requires to run as administrator, then that is the issue. By default, Windows will not allow any program to run elevated at startup for security reasons.

    However, 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 System SpecsSystem Spec


  7. Joined : Dec 2015
    Posts : 1
    Win10Pro
       27 Dec 2015 #7

    found solution


    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
      My System SpecsSystem Spec


  8. Joined : Sep 2014
    Posts : 2,923
    Windows 10 Pro
       27 Dec 2015 #8

    BReeves said: View Post
    That was the problem with it auto-starting but it doesn't work properly if it isn't ran as Administrator.
    In most cases, if the app needs to run as administrator to run properly, then it is doing something wrong. If the app needs admin privs, then it should be written to run as a Windows Service, and there should be a user-mode app that does not need privileges that communicates with it via sockets or pipes in order to control it. Apps that need to do things directly that require admin resources should be interactive, user-mode only applications the require the user to give permission, and these kinds of apps should be few and far between.
      My System SpecsSystem Spec


  9. Joined : Jun 2016
    Posts : 1
    Windows 10
       05 Jun 2016 #9

    Dear Sir or Madam,
    My AHK script went fine in Windows 7.
    Without Administrator rights In Windows 10 can't use AHK-script in typing the install path for any application.
    Maybe Autohotkey is doing this wrong, and Windows 7 is doing this wrong,
    or maybe Autohotkey is doing this wrong, and Windows 10 is doing this right,
    or maybe Autohotkey is doing this wrong, and Windows 10 is doing this wrong,
    or maybe Autohotkey is doing this right, and Windows 10 is doing this wrong.

    Anyway, Windows 10 is another Windows 95 with lousy interface,
    and Windows Team is defective, slack and loose, and always tries to avoid legal responsibilities.
      My System SpecsSystem Spec


  10. Joined : Apr 2016
    Manchester, U.K.
    Posts : 287
    Windows 10 Pro 64bit
       05 Jun 2016 #10

    I have the same problem with MS works calendar reminder, the .exe is listed in the startup folder but at the time specified for the reminder it doesn't show the reminder pop-up.
    Tbh this was also a problem under Win 7 & 8/8.1 but rectified it by copying the alarm/calendar reminder .exe to the startup folder, this doesn't work with 10.
      My System SpecsSystem Spec


 
Page 1 of 2 12 LastLast


Similar Threads
Thread Forum
Duplicate files in Win 10 Startup folder
I wanted to have the OpenVPN-GUI open on boot so I may have caused two copies to appear in the Startup folder. In any case, it does not open on boot and I have to start it manually. On the other hand, there is only a disable function so I wanted to...
General Support
Windows 10 opens folder at boot; msconfig stuck at selective startup
1. If I try to select normal startup in msconfig.exe, it doesn't stick; always reverts to selective startup. 2. When I boot to the Windows 10 desktop, it always opens a Windows Explorer window at /windows/system/ which shows only a Speech folder...
General Support
How to display drivers loading and chkdsk running at startup
I am guessing OS Boot Information has not been possible since Windows 7. I have tried msconfig and bcdedit with Windows 10 to show what is going on but all I get is the blue window in the boot screen. I also have Fast Startup enabled if that is...
General Support
UAC blocking certain programs from running at startup
I'm having issues with any programs which "Run as Administrator" loading at startup. Steam and Rainmeter are the two which are really annoying me just now. If I use the aero tweak tool to completely disable UAC then these programs start without...
User Accounts and Family Safety
Solved Startup Folder Location
Exactly where is the Startup Folder for Windows 10 located? Thank you.
General Support
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 07:47.
Find Us
Twitter Facebook Google+



Windows 10 Forums