Shutdown is taking forever.

dare978devil

New member
Member
Local time
10:00 PM
Messages
35
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 Computer

OS
Windows 7 Ultimate x64

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Bruce ... somewhere in his 40's
OS
Windows 7 Ultimate 32bit SP1
CPU
Intel(R) Core(TM)2 Quad CPU @ 2.40GHz, 2400 MHz
Motherboard
INTEL/D975XBX2
Memory
4 GB
Graphics Card(s)
ATI Radeon HD 2600 Pro
Monitor(s) Displays
Samsung SyncMaster 914v
Screen Resolution
1280 x 1024
Hard Drives
2/500GB each ... ST3500630AS ATA Device.
One is not connected
PSU
Rocketfish 700 W
Case
G.Skill Gigabyte Chassis
Keyboard
Standard PS/2 Keyboard
Mouse
Microsoft PS/2 Mouse
Internet Speed
DSL
Antivirus
Avira Internet Security
Browser
IE 11
Other Info
ATI HDMI Audio
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 Computer

Computer Manufacturer/Model Number
Too many to describe...
OS
Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86

My Computer

Computer Manufacturer/Model Number
HP, Dell, Gateway, Toshiba - 4 laptops and 2 desktops
OS
Vista, Windows7, Mint Mate, Zorin, Windows 8
CPU
from 1.6GHz Duo to i7
Monitor(s) Displays
2x HP w2207
Hard Drives
5x HDD, 7x SSD, 12x Externals
Keyboard
with trackball - no mices
Mouse
Trackball mice
Internet Speed
DSL 6000
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 Computer

OS
Windows 7 Ultimate x64
Last edited by a moderator:

My Computer

Computer Manufacturer/Model Number
Too many to describe...
OS
Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
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 Computer

OS
Windows 7 Ultimate x64
Have a look at Method 4 in this link. Maybe that is your problem.
 

My Computer

Computer Manufacturer/Model Number
HP, Dell, Gateway, Toshiba - 4 laptops and 2 desktops
OS
Vista, Windows7, Mint Mate, Zorin, Windows 8
CPU
from 1.6GHz Duo to i7
Monitor(s) Displays
2x HP w2207
Hard Drives
5x HDD, 7x SSD, 12x Externals
Keyboard
with trackball - no mices
Mouse
Trackball mice
Internet Speed
DSL 6000
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 Computer

Computer Manufacturer/Model Number
HP DV6 1330sa
OS
Windows 7 Professional 64 Bit SP1
CPU
INTEL DUAL CORE 2.1Ghz
Motherboard
N/A
Memory
4GB DDR3
Graphics Card(s)
INTEL
Sound Card
LAPTOP
Monitor(s) Displays
2
Screen Resolution
3200x1080
Hard Drives
250GB
PSU
LAPTOP
Case
LAPTOP
Cooling
LAPTOP
Keyboard
SOLID YEAR 260U
Mouse
USB
Internet Speed
20 MB/S
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 Computer

OS
Windows 7 Ultimate x64
Thanks. SFC returned no integrity violations.

DD.
 

My Computer

OS
Windows 7 Ultimate x64

Thanks, I can try a repair install, am just not keen on it. Other than the very lengthy shutdown, the system is working more or less fine. I don't want to risk messing up the installation with a repair install especially since SFC did not find anything out of the ordinary. Win7x64 has only been installed on that comp since August, it is still relatively new.

The comp is triple-booted with Vista x64 and XP x32. I plan on eventually removing Vista since Win7 is more or less the same (but better) and going back to a dual-boot system with XP hanging around to provide access to the file system should anything catastrophic happen to Win7.

Any other ideas?

Thanks,
DD.
 

My Computer

OS
Windows 7 Ultimate x64
You didn't perhaps defrag your Win7 Ultimate x64 installation on an--> SSD did you?
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Bruce ... somewhere in his 40's
OS
Windows 7 Ultimate 32bit SP1
CPU
Intel(R) Core(TM)2 Quad CPU @ 2.40GHz, 2400 MHz
Motherboard
INTEL/D975XBX2
Memory
4 GB
Graphics Card(s)
ATI Radeon HD 2600 Pro
Monitor(s) Displays
Samsung SyncMaster 914v
Screen Resolution
1280 x 1024
Hard Drives
2/500GB each ... ST3500630AS ATA Device.
One is not connected
PSU
Rocketfish 700 W
Case
G.Skill Gigabyte Chassis
Keyboard
Standard PS/2 Keyboard
Mouse
Microsoft PS/2 Mouse
Internet Speed
DSL
Antivirus
Avira Internet Security
Browser
IE 11
Other Info
ATI HDMI Audio
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.
Try disabling the Bell Internet Service Advisor and see if that makes a difference.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dwarf Dwf/11/2012 r09/2013
OS
Windows 8.1 Pro RTM x64
CPU
Intel Core-i5-3570K 4-core @ 3.4GHz (Ivy Bridge) (OC 4.4GHz)
Motherboard
ASRock Z77 Extreme4-M
Memory
4 x 4GB DDR3-1600 Corsair Vengeance CMZ8GX3M2A1600C9B (16GB)
Graphics Card(s)
MSI GeForce GTX770 Gaming OC 2GB
Sound Card
Realtek High Definition on board solution (ALC 898)
Monitor(s) Displays
ViewSonic VA1912w Widescreen (VGA)
Screen Resolution
1440x900
Hard Drives
OCZ Agility 3 SSD 120GB SATA III x2 (RAID 0)
Samsung HD501LJ 500GB SATA II x2
Hitachi HDS721010CLA332 1TB SATA II
Iomega 1.5TB Ext USB 2.0
WD 2.0TB Ext USB 3.0
PSU
XFX Pro Series 850W Semi-Modular
Case
Gigabyte IF233
Cooling
1 x 120mm Front Inlet 1 x 120mm Rear Exhaust
Keyboard
Microsoft Comfort Curve Keyboard 3000 (USB)
Mouse
Microsoft Comfort Mouse 3000 for Business (USB)
Internet Speed
NetGear DG834Gv3 ADSL Modem/Router (Ethernet) ~4.0 Mb/s (O2)
Antivirus
Avast! 8.0.1497
Browser
IE 11
Other Info
Optical Drive: HL-DT-ST BD-RE BH10LS30 SATA Bluray
Lexmark S305 Printer/Scanner/Copier (USB)
WEI Score: 8.1/8.1/8.5/8.5/8.25
Asus Eee PC 1011PX Netbook (Windows 7 x86 Starter)
You didn't perhaps defrag your Win7 Ultimate x64 installation on an--> SSD did you?

Nope, but that doesn't actually harm the installation, it just doesn't serve any purpose on an SSD and lowers the lifespan needlessly. However, I turned off defrag the same day I install Win7.

DD.
 

My Computer

OS
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.
Try disabling the Bell Internet Service Advisor and see if that makes a difference.

Hi,

Yeah, tried that this past weekend. Doesn't seem to make a difference. That prog is just one of those "is your firewall installed? Is your AV on?" type of programs which my ISP uses to try to cut down on support calls. It is just the messages component which used to start up anyway, it doesn't have any actual power. At any rate, it is no longer in my startup config.

DD.
 

My Computer

OS
Windows 7 Ultimate x64
Have you checked to make sure TRIM is working properly in Windows 7(if your SSD supports it that is)? Longshot, but just trying to get every option checked here. You could also install a trial of Tune Up Utilities 2010. It may be able to find your problem for you and fix it. You could then uninstall it and if the problem comes back at least you know what it is.
 

My Computer

Computer Manufacturer/Model Number
Asus K60IJ
OS
Windows 7 Ultimate x64
CPU
Intel Pentium Dual Core T4200
Motherboard
HP Laptop
Memory
4gb PC-6400
Graphics Card(s)
Integrated Intel GMA 4500
Sound Card
onboard(laptop)
Monitor(s) Displays
16"
Screen Resolution
1300 X 766 with true 720p HD support
Hard Drives
320GB 5400RPM
Mouse
Microsoft 3000 laptop mouse
Internet Speed
15mbit+ down and 768kbit up
Other Info
1TB external Western Digital Essentials HDD
Would you mind posting a HJT log, so we can see what's running at start up?

Download HijackThis!
HijackThis - Trend Micro USA
Right click and run as Administrator. Click 'scan and save log'. The log will be saved to Notepad.
Next go back to start HJT, click 'open misc tools section', then click "Generate startup log".

Copy and paste both logs back in your next post.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Bruce ... somewhere in his 40's
OS
Windows 7 Ultimate 32bit SP1
CPU
Intel(R) Core(TM)2 Quad CPU @ 2.40GHz, 2400 MHz
Motherboard
INTEL/D975XBX2
Memory
4 GB
Graphics Card(s)
ATI Radeon HD 2600 Pro
Monitor(s) Displays
Samsung SyncMaster 914v
Screen Resolution
1280 x 1024
Hard Drives
2/500GB each ... ST3500630AS ATA Device.
One is not connected
PSU
Rocketfish 700 W
Case
G.Skill Gigabyte Chassis
Keyboard
Standard PS/2 Keyboard
Mouse
Microsoft PS/2 Mouse
Internet Speed
DSL
Antivirus
Avira Internet Security
Browser
IE 11
Other Info
ATI HDMI Audio
Have you checked to make sure TRIM is working properly in Windows 7(if your SSD supports it that is)? Longshot, but just trying to get every option checked here. You could also install a trial of Tune Up Utilities 2010. It may be able to find your problem for you and fix it. You could then uninstall it and if the problem comes back at least you know what it is.
Here is an extract from my own little blog on how you can check Trim support:

If you are not certain whether your SSD controller supports TRIM, there is an easy way to find out.
Open an elevated Command Prompt (run as admin) and paste this command into the Command Prompt window:

fsutil behavior query DisableDeleteNotify

If Command Prompt returns a 0 (zero), your drive supports TRIM and it is enabled.
If it returns 1 (one), the file system has disabled TRIM for your drive. This means your drive's controller does not support TRIM.

Another thing to check is the SSD alignment. Here is how:

If you want to verify the alignment (e.g. for a SSD where you are not certain whether the proper alignment was done), you use the following commands.

Diskpart
List disk
Select disk n
List partition

Now you should see a result like this.

Partition ### Type Size Offset
------------- ---------------- ------- -------
Partition 1 Primary 59 GB 1024 KB

The offset has to be divisible by 4.

Source: http://www.sevenforums.com/tutorials/113967-ssd-alignment.html?ltr=S
 

My Computer

Computer Manufacturer/Model Number
HP, Dell, Gateway, Toshiba - 4 laptops and 2 desktops
OS
Vista, Windows7, Mint Mate, Zorin, Windows 8
CPU
from 1.6GHz Duo to i7
Monitor(s) Displays
2x HP w2207
Hard Drives
5x HDD, 7x SSD, 12x Externals
Keyboard
with trackball - no mices
Mouse
Trackball mice
Internet Speed
DSL 6000
Back
Top