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
![]() |
Patch reliability is unclear, but widespread attacks make patching prudent. Go ahead and patch, but watch out for potential problems. |
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, 10 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
-
MS-DEFCON 3: Businesses must tread carefully
by
Susan Bradley
3 hours, 47 minutes ago -
McLaren Health Care says data breach impacts 743,000 patients
by
Nibbled To Death By Ducks
4 hours, 20 minutes ago -
WhatsApp banned on House staffers’ devices
by
Alex5723
5 hours, 35 minutes ago -
Is your device eligible?
by
Susan Bradley
7 hours, 19 minutes ago -
Windows 11 Insider Preview build 26200.5661 released to DEV
by
joep517
13 hours, 30 minutes ago -
Windows 11 Insider Preview build 26120.4452 (24H2) released to BETA
by
joep517
13 hours, 32 minutes ago -
Hello Windows…My Problem is Windows Hello…
by
rdleib
14 hours, 47 minutes ago -
New Canon Printer Wants Data Sent
by
Win7and10
15 hours, 5 minutes ago -
I set up passkeys for my Microsoft account
by
Lance Whitney
4 hours, 35 minutes ago -
AI is for everyone
by
Peter Deegan
14 hours, 38 minutes ago -
Terabyte update 2025
by
Will Fastie
8 hours, 41 minutes ago -
Migrating from Windows 10 to Windows 11
by
Susan Bradley
4 hours, 14 minutes ago -
Lost sound after the upgrade to 24H2?
by
Susan Bradley
1 day, 13 hours ago -
How to move 10GB of data in C:\ProgramData\Package Cache ?
by
Alex5723
3 hours, 43 minutes ago -
Plugged in 24-7
by
CWBillow
23 hours, 49 minutes ago -
Netflix, Apple, BofA websites hijacked with fake help-desk numbers
by
Nibbled To Death By Ducks
2 days, 3 hours ago -
Have Copilot there but not taking over the screen in Word
by
CWBillow
2 days ago -
Windows 11 blocks Chrome 137.0.7151.68, 137.0.7151.69
by
Alex5723
3 days, 18 hours ago -
Are Macs immune?
by
Susan Bradley
9 hours, 40 minutes ago -
HP Envy and the Function keys
by
CWBillow
3 days, 1 hour ago -
Microsoft : Removal of unwanted drivers from Windows Update
by
Alex5723
19 hours, 10 minutes ago -
MacOS 26 beta 1 dropped support for Firewire 400/800
by
Alex5723
4 days, 5 hours ago -
Unable to update to version 22h2
by
04om
1 day, 13 hours ago -
Windows 11 Insider Preview Build 26100.4482 (24H2) released to Release Preview
by
joep517
4 days, 13 hours ago -
Windows 11 Insider Preview build 27881 released to Canary
by
joep517
4 days, 13 hours ago -
Very Quarrelsome Taskbar!
by
CWBillow
3 days, 23 hours ago -
Move OneNote Notebook OFF OneDrive and make it local
by
CWBillow
5 days, 2 hours ago -
Microsoft 365 to block file access via legacy auth protocols by default
by
Alex5723
4 days, 14 hours ago -
Is your battery draining?
by
Susan Bradley
20 hours, 48 minutes ago -
The 16-billion-record data breach that no one’s ever heard of
by
Alex5723
1 day, 14 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.