Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Shutdown is taking forever.

15 Oct 2010   #1
dare978devil

Windows 7 Ultimate x64
 
 
Shutdown is taking forever.

Hello,

I have a fairly recent Win7 Ultimate x64 installation on an SSD. After first install, boot and shutdown were incredibly fast. I have added relatively few programs (there are currently only 2 items which appear in the Startup tab when I use msconfig. Intellitype and the Bell Security bundle provided by my ISP).

Even after I had installed those two items, shutdown remained speedy. But now the screen will very quickly go blue with the Shutting Down.... message, and remain like that for 4-5 mins. I had a look in Event Viewer's Shutdown Performance monitor, and it is filled with RED X's. It has regularly started reporting over 200K ms for shutdown times (3 mins 20 secs or more).

The most common item listed as an Error is "RadialpointIDSAgent" which is related to my ISP's security bundle, but the amount of time is only 34 seconds out of 205. It does note that there is a 29 sec degradation which implies it was used to shutting that service down in only 5 seconds.

I found a post about clearing the virtual memory on shutdown. I checked via my Local Group Policy Editor and "Shutdown: Clear Virtual Memory Pagefile" was already set to Disabled.

I also found a REG file on this site entitled "Speed up Win7 .reg" which set the following reg settings :

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoLowDiskSpaceChecks"=dword:00000001
"LinkResolveIgnoreLinkInfo"=dword:00000001
"NoResolveSearch"=dword:00000001
"NoResolveTrack"=dword:00000001
"NoInternetOpenWith"=dword:00000001

[HKEY_CURRENT_USER\Control Panel\Desktop]
"AutoEndTasks"="1"
"HungAppTimeout"="1000"
"MenuShowDelay"="0"
"WaitToKillAppTimeout"="2000"
"LowLevelHooksTimeout"="1000"

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Control]
"WaitToKillServiceTimeout"="1000"

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control]
"WaitToKillServiceTimeout"="1000"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control]
"WaitToKillServiceTimeout"="1000"

[HKEY_USERS\S-1-5-19\Control Panel\Desktop]
"AutoEndTasks"="1"
"HungAppTimeout"="1000"
"MenuShowDelay"="0"
"WaitToKillAppTimeout"="2000"

[HKEY_USERS\S-1-5-20\Control Panel\Desktop]
"AutoEndTasks"="1"
"HungAppTimeout"="1000"
"MenuShowDelay"="0"
"WaitToKillAppTimeout"="2000"

I am still taking over 200 seconds to shutdown. Any idea how I can improve the shutdown speeds?

Win7 Ultimate x64
Intel 80 GB SSD X-25M
4 GB OCZ PC6400 RAM

Thanks!
DD.


My System SpecsSystem Spec
.
15 Oct 2010   #2
Jacee
Microsoft MVP

Windows 7 Ultimate 32bit SP1
 
 

RadialpointIDSAgent is related to AVG. Download MSE http://www.microsoft.com/security_essentials/ , disable your ISP's bundled anti-malware package, install and update MSE and see if shut down is faster.
My System SpecsSystem Spec
15 Oct 2010   #3
Bill2

Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
 
 

Radialpoint may be the most common but obviously its not the biggest culprit because it is only responsible for a small part of the shutdown delay. What about the other apps/services shown in the shutdown performance monitor?
My System SpecsSystem Spec
.

15 Oct 2010   #4
whs
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

Here is a way to manipulate the shutdown time. Maybe that helps: Make Windows Vista Shut Down Services Quicker - How-To Geek
My System SpecsSystem Spec
15 Oct 2010   #5
dare978devil

Windows 7 Ultimate x64
 
 
Thanks for the replies....

whs - That value (WaitToKillServiceTimeout) is set via the reg file I ran. It is currently at 1000.

Bill2 - I agree with you about AVS, and that's what is so annoying. I occasionally get other apps like WSearch, but none of them ever have substantial shutdown times associated with them. All of the time is spent in ShutdownKernelTime :


EventData

ShutdownTsVersion 1

ShutdownStartTime 2010-10-15T16:51:50.113575700Z

ShutdownEndTime 2010-10-15T16:55:15.831600000Z

ShutdownTime 205718

ShutdownUserSessionTime 4846

ShutdownUserPolicyTime 15

ShutdownUserProfilesTime 183

ShutdownSystemSessionsTime 6098

ShutdownPreShutdownNotificationsTime 888

ShutdownServicesTime 5000

ShutdownKernelTime 194772

ShutdownRootCauseStepImprovementBits 0

ShutdownRootCauseGradualImprovementBits 0

ShutdownRootCauseStepDegradationBits 0

ShutdownRootCauseGradualDegradationBits 0

ShutdownIsDegradation false

ShutdownTimeChange 0

As you can see from this latest shutdown, 194 of 205 seconds was spent just trying to shut down the kernel. That shutdown only had one other event associated with it, letting me know that wSearch took 3.7 seconds to shutdown instead of only .7 seconds. The PC had been running only 12 mins when I tested that particular shutdown.

DD.
My System SpecsSystem Spec
15 Oct 2010   #6
Bill2

Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
 
 

It could be a driver issue. Boot into safe mode, then check shutdown times. If it is substantially faster you need to run through a clean boot procedure to identify the problem driver.

How to Troubleshoot a Problem by Performing a Clean Startup in Windows 7 or Vista

Before doing that you can also try the shorter route of tinkering with video and audio drivers.
My System SpecsSystem Spec
16 Oct 2010   #7
dare978devil

Windows 7 Ultimate x64
 
 

Hi,

Thanks for the reply. I tried that, set the boot tab in msconfig to safe mode -minimal. Rebooted, and gave the computer a good 5 mins to sit there after coming up in safe mode. Then I clicked Shutdown, and it did the same thing. Sat there for about 3 mins with Shutting Down... on the screen.

I have a very minimal startup config even without going into safe mode. Bell Internet Service Advisor (from my ISP) and Microsoft Intellitype Pro. That's it.

Thanks,
DD.
My System SpecsSystem Spec
16 Oct 2010   #8
whs
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

Have a look at Method 4 in this link. Maybe that is your problem.
My System SpecsSystem Spec
16 Oct 2010   #9
Fayla

Windows 7 Professional 64 Bit SP1
 
 

When I had a problem like that under XP (awhile ago) I installed a patch called Hive profile ...something. It solved the problem of slow shutdowns. But I don't think that works on Windows 7.

In either case I think the patch addressed slow unloading of the registry / hive profile-- whatever the hive profile is.
My System SpecsSystem Spec
16 Oct 2010   #10
dare978devil

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by whs View Post
Have a look at Method 4 in this link. Maybe that is your problem.
Thanks, tried that. "Shutdown: Clear virtual memory pagefile" was already set to disabled.

Also, reinstalled Network drivers from Nvidia just for fun, no change.

Ho hum, still taking 3 mins 25 secs to shut down.

I cleared the Event logs just to see if it would record more information. It seemed that not every shutdown was logged because some were taking a very long time but perhaps they weren't logged as degradations because they were about the same as other bad shutdowns. At any rate, a new culprit showed up in the latest logs :

This service caused a delay in the system shutdown process:
File Name : Winmgmt
Friendly Name : WMI
Version : 6.1.7600.16385 (win7_rtm.090713-1255)
Total Time : 53852ms
Degradation Time : 38856ms
Incident Time (UTC) : ‎2010‎-‎10‎-‎16T23:44:23.758792500Z

Total shutdown time was recorded as 205 seconds, so at least this time, Winmgmt was responsible for about 25% of that time.

Thanks,
DD.
My System SpecsSystem Spec
Reply

 Shutdown is taking forever.




Thread Tools




Similar help and support threads
Thread Forum
CHKDSK taking forever on 60 GB HDD.
i'm checking for errors on my secondary HDD and it's been stuck around the same spot for like forever (it's like 3 hrs into the error checking). B4 checking for errors, I already know that the HDD has a SMART event. If CHKDSK is taking forever, does it also mean that my HDD is gonna fail? EDIT:...
Software
PC is taking forever to shut down and log off
The last few days my PC has been taking a very long time to shut down and log off. And now it wont shut down at all. I ran Malwarebytes and avast in safe mode and everything seems fine. Any advice would be greatly appreciated.
General Discussion
Shutdown / Restart is taking forever!
Need to figure out why shutting down or restarting my PC is taking FIVE MINUTES or longer, or when the moment I start unplugging USB devices, now it shuts down right as I told it. Is there a diagnostic in Windows to figure out what's holding up the shutdown process?
Performance & Maintenance
Restore taking forever
I just got a new laptop and after doing all the Windows and drivers updates, an annoying problem started. It wasn't anything serious, but I wanted to get rid of it. After failing to diagnose the problem I decided to use System Restore. I'm at the screen that reads "Please wait while your Windows...
Backup and Restore
Applications taking FOREVER to install.
So here's the deal you guys, I just downgraded to an ASUS M3A78-EM motherboard (sold my ASUS M4A89GTD PRO/USB3 today, in preparation of Sandy Bridge), but after a clean install of windows, some things are taking WAY too long to install. For example, when installing PC Tools Firewall Plus, setup...
Performance & Maintenance
Windows Update Taking Forever
Hello. I recently upgraded from XP to Win7 Pro 64 and did the typical updates after the install was complete. After the second round of updates and reboots, the updates started taking forever to complete. Forever being literally one hour for just two updates and the system is stuck on "Creating...
Windows Updates & Activation


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 02:02.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App