Faster Log Off and Shutdown with UPHClean (User Profile Hive Cleanup Service)

After using computer for a long time, sometimes your computer will take a long time just for the shutdown process and this is very annoying. Microsoft provides an application called UPHClean (User Profile Hive Cleanup Service) which you download for free to solve this problem.

You can download UPHClean here: http://www.microsoft.com/en-us/download/details.aspx?id=6676 (24 KB-Windows XP)
You will be prompted to validate your copy of Windows, as soon as you have downloaded the UPHClean installer (UPHClean-Setup.msi), double-click the installer to begin the installation.
  1. In the User Profile Hive Cleanup Service installation wizard, click Next.
  2. On the License Agreement page, read the license agreement, select I Agree, and then click Next.
  3. In the Select Installation Folder page, click Next.
  4. In the Confirm Installation page, click Next.
  5. When UPHClean is installed, click Close.
UPHClean runs as a service in Windows and will start automatically every time that Windows starts.

The User Profile Hive Cleanup service helps to ensure user sessions are completely terminated when a user logs off. System processes and applications occasionally maintain connections to registry keys in the user profile after a user logs off. In those cases the user session is prevented from completely ending. This can result in problems when using Roaming User Profiles in a server environment or when using locked profiles as implemented through the Shared Computer Toolkit for Windows XP.

On Windows 2000 you can benefit from this service if the application event log shows event id 1000 where the message text indicates that the profile is not unloading and that the error is "Access is denied". On Windows XP and Windows Server 2003 either event ids 1517 and 1524 indicate the same profile unload problem.

To accomplish this the service monitors for logged off users that still have registry hives loaded. When that happens the service determines which application have handles opened to the hives and releases them. It logs the application name and what registry keys were left open. After this the system finishes unloading the profile. Microsoft

UPHClean icon
To confirm that UPHClean is installed and running, click Start, and then click Run > type services.msc > and then click OK

run services.msc
In Services, in the Name column, locate User Profile Hive Cleanup. In the Status column, confirm that the User Profile Hive Cleanup service is Started.


UPHClean service

Or, open Task Manager (Ctrl+Alt+Del) then locates uphclean.exe process...

taskmanager

This little app is just taking as much RAM as Notepad and it's definitely a must have application. I have tried it, significantly faster shutdown.