How to know what Windows 7 is doing before shutdown/reboot?

I have a core i3 notebook running Windows 7 32-bit, and sometimes it takes a long time to shutdown or reboot. I have disabled Windows Update, and have not installed any new software or drivers. So, there is no reason to take about 5 minutes to shutdown or reboot.

How can I determine what it is doing? BTW, I see the blinking light for hard disk activity during these time.

Here is Solutions:

We have many solutions to this problem, But we recommend you to use the first solution because it is tested & true solution that will 100% work for you.

Solution 1

Actually, this can be enabled through Group Policy.

If you’re running a Professional edition of Windows, the setting is found in the Group Policy Editor: Type gpedit.msc in the Start menu search box (or Cortana) and hit Enter, then go to Computer Configuration → Administrative Templates → System and is called Verbose vs normal status messages for Windows 7 and earlier and Display highly detailed status messages for Windows 8 and later. Enable the setting to show verbose information while shutting down or starting up.

If you’re running a Home version of Windows, open Registry Editor, navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion‌​\Policies\System, and set the key verbosestatus to 1, creating it as a DWORD value if it does not exist.

(Credit for the specifics of this process goes to The Windows Club.)

Solution 2

Install the Windows Performance Toolkit, part of Windows 10 SDK (Build 15086, last version that works on Windows 7).

Run WPRUI.exe, select First Level, under Resource select CPU usage, DiskIO, FileIO and under Performance Scenario select Shutdown. Number of iteration can be set to 1

enter image description here

and click to start.

After reboot, open the ETL with WPA.exe. In WPA.exe, click on Profiles->Apply->”Browse Catalog” and select FullBoot.Shutdown.wpaprofile.

Now you see this overview how long shutdown takes:

enter image description here

In this sample it takes 8s to shutdown. 2s are needed to close the user session (were 1.2s were spend to kill onedrive.exe) and shutting down the windows kernel/services takes 5s.

Look at your data to see where Windows spends most of the time. If you see disk activity during shutdown, analyze the ETL for DiskIO and FileIO.

Note: Use and implement solution 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply