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
-
Office gets current release
by
Susan Bradley
2 hours, 41 minutes ago -
FBI: Still Using One of These Old Routers? It’s Vulnerable to Hackers
by
Alex5723
14 hours, 56 minutes ago -
Windows AI Local Only no NPU required!
by
RetiredGeek
2 hours, 56 minutes ago -
Stop the OneDrive defaults
by
CWBillow
15 hours, 45 minutes ago -
Windows 11 Insider Preview build 27868 released to Canary
by
joep517
1 day, 1 hour ago -
X Suspends Encrypted DMs
by
Alex5723
1 day, 3 hours ago -
WSJ : My Robot and Me AI generated movie
by
Alex5723
1 day, 4 hours ago -
Botnet hacks 9,000+ ASUS routers to add persistent SSH backdoor
by
Alex5723
1 day, 4 hours ago -
OpenAI model sabotages shutdown code
by
Cybertooth
1 day, 5 hours ago -
Backup and access old e-mails after company e-mail address is terminated
by
M W Leijendekker
17 hours, 34 minutes ago -
Enabling Secureboot
by
ITguy
1 day ago -
Windows hosting exposes additional bugs
by
Susan Bradley
1 day, 13 hours ago -
No more rounded corners??
by
CWBillow
1 day, 9 hours ago -
Android 15 and IPV6
by
Win7and10
22 hours, 53 minutes ago -
KB5058405 might fail to install with recovery error 0xc0000098 in ACPI.sys
by
Susan Bradley
2 days, 1 hour ago -
T-Mobile’s T-Life App has a “Screen Recording Tool” Turned on
by
Alex5723
2 days, 4 hours ago -
Windows 11 Insider Preview Build 26100.4202 (24H2) released to Release Preview
by
joep517
1 day, 22 hours ago -
Windows Update orchestration platform to update all software
by
Alex5723
2 days, 11 hours ago -
May preview updates
by
Susan Bradley
1 day, 23 hours ago -
Microsoft releases KB5061977 Windows 11 24H2, Server 2025 emergency out of band
by
Alex5723
1 day, 14 hours ago -
Just got this pop-up page while browsing
by
Alex5723
2 days, 3 hours ago -
KB5058379 / KB 5061768 Failures
by
crown
2 days ago -
Windows 10 23H2 Good to Update to ?
by
jkitc
1 day, 3 hours ago -
At last – installation of 24H2
by
Botswana12
3 days, 3 hours ago -
MS-DEFCON 4: As good as it gets
by
Susan Bradley
56 minutes ago -
RyTuneX optimize Windows 10/11 tool
by
Alex5723
3 days, 15 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
4 days, 4 hours ago -
Another test post
by
gtd12345
4 days, 5 hours ago -
Connect to someone else computer
by
wadeer
6 hours, 16 minutes 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.