Snafui.com - Win2k: Slow Logoff or Cannot Unload Your Registry File

Problem

Windows 2000 is very slow in logging off. It'll say "Saving your Settings" forever (well maybe like a minute). You may notice in your event log a message stating: "Windows cannot unload your registry file. If you have a roaming profile, your settings are not replicated. Contact your administrator. DETAIL - Access is denied.".

In logging off services that need to be stopped are told to stop. If a service has a file handle stuck open, it may not terminate on its own. This may prevent your profile from unloading. Windows will try 60 times at 1 second intervals to unload your profile before giving up and forcing it to be unloaded. Some people have found the print spooler service to be the culprit and recommended making login/logoff scripts that started and stopped the print spooler service when you login/out.

Solution?

Microsoft released an application called uhpclean to manage the closing of file handles on logoff to ensure it goes smoothly. It is available in MSI form (great for domain distribution) and does not require reboot to install or deinstall. They even recommend installing it to see if it helps, and if not just deinstall it and no harm done. Read the readme.txt file on the page for a great description of the problem and solution.
Here's the link to the microsoft page