Windows PCs should shut down fairly quickly—unless there’s a problem causing a shutdown delay. Here’s how to make your computer shut down faster.
Ensure Windows Isn’t Clearing Your Page File at Shutdown
Windows uses a paging file, also known as a page file, as additional virtual memory. Windows has a hidden option—disabled by default—to clear the paging file at shutdown. This erases everything in the page file, ensuring no sensitive data is stored where someone could access it by removing the computer’s hard drive and examining the paging file.
Your computer may take several minutes to shut down while Windows erases the page file, if this option is enabled. How long it takes depends how large the page file is and how fast your hard drive is. However, you don’t need this option if your hard drive is encrypted (which you should do if you haven’t already). The encryption will prevent an attacker from examining your page file while the computer is shut down.
If your computer is managed by an IT department, they may have enabled this option for a reason. In that case, there’s not much you can do besides shrinking the size of the page file.
Standard warning: Registry Editor is a powerful tool and misusing it can render your system unstable or even inoperable. This is a pretty simple hack and as long as you stick to the instructions, you shouldn’t have any problems. That said, if you’ve never worked with it before, consider reading about how to use the Registry Editor before you get started. And definitely back up the Registry (and your computer!) before making changes.
You can check if your computer is clearing its page file at shut down by examining the Windows registry. Press Windows+R, type “regedit” into the Run dialog, and press Enter to open it.
Navigate to the following key in the Registry Editor window:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
Look in the right pane for the “ClearPageFileAtShutdown” setting. If the data is set to “0x00000000 (0)”, Windows is not clearing the page file at shut down. If it’s set to “0x00000001 (1)”, Windows is clearing the page file at shutdown.
If you don’t see any “ClearPageFileAtShutdown” setting here, that’s fine—Windows isn’t clearing the page file at shutdown.
If it’s set to “1”, you can prevent Windows from clearing the page file at shutdown by double-clicking the “ClearPageFileAtShudown” setting and setting it to “0”. Your shutdown process should become much faster.
Locate Services Causing Shutdown Delays
Rather than guess if a service running in the background on your computer is slowing your shutdown process, you can actually check which ones are guilty.
To do this, you’ll need to use the Event Viewer. Either right-click the Start button on Windows 10 or 8 and select “Event Viewer” or press Windows+R, type “eventvwr” into the Run dialog, and press Enter.
Navigate to the following section in the Event Viewer:
Applications And Services Logs\Microsoft\Windows\Diagnostics-Performance\Operational
Right-click the “Operational” log and select “Filter Current Log”.
Type “203” into the “Event IDs” field and click “OK”. This will filter the log to show only shutdown events.
Look through the list, which will now only show events that read “This service caused a delay in the system shutdown process”. You’ll see the name of the service slowing things down in the General box. Look next to “File Name” and “Friendly Name”.
The information you see here will point you at any services taking a long time to shut down. For example, VPN software might take a long time to shut down and may be causing a long delay. If you have the software installed but don’t actively use it, you can uninstall it. Search the web for the name of any software you see here to see what it is and whether you can uninstall it. Some services here are system software you can’t do anything about, however.
Check Your WaitToKillServiceTimeout Value
Windows doesn’t shut down immediately when you click “Shut Down”. Instead, it sends a “the system is shutting down” signal to any open applications and background services. Windows waits for a period of time to allow these services to finish up and save their data before it closes them and shuts down the computer.
By default, Windows waits five seconds after you click “Shut Down” before it closes any background services and shuts down the computer. However, if all background services shut down successfully before the five second timer expires, the computer will shut down immediately.
There are a few different values that manage how long your computer waits, and we discussed them in this guide. But there’s one in particular you may want to check if your computer is taking a while to shut down: the “WaitToKillServiceTimeout” value. Some applications increase the value to more than 5 seconds when you install them, as they might want extra time to clean things up at shut down. If this value has been changed, your computer will take longer to shut down than normal.
Open a registry editor window by pressing Windows+R, typing “regedit”, and pressing Enter. Navigate to the following key:
Look in the right pane for the “WaitToKillServiceTimeout” and read the value in the Data column. The value is displayed in milliseconds. For example, if WaitToKillServiceTimeout is set to 5000, Windows will wait 5 seconds. If the value is set to 20000, Windows will wait 20 seconds.
We don’t recommend setting this value to less than 5000. Some services may not be able to shut down properly if you don’t give them enough time.
However, if an application has increased the value to a larger number, you might want to set it back to “5000”. Just double-click “WaitToKillServiceTimeout” and enter a value of “5000”.
There isn’t a ton you can do to make your computer shut down faster, but hopefully with these tricks in hand, you can ensure it’s shutting down as fast as possible.
- › PC Power Consumption Is Getting Out of Control
- › How to Make Branded Email Templates With Layouts in Gmail
- › You Can Now Customize Windows 11’s Look With WindowBlinds
- › How to Freeze Multiple Rows in Microsoft Excel
- › How to Back Up Your BitLocker Recovery Key on Windows 11
- › Amazon’s Fire TV Sticks Are at Their Lowest Prices Yet