Startup apps artificially delayed on Windows 11?

Anonymous
2024-02-15T07:04:15+00:00

I'm running Windows 11 23H2 with all the updates installed. I have several (5) programs added to shell:startup so they can launch automatically at boot.

I'd expect these apps to start launching maybe up to 5 seconds after seeing the desktop, but for some reason, most of the time the startup of these programs is delayed by up to 1-3 minutes. Looking at Task Manager indicates very little resource usage, so insufficient processing power is not the cause (this desktop computer is running on latest Core i7 and a very fast NVMe drive). Additionally, the same apps I have added in shell:startup I can also launch manually the very second my desktop is visible and they'll launch immediately.

This installation of Windows 11 should still be good as new. It's barely 3 months old, no strange tweaks done to it, just basic programs installed. sfc and dism checks return no problems. There are also no other issues with this computer besides that one.

Is there something that could be done to make these applications run immediately after logon with no delay?

Windows for home | Windows 11 | Performance and system failures

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Anonymous
2024-04-29T08:58:54+00:00

And here we are again. MS guys don't know anything about their product)

I found a solution:
Changing registry is dangerous, make backup and blablabla
open regedit Win+R -> regedit

goto "Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer"

Create key with name "Serialize"
Create REG_DWORD value in it with name "WaitForIdleState" (case-sensitive!) with value 0.
Optionally create REG_DWORD value in it with name "StartupDelayInMSec" (case-sensitive!), and specify value to lower startup delay. I am good with 0, but YMMV.

Hope, that helps. Cheers!

p.s.: the answer is found on another forum, not sure if i can post links to other resources here.
This situation is somehow connected with a new way of calculating startup delay. It used to be a static value in milliseconds, which worked fine. But they made it even better by making it dynamic, so windows will wait for cpu idle state and only then it will launch startup apps. i guess, this is made because modern cpus are much weaker than old ones and putting a little bit of load on them is excessive *sarcasm*

Was this answer helpful?

100+ people found this answer helpful.
0 comments No comments

18 additional answers

Sort by: Most helpful
  1. Anonymous
    2024-11-13T17:40:04+00:00

    Check this article out: https://bstar.de/2024/06/08/windows-11-autostart-apps-delays-very-long-after-boot/It should resolve your issue. Here is the content in case the link doesn't work.

    If you have the problem that after a restart, you have to wait 1 or 2 minutes before the system starts the AutoStart Apps/Programs, you may have success with this method.

    Add/modify your registry with these values

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Serialize] 
    "StartupDelayInMSec"=dword:00000000 
    "WaitForIdleState"=dword:00000000
    

    Most likely, you have to create these keys since they do not exist by default.

    „WaitForIdleState“ seems to be the reason for the issue. Somehow, the system will wait for an idle state before continuing to start the Apps. Depending on your system configuration, it can take a while until this happens 🙂

    *makes sure to back up your registry and make edits at your own risk.

    Was this answer helpful?

    4 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2024-10-16T06:25:00+00:00

    Hello everyone,

    Just to share with you my point of view on this keys.

    perhaps that help you, but the initial issue not in the OS but what you do with or what you have on.

    Performance issue mean you have some blockers on the windows client that do not means windows is not efficient.

    if you will use this key you compromise the windows client support and assistance specialy on Enterprise context, do what you do on your personnal Operating system.

    but WaitForIdleState make sens and need to be in place for many reasons.

    if you bypass this requirements you will met other issue on windows.

    you are informed

    Thank you for the information.

    As I have described in the first post, I was running on a fresh operating system with barely any programs installed on it. There should be no "blockers" caused by my own changes to the system - in fact, I have recently reinstalled Windows 11 24H2 and had the perfect opportunity to test this on a system with *zero* changes done to it yet other than installing just the programs I want to autostart, and this problem occurred again, same as before. The performance of hardware parts is not an issue - on a modern 14-core desktop CPU and a drive that reaches 4,6 GB/s sequential read + over 400 MB/s random read speeds while averaging less than 0,1 ms response time, having 5 apps launch simultaneously is far from a big ask.

    I have used this solution to make startup apps launch properly on both my work and home PCs, and I have failed to experience any problems, no bluescreens, nothing. The only minor issue I experienced is that sometimes one of my apps that's dependent on having internet access launches faster than the system can establish a network connection :) However, clicking "Retry" 5 seconds later is more favourable than waiting.

    Removing this artificial delay does not guarantee problems, which to me says one thing - it shouldn't always be in place. If there are situations where such a delay is needed, then have the system figure out when such a situation is occurring, and only then have it put the delay in place. In its current form, this delay looks to be more like a band-aid solution rather than a proper one - that is, in fact, Windows not being efficient.

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2024-06-14T09:55:14+00:00

    This solved it for me. Thank you so much. This problem was driving me crazy.

    I find it outraging that:

    1. Microsoft makes such "improvements". With this they can boast that their OS "starts up in 5 seconds!" Neglecting saying it is actually unusable for anybody needing at least one startup app (e.g., Dropbox, Onedrive, search tools, Slack, etc.), before 5 minutes have passed.
    2. The answer by the moderator/Microsoft-person is always a useless long list of obvious and/or vague checks like "do you have a virus?" or "is your system updated?".

    Sorry for the rant... :(

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2024-06-30T05:29:46+00:00

    PROBLEM SOLVED!! Great Brother !! Salute . WaitForIdleState solved the problem..
    After upgrading Windows 11 from 23H2 to 24H2 i was facing this problem.
    tried multiple approach... uninstalled AV, check system performance with 3rd party tools, disabling services, startup programs and what not.
    Thanks a ton,

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments