- Slow shutdown is usually caused by services and apps in background, Quick start and connected peripherals/controls.
- Detailed status messages and Event Viewer (6005, 6006, 4627/4267) help to locate the bottleneck.
- Effective fixes: unplug devices, complete shutdown, disable Fast Startup, clean boot, SFC/DISM, and check power.
- Known issue: After KB5034765, SENS/Explorer may be delayed shutting down for a few minutes; uninstalling the KB temporarily prevents the issue.
When Windows 11 It takes forever to turn off, the feeling is desperate: the screen stays on “Turning off” with the circle spinning and it seems like it will never end. It's not just impatience: after you press Shut Down, the system closes services, saves data, stops sessions, and clears memory., and any of those steps can get stuck.
The good news is that these delays almost always have an explanation and, above all, a solution. From background programs or Quick Startup, to drivers, devices USB and services like SENS (System Event Notification Service), there are several common suspects. Below you'll find a full analysis of causes and tested fixes, as well as a real-life case study related to a specific cumulative update.
Symptoms and context that many users are seeing
The most common thing is that the system gets stuck on “Shutting down…” or takes a long time to “Restart…”. On some computers the block appears even when Log In, staying on “Welcome” for several minutes or more, forcing a hard shutdown if there is no response.
There are very clear reports after a cumulative update from February (KB5034765): With a controller connected, the shutdown takes about 8 minutes and is not always reproducible. (about 40% of the time). It occurs on different computers (desktop and laptop), with different software, and when you uninstall that update, the problem goes away. Disabling the SENS service also prevents the crash, but it is not recommended to leave it like this permanently..
The Event Viewer is revealing: Entries with ID 6005 and 6006 appear indicating that Winlogon is taking a long time to handle the SENS subscriber logoff notification., and COM+ system events have also been observed with failures to log off in the event class with a 180-second timeout for the subscriber whose display name is "Explorer." Events 4627/4267 are reported in some cases. The practical result is usually around 468 seconds of waiting before Explorer.exe finally terminates..
To give you a technical idea, there are “ShutdownTs” logs that show the sequence: Thousands of milliseconds in pre-shutdown notifications, services, kernel, profiles, and sessions, adding up to several minutes. And it's not something that depends on a single hardware: has been seen with Ryzen 7000 CPUs, SSD NVMe, dedicated GPUs and also in portable more modest. That is, the pattern points to the software.
Why Windows 11 can take so long to shut down
There are common causes that should be reviewed before making things difficult for yourself. Background programs, resident utilities, update clients, or tasks that are still open on the desktop may delay system and session closure.
Another key piece is the energy cycle itself. The function Quick start prepares part of the Boot when turning off; speeds up startup, but may prolong shutdown or create conflicts in certain scenarios.
External devices also have an influence. USB peripherals, external drives, printers, memory cards or even screens They can “pin” the shutdown if a driver or service does not respond in time.
Don't forget the state of the storage. Although SSDs are not defragmented like HDDs, A faulty file system or a disk with bad sectors can hinder shutdown. Windows will normally detect and repair it, but it's a good idea to check.
Finally, there are advanced settings that have an impact. Registry values such as ClearPageFileAtShutdown or WaitToKillServiceTimeout, as well as the page file, can add seconds or minutes if they are not set correctly or if an application “holds on” to virtual memory.
Quick and useful diagnosis before touching anything serious
Before making any changes, it's worth identifying which step Windows is stuck on. Enable detailed status messages from Group Policy to see on screen exactly what it is doing during shutdown.
- Open the Policy Editor (gpedit) as an administrator, go to Configuration > Administrative Templates > System and locate “Display status messages.” Check Enabled to have Windows display verbose messages on shutdown and startup..
- Replay the problematic shutdown and take note of the message that remains on the longest. If “Waiting for System Event Notification Service (SENS)” appears, you already have an important clue.
- Open Event Viewer and review the logs surrounding the shutdown. Look at COM+ events 6005, 6006 and, if applicable, 4627/4267, in addition to any notice citing “Explorer” or a non-responsive subscriber.
With this map, you can decide whether to go directly to disabling Quick Startup, disconnecting peripherals, checking services, or if you need more in-depth measures. The more concrete the clue, the faster you will find the solution..
Solutions that usually work (from least to most intervention)
Start simple and only move up a few steps if the problem persists. Order matters so as not to waste time or touch what is not necessary..
1) Disconnect external devices
Remove keyboards, mice, USB drives, printers, cards, and also external monitors if applicable. On the desktop, leave one working screen connected; the rest, out while you test.If the shutdown is normal, continue connecting one by one until you find the cause.
2) Do a full shutdown and test without Quick Start
When the desktop responds, click Start > Power, then hold down the Shift key and click Shut down. This forces a full (non-hybrid) shutdown and helps clear states that Fast Startup retains..
Next, temporarily disable Fast Startup: Open Control Panel > Power Options > Choose what the power buttons do > Change unavailable settings and uncheck “Turn on fast startup.” Check if the shutdown returns to normal times.
3) Clean startup and background running
Open the Task Manager (Ctrl+Shift+Esc), go to the Home tab and disable everything that is not essential. Fewer programs starting with Windows, fewer processes to close later.
In the Processes tab, before shutting down, manually close heavy or sensitive apps (browsers with many tabs, editors, games, etc.). If manual closing reduces There off, you know where this is going.
4) Run SFC and DISM to repair the system
Opens Symbol of the system as administrator and launch this sequence, one by one, waiting for each process to finish before continuing. These tools repair system files and the Windows image, typical causes of strange behavior.
sfc /scannow
DISM.exe /Online /Cleanup-Image /ScanHealth
DISM.exe /Online /Cleanup-Image /CheckHealth
DISM.exe /Online /Cleanup-Image /RestoreHealth
DISM.exe /Online /Cleanup-Image /StartComponentCleanup
As an additional measure, some people use Microsoft Safety Scanner to rule out malicious software. If you're going to do it, back up your personal files first..
5) Optimize energy and perform maintenance
Open Settings > System > About to check requirements, then go to Performance & battery > More power settings, and choose the High performance plan if available. On some computers this plan prevents state changes that hinder shutdown..
From Control Panel > System and Security > Security and Maintenance > Maintenance, click “Start maintenance now.” This task repairs and adjusts services that influence shutdowns and startups..
6) Update chipset, drivers and Windows
Download the drivers of the chipset from your motherboard or laptop manufacturer's website and apply all current Windows updates. An outdated driver (USB, Bluetooth, graphics) or a pending patch can be the bottleneck.
7) Use the Power Troubleshooter
In Settings > Update & security > Troubleshoot > Other troubleshooters, run the “Power” troubleshooter. Windows detects and repairs inconsistent power settings that affect shutdown.
8) Check the status of the disk and file system
In Explorer, right-click the system drive > Properties > Tools > Error Checking > Check > Scan Drive. If there are errors, Windows will guide you through repairing them and preventing the problem sectors from being used again..
If you prefer to rely on a third-party tool, you can use a suite like EaseUS Partition Master to run a file system scan with an "attempt to fix errors" option and apply the changes. It is a convenient method to locate logical errors and fix them with a few clicks..
9) Advanced Registry Settings (only if the above was not enough)
Then, in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control, check WaitToKillServiceTimeout and set it to 2000 (2 seconds). This reduces the time Windows waits for slow services, but use it wisely..
10) Clean boot to isolate conflicting software
A “clean boot” starts Windows with a minimum of startup programs and services. It is used to determine if a third-party component is interfering with the shutdown.Follow the official step-by-step guide and, if everything goes well with a clean boot, restart services until you find the culprit.
The special case of blocking by SENS and Explorer after KB5034765
If you have noticed that the problem arose after the February cumulative update and, above all, if it gets worse when a controller/handset is connected, you are looking at the pattern that several users have documented: the shutdown waits several minutes for SENS to complete the logout notification to the “Explorer” subscriber.
The signs are very concrete: Winlogon events 6005/6006 reporting abnormal times, COM+ entries timed out after 180 seconds when attempting to “log off” in the corresponding event class, and Explorer.exe refusing to terminate until after 460–470 seconds. When enabling verbose messages, the screen remains at “Waiting for System Event Notification Service.” Disabling the SENS service causes the shutdown to return to its rhythm., but this service is important and it is not recommended to leave it disabled as a permanent solution.
What you can do while waiting for a stable patch: Uninstalling KB5034765 if it was the trigger will return you to normal shutdown immediately.; It also helps to disconnect any controllers before shutting down and manually closing Explorer if you notice it getting stuck (although it doesn't always respond in time). Keep the system updated and periodically check if there is a subsequent cumulative update that corrects the behavior..
When slow shutdown comes from software, processes or power
If you frequently see “Programs need to close” when shutting down, manually close and save everything before shutting down. In Task Manager, sort by memory and CPU to hunt down heavy processes and close them.A hung program can prevent a clean shutdown.
If the problem is with system processes, detailed status messages and the Event Viewer will help you. When you detect the process or service that is taking a long time, look to see if it depends on a driver, network, or USB.. Adjusting the power or reinstalling that driver may be enough.
In the energy field, run the solver mentioned above and test with balanced vs. high-performance plans. Some computers do better with less aggressive sleep or selective USB settings., so as not to get stuck when logging out.
Paging file and other nuances that influence
The paging file extends RAM using disk. If you try to clean it for safety at every shutdown or if a process uses it without releasing it, the shutdown is extended.Hence the ClearPageFileAtShutdown setting and the importance of closing demanding apps.
By the way, if your PC is taking forever and won't shut down properly recently, ask yourself what changed: Did you recently install or uninstall software? Are there any remnants left in the installation directory? Sometimes deleting the residual root directory of a game or app resolves the issue.
A practical note: if all else fails and you don't want to forma tear Still, an “in-place” repair of Windows 11 (installation over the existing one) has helped some users, although does not always fix the SENS case with the February KB. Still, it's a card worth considering before taking drastic measures.
Affected models and equipment, and scope of the problem
The behavior does not distinguish much between categories: It has been seen in laptops, desktops, All-in-One, MiniPC, motherboards, graphics cards and even branded desktop computersTo cite references that have appeared linked to shutdown incidents: Inspiron 3020 Desktop, Vostro 3020 Tower Desktop, and Vostro 3020 Small Desktop have been listed as “affected products” in support listings. The key is not so much the model, but the combination of software, driver and installed update..
Let's be clear: there are also users who have no problems after these updates. That's why a sequential diagnosis is advisable: disconnect peripherals, test complete shutdown, disable Fast Startup, check SFC/DISM and servicesIn most cases, one of these interventions returns the shutdown to normal.
If you've made it this far, you already have a plan in place: Identify the bottleneck, address the probable causes in the correct order, and consider the SENS/Explorer case if it fits your symptoms.With these steps, it's usually possible to recover a clean shutdown without getting desperate or fiddling around too much.
Passionate writer about the world of bytes and technology in general. I love sharing my knowledge through writing, and that's what I'll do on this blog, show you all the most interesting things about gadgets, software, hardware, tech trends, and more. My goal is to help you navigate the digital world in a simple and entertaining way.