View Full Version : Long Shutdown/Log Off w/ Vista 64
-=WooDWorKeR420=-
05-22-2007, 10:16 AM
I recently installed Vista Ultimate 64 on my new rig, and have found that ocasionally when shutting down or rebooting the machine, i get Long waits at the desktop background. The menu's icons and task bars are all gone, however there is approx a 5 min wait until i get the logging off screen. Its at the Logging Off screen where windows will hang for 15+ min. For the 1st 5 min there is little hard drive activity according to the HDD LED, however after this there is no activity and it seems to freeze up. I then hit the reset button and have to re-boot and "start windows normally" b/c of the issues with shutting it down!
So far i have only noticed it after installing some applications.
Needless to say its very annoying and if there is any way to get rid of it, I would be gratefull.
has anyone experianced this and is there a reason why its happening or a way to get rid of it?
Thanks
WooD
Sharaz Jek
05-22-2007, 11:46 AM
probably installing updates or something, thats usually when it will do it.
you mean you sit there and watch your computer shutdown?? vista doesnt want you to dot that... youre supposed to click shutdown and walk away :)
-=WooDWorKeR420=-
05-22-2007, 11:55 AM
hahaha, I usually dont watch it, but seeing as yesterday was when it was installed I was a bit curious, and I was shutting the PC down so I could go to sleep and the monitor is right next to my bed, and the log off screen is like a 120watt bulb on a 20.1" Monitor ( a bit too strong a nite lite for me). However usually if its updating or configuring windows it says so, mine just says "Logging Off" so I am not sure what exactly its doing.
-=WooDWorKeR420=-
05-22-2007, 03:23 PM
bump.....any other thoughts? Its driving me crazy!
devman
05-22-2007, 03:55 PM
My Vista shutdown can runs the gamut from much longer than my XP shutdown was to almost right away. I'm gonna assume its par for the course if its configuring or updating or just doing some random house keeping. To be quite honest I almost never shutdown my machine since I installed Vista because of hybrid sleep, works like a charm.
KENNYB
05-22-2007, 08:26 PM
Have you tried using the sleep mode in Vista? Personally, i think it's much better than shutting down. It uses very little power (I'm also becoming energy conscious), and wake up is very fast. I love it, but it took a long time for the functionality to become 100% reliable in Vista (nvidia drivers). But i digress, you want your machine to shutdown and i hate when someone doesn't work like it supposed to. Good luck.
dot_Zen
05-22-2007, 09:11 PM
Readyboot, Updates, and Shutdown procedure (http://www.microsoft.com/technet/technetmag/issues/2007/03/VistaKernel/).
Shutdown
A problem that's plagued Windows service writers is that during a Windows shutdown they have, by default, a maximum of twenty seconds to perform cleanup. Versions of Windows prior to Windows Vista haven't supported a clean shutdown that waits for all services to exit because a buggy service can hold up a shutdown indefinitely. Some services, like those that have network-related shutdown operations or have to save large amounts of data to disk, might require more time and so Windows Vista allows a service to request pre-shutdown notification.
When Windows Vista shuts down, the Service Control Manager first notifies those services asking for pre-shutdown notification. It will wait indefinitely for these services to exit, but if they have a bug and don't respond to queries, the Service Control Manager gives up and moves on after three minutes. Once all those services have exited or the timeout has expired, the Service Control Manager proceeds with legacy-style services shutdown for the rest of the services. The Group Policy and Windows Update services register pre-shutdown notification in a fresh Windows Vista installation.
The Group Policy and Windows Update services also use another Windows Vista services feature: shutdown ordering. Services have always been able to specify startup dependencies that the Service Control Manager honors to start services in an order that satisfies them, but until Windows Vista they have been unable to specify shutdown dependencies. Now services that register for pre-shutdown notification can also insert themselves into the list stored at HKLM\System\CurrentControlSet\Control\PreshutdownOrder and the Service Control Manager will shut them down according to their order. See the sidebar "Identifying a Delayed-Autostart and Pre-Shutdown Service" for more on these services.
Power Management
Sleep and hibernate are other forms of shutdown, and buggy power management in drivers and applications has been the curse of road warriors since Windows 2000 introduced power management to the Windows NTŪ-based line of Windows operating systems. Many users have expected their laptop system to suspend or hibernate when they closed the lid before embarking on a trip, only to arrive at their destination with a hot carrying case, a dead battery, and lost data. That's because Windows has always asked device drivers and applications for their consent to change power state and a single unresponsive driver or application could prevent a transition.
In Windows Vista, the kernel's Power Manager still informs drivers and applications of power-state changes so that they can prepare for them, but it no longer asks for permission. In addition, the Power Manager waits, at most, 20 seconds for applications to respond to change notifications, rather than the two minutes it waited on previous versions of Windows. As a result, Windows Vista users can be more confident that their systems are honoring hibernations and suspends.
Next Up
As mentioned earlier, this is the second installment in a three-part series. The first part covered Windows Vista kernel improvements in the areas of I/O and processes. This time, I looked at Windows Vista enhancements in memory management, startup, and shutdown. Next time, I'll conclude the series by describing changes to the kernel in the areas of reliability and security.
Identifying a Delayed-Autostart and Pre-Shutdown Service
The built-in SC command is updated in Windows Vista to show services configured as delayed autostart services:
http://www.microsoft.com/technet/technetmag/issues/2007/03/VistaKernel/figc_L.gif (http://javascript%3Cb%3E%3C/b%3E:ToggleImages%28%27256677025%27,%20%27151400025%27%29;)
Using SC to display start type (Click the image for a smaller view)
http://www.microsoft.com/technet/technetmag/issues/2007/03/VistaKernel/figc.gif (http://javascript%3Cb%3E%3C/b%3E:ToggleImages%28%27151400025%27,%20%27256677025%27%29;)
Using SC to display start type (Click the image for a larger view)
Unfortunately, the SC command does not report services that have requested pre-shutdown notification, but you can use the PsService utility from Sysinternals to see that a service accepts pre-shutdown notification:
http://www.microsoft.com/technet/technetmag/issues/2007/03/VistaKernel/figd_L.gif (http://javascript%3Cb%3E%3C/b%3E:ToggleImages%28%27364677026%27,%20%27215400026%27%29;)
Viewing pre-shutdown status (Click the image for a smaller view)
http://www.microsoft.com/technet/technetmag/issues/2007/03/VistaKernel/figd.gif (http://javascript%3Cb%3E%3C/b%3E:ToggleImages%28%27215400026%27,%20%27364677026%27%29;)
Viewing pre-shutdown status (Click the image for a larger view)
vBulletin® v3.8.2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.