shutdown is very slow - windows xp when you shutdown your windows xp computer, it may take more time to complete the shutdown process. slow shutdowns are caused by a number of factors. one of the common cause is the clear pagefile at shutdown option enabled. virtual memory support uses a system pagefile to swap pages of memory to disk when they are not used. on a running system, this pagefile is opened exclusively by the operating system, and it is well protected. however, systems that are configured to allow booting to other operating systems might have to make sure that the system pagefile is wiped clean when this system shuts down. this ensures that sensitive information from process memory that might go into the pagefile is not available to an unauthorized user who manages to directly access the pagefile. when this option is enabled, it causes the system pagefile to be cleared upon clean shutdown. this takes considerable time of the operating system to flush-out the pagefile, thus causing the slow shutdown. you may disable clearpagefileatshutdown option to improve shutdown times. but the pagefile.sys will be intact and accessible via other operating system, in case or dual or multi-boot. some points to improve the shutdown times start registry editor and navigate to the following key: [hklm\system\currentcontrolset\control\session manager\memory management]
set clearpagefileatshutdown value to 0 or, using group policy editor [for windows xp professional] click start, run and type secpol.msc click local policies | security options in the right-pane, set shutdown: clear virtual memory pagefile to disabled however, this setting is not the only cause for slow shutdowns. non-responsive
programs and services also contribute to slow shutdowns. if the problem is seen recently after installing a third-party driver or software, try a system restore rollback to see if that resolves the slow shutdown problem. other checkpoints try a clean-boot troubleshooting. clean-boot troubleshooting is designed to isolate a performance problem. to perform clean-boot troubleshooting, you must take a number of actions, and then restart the computer after each action (to test whether the action resolved the problem). these two articles will help you isolate the problem. how to perform a clean boot in windows xp how to perform advanced clean-boot troubleshooting in windows xp how to manage windows startup? fig: disabling the third-party services using msconfig
check the event logs for any errors and track-down the software/driver causing the problem. view the error messages registered in event log you may be having profile unload problems if you experience slow logoff (with saving settings for most of the time while logging off). uphclean is a service that once and for all gets rid of problems with user profile not unloading. see user profile hive cleanup tool's readme.txt before installing it. for more troubleshooting on shutdown issues, i recommend you visit ms-mvp james eshelman's shutdown troubleshooter page here: shutdown works, but it's real slow.