Share via

Intermittent Failure of Start Menu, Search Functionality, and IIS Services After Server Restart (Windows Server 2022)

Laxman singh 1 Reputation point
2026-03-25T09:06:39.3833333+00:00

On multiple Windows Server 2022 systems in our environment, critical components such as the Start Menu (Windows button), Windows Search, and IIS services intermittently fail to function after the first server restart. During this state, the Start Menu is unresponsive, search does not return results,not working and IIS services/websites are not accessible. The system appears partially unstable with multiple dependent services not working as expected. However, after performing a second restart, all components (Start Menu, Search, IIS) start functioning normally and the system returns to a stable state.

We are using a large number of Windows Server 2022 machines in our environment, and this issue is occurring frequently on random servers. Despite applying monthly patches regularly and ensuring all servers are up to date, the issue persists.Coul you please help to invistigate?

Windows for business | Windows Server | User experience | Other
0 comments No comments

4 answers

Sort by: Most helpful
  1. Tracy Le 5,295 Reputation points Independent Advisor
    2026-04-07T16:44:52.28+00:00

    Hi Laxman singh,

    Thank you for providing those additional logs. The new errors you uncovered contain the absolute smoking gun for this issue. This is a known architectural bottleneck in Windows Server 2022, particularly in virtualized environments. The Start Menu and IIS failures are not the actual problem; they are merely the final victims of a deep-system RPC and DCOM initialization collapse.

    Here is exactly what is happening in your boot sequence:

    1. During the first boot, the system's CPU and disk I/O are heavily taxed (often called a "boot storm" in VM clusters). The RPC Endpoint Mapper fails to initialize in time, throwing the "endpoint mapper database entry could not be created" error.
    2. Because the Endpoint Mapper fails, DCOM cannot register local servers, resulting in the "DCOM timeout" error.
    3. Without DCOM, the SystemEventsBroker dies. Without the events broker, the Background Tasks Infrastructure dies. Without background tasks, the Start Menu, Windows Search, and IIS completely fail to launch.

    When you restart the server a second time, the core files are already cached in RAM, allowing the RPC and DCOM services to start up fast enough to beat the hardcoded timeout clock, which is why everything magically works on reboot.

    To permanently resolve this long-term without relying on GPO wait policies, you need to implement the following two infrastructure fixes across your Server 2022 fleet:

    1. Increase the Global Service Timeout (The Primary Fix) By default, Windows Server strictly gives services only 30 seconds to start before forcefully killing them and logging a timeout error. You need to give the RPC/DCOM brokers more time to register during that heavy first boot.

    Open the Registry Editor (regedit).

    Navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control

    Right-click the Control folder, select New > DWORD (32-bit) Value, and name it ServicesPipeTimeout.

    Double-click it, set the Base to Decimal, and enter a value of 60000 (which gives the system 60 seconds) or 120000 (120 seconds).

    2. Verify the IPv6 Registry Configuration The "endpoint mapper database entry could not be created"

    Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters

    If the DisabledComponents registry value exists, ensure it is set to 0x20 (which safely prefers IPv4) and not 0xFF

    Implementing the ServicesPipeTimeout

    Tracy.

    0 comments No comments

  2. Tracy Le 5,295 Reputation points Independent Advisor
    2026-03-26T12:36:15.82+00:00

    Hi Laxman singh,

    Thank you for digging into the Event Viewer and providing those specific Event ID 7001 errors. Here is a breakdown of why this happens:

    The Background Tasks Infrastructure Service is a critical core service required to run UWP (Universal Windows Platform) and modern XAML-based applications. In Windows Server 2022, both the Start Menu (StartMenuExperienceHost.exe) and Windows Search (SearchHost.exe) are built on this modern architecture. When this infrastructure service fails to start, the Start Menu and Search simply cannot load or respond.

    This behavior strongly indicates a "race condition" or a severe resource contention issue during the initial boot sequence. On the first startup, the system is attempting to initialize hundreds of processes simultaneously. A bottleneck (such as disk I/O, CPU load, or network initialization) or a third-party filter driver is delaying these core Windows broker services just long enough for them to time out and fail. By the time you perform the second restart, the system has cached the necessary files or the timing shifts, allowing them to load normally.

    To work toward a permanent fix and prevent recurrence, I recommend implementing the following strategies:

    1. Adjust Service Recovery Options

    Since we know exactly which services are failing during the boot race, we can instruct Windows to automatically recover them.

    • Open the Services console (services.msc).
    • Locate the Background Tasks Infrastructure Service, right-click it, and select Properties.
    • Navigate to the Recovery tab.
    • Change the action for "First failure", "Second failure", and "Subsequent failures" to Restart the Service.
    • Perform this exact same recovery adjustment for the Network Connection Broker service.
    1. Investigate Third-Party Interference (EDR/AV)

    Are you running an Endpoint Detection and Response (EDR) agent or an aggressive Antivirus (e.g., CrowdStrike, SentinelOne, Trellix) on these servers? These security agents often intercept and scan processes heavily on the very first boot, which frequently causes these exact service timeouts. As a test, try temporarily disabling or delaying the startup of the security agent on one affected server to see if the first-boot issue disappears.

    1. Enable the Network Wait Policy via GPO

    Sometimes, forcing the server to process startup components sequentially rather than asynchronously can stabilize the boot process and give these dependency services enough time to start.

    In Group Policy, navigate to Computer Configuration > Administrative Templates > System > Logon.

    Enable the policy: Always wait for the network at computer startup and logon.

    Please test these adjustments on one of the frequently affected servers to see if it stabilizes the first boot, and let me know the outcome!

    Tracy


  3. Tracy Le 5,295 Reputation points Independent Advisor
    2026-03-26T07:05:22.9066667+00:00

    Hi Laxman singh,

    I would like to know if your problem has been handled according to the previous instructions. Did setting the services to Automatic (Delayed Start) or running the SFC and DISM scans help stabilize the Start Menu and IIS services during that first server restart? Please let me know if the issue persists across your Windows Server 2022 environment, or if you need any further assistance analyzing the Event Viewer logs to pinpoint the exact cause.


  4. Tracy Le 5,295 Reputation points Independent Advisor
    2026-03-25T09:52:01.4966667+00:00

    Hi Laxman singh,

    The issue you’re describing with the Start Menu, Search, and IIS failing on the first restart usually points to a problem with service initialization timing, dependency conflicts, or a stalled process during the initial boot.

    First, I recommend checking if this is a timing issue with how services are loading. You can do this by opening the Services console (services.msc) and locating both Windows Search and the World Wide Web Publishing Service (for IIS). If their startup type is set to Automatic, try changing it to Automatic (Delayed Start). Since the system stabilizes after a second restart, it’s possible that the server is experiencing resource contention or waiting on dependencies that fail to initialize quickly enough during the first boot.

    Another helpful step is to check the Windows Event Viewer to identify exactly what is hanging. Sometimes, services like AppReadiness can cause the Start Menu and taskbar to become completely unresponsive on Windows Server 2022 if they time out. If you have admin rights, you can verify under Event Viewer > Windows Logs > System and Application logs. Look for any Service Control Manager timeout errors or critical warnings that occur precisely during that first problematic startup.

    If none of these steps resolve the issue, I suggest running sfc /scannow and DISM /Online /Cleanup-Image /RestoreHealth from an elevated command prompt to repair any underlying system files that may be interfering with the Windows shell. These commands won't affect your data but can restore missing components tied to the Start Menu and Search infrastructure.

    I hope the response provided some helpful insight. If it clarified the issue for you, please consider marking it as Accept Answer so others with the same issue can find the solution.

    Tracy Le.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.