1.    09 Aug 2016 #1
    Join Date : Aug 2016
    Pune, India
    Posts : 4
    Windows 10

    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 ComputerSystem Spec
  2.    09 Aug 2016 #2
    Join Date : Aug 2015
    Posts : 50
    Windows 10

    Try running it as a task using task scheduler.
      My ComputerSystem Spec
  3.    09 Aug 2016 #3
    Join Date : Jul 2016
    Posts : 14
    Windows 10 Pro x64

    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:
    Click image for larger version. 

Name:	eYeDXOn.png 
Views:	26 
Size:	7.2 KB 
ID:	95088

    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 ComputerSystem Spec
  4.    09 Aug 2016 #4
    Join Date : Jul 2016
    Crewe Cheshire
    Posts : 1,381
    windows 10

    Winpatrol does all that for you simply you can set delayed start for apps very simple
      My ComputerSystem Spec
  5.    10 Aug 2016 #5
    Join Date : Aug 2016
    Pune, India
    Posts : 4
    Windows 10
    Thread Starter

    Quote Originally Posted by pcgeek11 View Post
    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 UAC.PNG  
      My ComputerSystem Spec
  6.    10 Aug 2016 #6
    Join Date : Aug 2016
    Pune, India
    Posts : 4
    Windows 10
    Thread Starter

    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).
    Click image for larger version. 

Name:	UAC.PNG 
Views:	4 
Size:	17.7 KB 
ID:	95255
      My ComputerSystem Spec
  7.    10 Aug 2016 #7
    Join Date : Aug 2015
    Posts : 50
    Windows 10

    I got nothing.... :\
      My ComputerSystem Spec

 


Similar Threads
Thread Forum
Solved 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...
Software and Apps
0x0000022 application was unable to start correctly
I hope someone can help. I received an update for SmartFTP and updated. I have not used the application for months. After updating, I tried to run SmartFTP and up came the error message: The application was unable to start correctly 0x0000022 ...
Software and Apps
Browse Folder with the new Photo application
Hello One of the most useful feature of the previous Photo viewer ist that it easaly allow to browse all the images in the folder where any image was opened This feature seems to have diasapear in Windows 10 so on every machine installed with...
Software and Apps
The application was unable to start correctly (0xc000007b).
Hi there, I have windows 10 installed and I have also installed the finale 2014 demo. I am getting an error on launch of the application. It seems to be the only application that cannot run. The error is: "The application was unable to...
Software and Apps
Can I have my VM or any application start in a different desktop?
Just curious.:p:p
Software and Apps
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 03:09.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums