Recommended Posts

I'm running 7 on my Dell Mini which has been upgraded to 2GB RAM and shut down is taking anywhere between 30-40 seconds. Checking the Event Viewer shows a lot of Event ID 200 entries, but very little information in them to allow me pinpoint exactly what is causing the issue. Any ideas on what I can do to improve it?

Edit: Here's one of the entries from Event Viewer.

Log Name:	  Microsoft-Windows-Diagnostics-Performance/Operational
Source:		Microsoft-Windows-Diagnostics-Performance
Date:		  24/09/2009 17:47:40
Event ID:	  200
Task Category: Shutdown Performance Monitoring
Level:		 Warning
Keywords:	  Event Log
User:		  LOCAL SERVICE
Computer:	  
Description:
Windows has shutdown: 
	 Shutdown Duration	:	30163ms
	 IsDegradation		:	false
	 Incident Time (UTC)	:	‎2009‎-‎09‎-‎24T16:45:00.753114500Z
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
	<Provider Name="Microsoft-Windows-Diagnostics-Performance" Guid="{CFC18EC0-96B1-4EBA-961B-622CAEE05B0A}" />
	<EventID>200</EventID>
	<Version>1</Version>
	<Level>3</Level>
	<Task>4007</Task>
	<Opcode>40</Opcode>
	<Keywords>0x8000000000010000</Keywords>
	<TimeCreated SystemTime="2009-09-24T16:47:40.799802500Z" />
	<EventRecordID>267</EventRecordID>
	<Correlation ActivityID="{00000000-9B28-0000-5EE9-7076363DCA01}" />
	<Execution ProcessID="1372" ThreadID="1384" />
	<Channel>Microsoft-Windows-Diagnostics-Performance/Operational</Channel>
	<Computer>Si-Mob</Computer>
	<Security UserID="S-1-5-19" />
  </System>
  <EventData>
	<Data Name="ShutdownTsVersion">1</Data>
	<Data Name="ShutdownStartTime">2009-09-24T16:45:00.753114500Z</Data>
	<Data Name="ShutdownEndTime">2009-09-24T16:45:30.916591800Z</Data>
	<Data Name="ShutdownTime">30163</Data>
	<Data Name="ShutdownUserSessionTime">3347</Data>
	<Data Name="ShutdownUserPolicyTime">1</Data>
	<Data Name="ShutdownUserProfilesTime">6</Data>
	<Data Name="ShutdownSystemSessionsTime">13625</Data>
	<Data Name="ShutdownPreShutdownNotificationsTime">7932</Data>
	<Data Name="ShutdownServicesTime">4996</Data>
	<Data Name="ShutdownKernelTime">13190</Data>
	<Data Name="ShutdownRootCauseStepImprovementBits">0</Data>
	<Data Name="ShutdownRootCauseGradualImprovementBits">0</Data>
	<Data Name="ShutdownRootCauseStepDegradationBits">0</Data>
	<Data Name="ShutdownRootCauseGradualDegradationBits">0</Data>
	<Data Name="ShutdownIsDegradation">false</Data>
	<Data Name="ShutdownTimeChange">0</Data>
  </EventData>
</Event>
 
Link to comment
https://www.neowin.net/forum/topic/826858-slow-shutdown/
Share on other sites

those both values are too high:

<Data Name="ShutdownPreShutdownNotificationsTime">7932</Data>

it takes 8 seconds to notify the running programs, that Windows wants to shutdown

<Data Name="ShutdownKernelTime">13190</Data>

this is the time which Windows needed to shutdown the rest (devices, drivers and windows itself)

Link to comment
https://www.neowin.net/forum/topic/826858-slow-shutdown/#findComment-591620682
Share on other sites

follow this guide:

http://www.msfn.org/board/index.php?showtopic=117154

to trace the shutdown process. Open the resulting etl file and look if you can see which applications need a long time to close correctly and if you can see why the kernel shutdown takes some time.

But you have to use the WPT 4.6 from the Windows 7 SDK. The version 4.1.1 from the linked page doesn't work on Windows 7.

Link to comment
https://www.neowin.net/forum/topic/826858-slow-shutdown/#findComment-591622696
Share on other sites

  • 1 month later...

i hadn't gotten a slow shutdown in a while but few mins ago i just did again... i actually have a bunch of warnings and errors in my event viewer as well... i dont know why. everytime i click "event log online help" i get "no results" on the microsoft site.

this is my results from the slow shutdown if anyone can help me... D;

Windows has started up: 
	 Boot Duration		:	63359ms
	 IsDegradation		:	false
	 Incident Time (UTC)	:	‎2009‎-‎11‎-‎07T10:18:41.718750000Z

+ System 

  - Provider 

   [ Name]  Microsoft-Windows-Diagnostics-Performance 
   [ Guid]  {CFC18EC0-96B1-4EBA-961B-622CAEE05B0A} 

   EventID 100 

   Version 2 

   Level 2 

   Task 4002 

   Opcode 34 

   Keywords 0x8000000000010000 

  - TimeCreated 

   [ SystemTime]  2009-11-07T10:20:47.208984300Z 

   EventRecordID 129 

  - Correlation 

   [ ActivityID]  {00000100-0000-0000-B282-FAAD935FCA01} 

  - Execution 

   [ ProcessID]  1244 
   [ ThreadID]  3844 

   Channel Microsoft-Windows-Diagnostics-Performance/Operational 

   Computer Alex-PC 

  - Security 

   [ UserID]  S-1-5-19 


- EventData 

  BootTsVersion 2 
  BootStartTime 2009-11-07T10:18:41.718750000Z 
  BootEndTime 2009-11-07T10:20:45.818359300Z 
  SystemBootInstance 36 
  UserBootInstance 35 
  BootTime 63359 
  MainPathBootTime 27359 
  BootKernelInitTime 27 
  BootDriverInitTime 1550 
  BootDevicesInitTime 4089 
  BootPrefetchInitTime 57013 
  BootPrefetchBytes 368201728 
  BootAutoChkTime 0 
  BootSmssInitTime 5858 
  BootCriticalServicesInitTime 1064 
  BootUserProfileProcessingTime 1654 
  BootMachineProfileProcessingTime 534 
  BootExplorerInitTime 9575 
  BootNumStartupApps 7 
  BootPostBootTime 36000 
  BootIsRebootAfterInstall false 
  BootRootCauseStepImprovementBits 0 
  BootRootCauseGradualImprovementBits 0 
  BootRootCauseStepDegradationBits 0 
  BootRootCauseGradualDegradationBits 0 
  BootIsDegradation false 
  BootIsStepDegradation false 
  BootIsGradualDegradation false 
  BootImprovementDelta 0 
  BootDegradationDelta 0 
  BootIsRootCauseIdentified false 
  OSLoaderDuration 2085 
  BootPNPInitStartTimeMS 27 
  BootPNPInitDuration 5319 
  OtherKernelInitDuration 3335 
  SystemPNPInitStartTimeMS 8645 
  SystemPNPInitDuration 320 
  SessionInitStartTimeMS 8975 
  Session0InitDuration 1330 
  Session1InitDuration 310 
  SessionInitOtherDuration 4216 
  WinLogonStartTimeMS 14833 
  OtherLogonInitActivityDuration 761 
  UserLogonWaitDuration 572

Link to comment
https://www.neowin.net/forum/topic/826858-slow-shutdown/#findComment-591815564
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • It is when it's a desktop in my house though for a PC that's lightly used and not really important when it is. If it was a laptop, it would be a different story. The real solution is varied and begins starting at post #22 in that thread.
    • Win11Debloat 2026.06.14 by Razvan Serea Win11Debloat is a lightweight, easy to use PowerShell script that allows you to quickly declutter and customize your Windows experience. It can remove pre-installed bloatware apps, disable telemetry, remove intrusive interface elements and much more. The script also includes many features that system administrators and power users will enjoy. Such as a powerful command-line interface, support for Windows Audit mode and the option to make changes to other Windows users. All changes made by Win11Debloat can be easily reversed, and most removed apps can be restored via the Microsoft Store. A full guide on how to undo the changes is available here. Win11Debloat features: Below is an overview of the key features and functionality offered by Win11Debloat. Please refer to the wiki for more information about the default settings preset. Remove a wide variety of preinstalled apps. Click here for more info. Disable telemetry, diagnostic data, activity history, app-launch tracking & targeted ads. Disable tips, tricks, suggestions & ads across Windows. Disable Windows location services & app location access. Disable Find My Device location tracking. Disable 'Windows Spotlight' and tips & tricks on the lock screen. Disable 'Windows Spotlight' desktop background option. Disable ads, suggestions and the MSN news feed in Microsoft Edge. Hide Microsoft 365 ads on the Settings 'Home' page, or hide the 'Home' page entirely. Disable & remove Microsoft Copilot. Disable Windows Recall. Disable Click to Do, AI text & image analysis tool. Prevent AI service (WSAIFabricSvc) from starting automatically. Disable AI Features in Edge. Disable AI Features in Paint. Disable AI Features in Notepad. Disable the Drag Tray for sharing & moving files. Restore the old Windows 10 style context menu. Turn off Enhance Pointer Precision, also known as mouse acceleration. Disable the Sticky Keys keyboard shortcut. Disable Storage Sense automatic disk cleanup. Disable fast start-up to ensure a full shutdown. ...and more. Once you’ve downloaded the Win11Debloat file (Get.ps1), just follow these quick steps: Locate the Get.ps1 script file. Right-click the file and select Run with PowerShell from the context menu. If prompted by User Account Control (UAC), select Yes to grant the script the necessary administrative permissions. Win11Debloat 2026.06.14 changes: This is a minor release that hopefully addresses the false positives in Windows Defender and Bitdefender that prevented users from downloading and/or running Win11Debloat. Refactor Get-RegFileOperations.ps1 to address false positives by @Raphire in #626 Add logging around WinGet app retrieval and increase timeout to 20s by @Raphire Download: Win11Debloat 2026.06.14 | Open Source View: Win11Debloat Home Page | Screenshots 1| 2 Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Still using Microsoft Money 2005 in 2026 here!
    • I have a couple to mention, and they still run great on Windows 11 Adobe Lightroom Version 2 Alcohol 120% CLZ Book, Comic, Game, Movie, & Music Collector (PC - No longer sold / Grandfathered in - now mobile apps/online only) DVDDecrypter ISO Buster Pro version 1.9.1 (Still supports HD-DVD too) Nero Burning Rom 8 (Only the burning software, no backup, media converter, etc)   OpenAL (Runtime) - GuildWars 1 Reforged still uses it for 3d headphone audio PowerDVD 12 Ultra SPTD (SCSI Pass through Direct Driver) UltraISO Windows Media Encoder 9 WinImage You can tell I still sport an optical drive    
  • Recent Achievements

    • Week One Done
      Jeroen Wilms earned a badge
      Week One Done
    • Week One Done
      rolfus earned a badge
      Week One Done
    • One Month Later
      Leroy Jethro Gibbs earned a badge
      One Month Later
    • Conversation Starter
      flexorcist earned a badge
      Conversation Starter
    • One Month Later
      AndreaB earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      508
    2. 2
      +Edouard
      197
    3. 3
      PsYcHoKiLLa
      139
    4. 4
      ATLien_0
      90
    5. 5
      Steven P.
      81
  • Tell a friend

    Love Neowin? Tell a friend!