My Application which is in Start up folder is not running


  1. Posts : 4
    Windows 10
       #1

    My Application which is in Start up folder is not running


    My application which is in Startup folder is not started after restarting the computer. I find some solutions on internet like
    1. Hkey_Local_Machine\ Software\ Microsoft\ Windows\ CurrentVersion\ Policies\ System\ Set EnableLUA to 0 (See at right side - By Default it is set to 1)
    2. Set User Access Control settings to lowest level

    When i do this settings, my application which is in start up folder, application runs when machine restarts every time..
    But this setting inhibit the operation of some MS programs like MS-Edge, Photo-Viewer, Skype Video etc. Resetting to default "1" and restart PC would resolved it. We need to look for better solution to this "security measure" by later Windows version.. Please guide me with better solution
      My Computer


  2. Posts : 50
    Windows 10
       #2

    Try running it as a task using task scheduler.
      My Computer


  3. Posts : 18
    Windows 10 Pro x64
       #3

    I found this issue after switching from W7. I always have task manager started with windows (I like it's icon always shown at tray) and W10 would not start it at all! This actually made me switch back to W7 for a while until found a solution.

    The solution as pcgeek11 suggested is to use task scheduler.
    It's pain in the ass create new task scheduler for every program you want to start, but you can created just one scheduled task that runs a .bat file, which then starts any and as many programs you want.

    I use nircmd to hide cmd window:
    My Application which is in Start up folder is not running-eyedxon.png

    both nircmd.exe and startup.bat are in the same folder.
    As an example in the startup.bat I use this to start and minimize task manager:
    Code:
    start /I "" "Taskmgr.exe"
    nircmd cmdwait 1000 win min title "Task Manager"
    (second line minimizes task manager)
      My Computer


  4. Posts : 6,916
    windows 10
       #4

    Winpatrol does all that for you simply you can set delayed start for apps very simple
      My Computer


  5. Posts : 4
    Windows 10
    Thread Starter
       #5

    pcgeek11 said:
    Try running it as a task using task scheduler.
    Let me put up my problem in a different way:
    1. My team has developed a windows (C# WPF) application. This application requires elevated privileges to execute. (right click on app --> "Run as administrator" even for an administrator user). This application need to run at startup occasionally (depending on user preferences).
    2. When user selects to run the application on windows startup, the application creates its shortcut in the "startup folder" of the windows.
    3. As this application needs administrative privileges to start running, we have made the setting as shown in the attachment image.
    Problem : With this UAC settings my application startup automatically whenever configured to start, at boot on windows 7. For windows 10 (I upgraded my PC from windows 7 to windows 10 Pro recently) these settings do not help. When I right click "Run as administrator" on my application from the shortcut in the startup folder, my application works fine.
    I made the registry settings as discussed earlier, It helps start the application on boot. However, some MS tools give an message saying : eg "MS Edge can't be opened using the built-in Administrator account. Sign in with a different account and try again.".

    I feel, somehow the UAC prompt, which generally occurs on running this application cannot allow same application in startup mode. How can I tell windows to run the application in administrator mode ? (windows does not by default run an app in administrator mode even when logged-in user is an administrator of that PC).
    Attached Thumbnails Attached Thumbnails My Application which is in Start up folder is not running-uac.png  
      My Computer


  6. Posts : 4
    Windows 10
    Thread Starter
       #6

    Let me put up my problem in a different way:
    1. My team has developed a windows (C# WPF) application. This application requires elevated privileges to execute. (right click on app --> "Run as administrator" even for an administrator user). This application need to run at startup occasionally (depending on user preferences).
    2. When user selects to run the application on windows startup, the application creates its shortcut in the "startup folder" of the windows.
    3. As this application needs administrative privileges to start running, we have made the setting as shown in the attachment image.
    Problem : With this UAC settings my application startup automatically whenever configured to start, at boot on windows 7. For windows 10 (I upgraded my PC from windows 7 to windows 10 Pro recently) these settings do not help. When I right click "Run as administrator" on my application from the shortcut in the startup folder, my application works fine.
    I made the registry settings as discussed earlier, It helps start the application on boot. However, some MS tools give an message saying : eg "MS Edge can't be opened using the built-in Administrator account. Sign in with a different account and try again.".

    I feel, somehow the UAC prompt, which generally occurs on running this application cannot allow same application in startup mode. How can I tell windows to run the application in administrator mode ? (windows does not by default run an app in administrator mode even when logged-in user is an administrator of that PC).
    My Application which is in Start up folder is not running-uac.png
      My Computer


  7. Posts : 50
    Windows 10
       #7

    I got nothing.... :\
      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 23:49.
Find Us




Windows 10 Forums