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
[/FONT][/COLOR]
When i do this settings, my application which is in start up folder, application runs when machine restarts every time.. [/COLOR][/FONT][/COLOR][/SIZE]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. Please guide me with better solution
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
My Application which is in Start up folder is not running after restart
Home » Forums » AskWoody support » Windows » Windows 10 » Questions: Win10 » My Application which is in Start up folder is not running after restart
- This topic has 7 replies, 5 voices, and was last updated 8 years, 9 months ago.
AuthorTopicWSrajesh12
AskWoody LoungerAugust 9, 2016 at 2:11 am #506554Viewing 1 reply threadAuthorReplies-
b
AskWoody_MVPAugust 9, 2016 at 6:39 am #1573859Also posted at:
https://social.technet.microsoft.com/Forums/en-US/f0ffbaeb-5ddf-4708-b9cb-cae84e09588d/my-application-which-is-in-start-up-folder-is-not-running
http://www.tomshardware.com/forum/id-3148692/application-start-folder-running.html
http://www.tenforums.com/general-support/59449-my-application-start-up-folder-not-running.html
http://www.bleepingcomputer.com/forums/t/622796/my-application-which-is-in-start-up-folder-is-not-running/Please see Rule 14.
-
WSrajesh12
AskWoody LoungerAugust 10, 2016 at 1:29 am #1573971Let 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.
-
Alan Biddle
AskWoody LoungerAugust 11, 2016 at 7:32 am #1574215I have a program, Roboform, which has been working for years, most recently with the original WIN10. After the Anniversary upgrade, I now have exactly the same problem and solution. From talking with their tech support, they are aware of the problem, and are researching it. So it looks like something subtle has changed, either by accident or design, and not documented. You may have the only solution for now.
-
dhjohns
AskWoody LoungerAugust 15, 2016 at 7:03 pm #1574996Let 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.
Have you tried the RunOnce registry edit. I use this with a batch file for new installations. This is just a small part of it, but the registry entry (change for your needs) is this
Code:HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionRunOnce] "DarkTheme"="C:\Windows\System32\DarkTheme.cmd"
and the command file looks like this
Code:@echo off ThemeSwitcher.exe "%SYSTEMROOT%ResourcesThemesWindows Black Edition Orange.theme" timeout /nobreak /t 3 taskkill /F /IM explorer.exe start explorer.exe regedit.exe /S %SYSTEMROOT%System32Explorer_Fix.reg del %SYSTEMROOT%System32Explorer_Fix.reg del %SYSTEMROOT%System32DarkTheme.cmd exit
As you can see from the last line the file is deleted. Here is an example of a batch file which will run another elevated as administrator. This may prove useful to you.
Code:@echo off >nul 2>&1 "%SYSTEMROOT%system32cacls.exe" "%SYSTEMROOT%system32configsystem" if "%errorlevel%" NEQ "0" ( echo: Set UAC = CreateObject^("Shell.Application"^) > "%temp%getadmin.vbs" echo: UAC.ShellExecute "%~s0", "", "", "runas", 1 >> "%temp%getadmin.vbs" "%temp%getadmin.vbs" & exit ) if exist "%temp%getadmin.vbs" del /f /q "%temp%getadmin.vbs" ) %windir%system32reg.exe query "HKLMSystemCurrentControlSetControlSession ManagerEnvironment" /v PROCESSOR_ARCHITECTURE | find /i "amd64" 1>nul || ( echo ============================================================ echo ERROR: This pack is for 64-bit systems. echo ============================================================ echo. echo. echo Press any key to exit... pause >nul goto :eof ) %~d0 cd /d "%~dp0" cls Filesinstall.bat
-
-
-
joep517
AskWoody MVP -
WSrajesh12
AskWoody LoungerAugust 10, 2016 at 11:23 pm #1574188I did the scheduled task but it always starts an application when we restart the pc whether the application shortcut is in startup folder (C:ProgramDataMicrosoftWindowsStart MenuProgramsStartUp) or not.. My need is whenever the application shortcut is in startup folder then only application should start after restarting th pc.
-
joep517
AskWoody MVPAugust 11, 2016 at 4:32 pm #1574350I did the scheduled task but it always starts an application when we restart the pc whether the application shortcut is in startup folder (C:ProgramDataMicrosoftWindowsStart MenuProgramsStartUp) or not.. My need is whenever the application shortcut is in startup folder then only application should start after restarting th pc.
See if you can add some TRIGGER to the TASK definition that will suit your needs.
--Joe
-
-
Viewing 1 reply thread -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
KB5058405 might fail to install with recovery error 0xc0000098 in ACPI.sys
by
Susan Bradley
6 hours, 7 minutes ago -
T-Mobile’s T-Life App has a “Screen Recording Tool” Turned on
by
Alex5723
8 hours, 49 minutes ago -
Windows 11 Insider Preview Build 26100.4202 (24H2) released to Release Preview
by
joep517
3 hours, 24 minutes ago -
Windows Update orchestration platform to update all software
by
Alex5723
16 hours, 8 minutes ago -
May preview updates
by
Susan Bradley
3 hours, 31 minutes ago -
Microsoft releases KB5061977 Windows 11 24H2, Server 2025 emergency out of band
by
Alex5723
5 hours, 42 minutes ago -
Just got this pop-up page while browsing
by
Alex5723
8 hours, 20 minutes ago -
KB5058379 / KB 5061768 Failures
by
crown
5 hours, 24 minutes ago -
Windows 10 23H2 Good to Update to ?
by
jkitc
2 hours, 34 minutes ago -
At last – installation of 24H2
by
Botswana12
1 day, 7 hours ago -
MS-DEFCON 4: As good as it gets
by
Susan Bradley
2 hours, 45 minutes ago -
RyTuneX optimize Windows 10/11 tool
by
Alex5723
1 day, 19 hours ago -
Can I just update from Win11 22H2 to 23H2?
by
Dave Easley
1 day, 13 hours ago -
Limited account permission error related to Windows Update
by
gtd12345
2 days, 9 hours ago -
Another test post
by
gtd12345
2 days, 9 hours ago -
Connect to someone else computer
by
wadeer
2 days, 3 hours ago -
Limit on User names?
by
CWBillow
2 days, 7 hours ago -
Choose the right apps for traveling
by
Peter Deegan
1 day, 20 hours ago -
BitLocker rears its head
by
Susan Bradley
1 day, 4 hours ago -
Who are you? (2025 edition)
by
Will Fastie
1 day, 3 hours ago -
AskWoody at the computer museum, round two
by
Will Fastie
1 day, 23 hours ago -
A smarter, simpler Firefox address bar
by
Alex5723
2 days, 19 hours ago -
Woody
by
Scott
3 days, 5 hours ago -
24H2 has suppressed my favoured spider
by
Davidhs
1 day, 4 hours ago -
GeForce RTX 5060 in certain motherboards could experience blank screens
by
Alex5723
3 days, 19 hours ago -
MS Office 365 Home on MAC
by
MickIver
3 days, 13 hours ago -
Google’s Veo3 video generator. Before you ask: yes, everything is AI here
by
Alex5723
4 days, 9 hours ago -
Flash Drive Eject Error for Still In Use
by
J9438
1 day, 4 hours ago -
Windows 11 Insider Preview build 27863 released to Canary
by
joep517
5 days, 4 hours ago -
Windows 11 Insider Preview build 26120.4161 (24H2) released to BETA
by
joep517
5 days, 4 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.