hpqtra08 Shutdown Fix for Windows Posted: April 20, 2009 / Updated: April 20 2009 in Windows Tips and Fixes
I have an HP Officejet J5750 All-in-One, and recently my Windows box started hanging on shutdown because of the "hpqtra08.exe". I have a work-around for it right now, still working on a real solution.This work-around will basically tell Windows to just kill any application that is hanging when it tries to shut down. This means if some other application you have starts doing the same thing, you're not going to know about it. That isn't really a problem, but if you're like me, you want to know when things are having problems... Therefore, I consider this to be a short-term fix. Once I can find the real solution (ie, something that makes the HP program not hang,) I'll post something to undo this change. If you then start to see new programs doing the same thing, and you can't track down a solution for it, you can just re-install this registry edit as a work-around.
WARNING: This file edits your registry. Since you probably don't know me, you should make a backup of your registry first! I ALWAYS backup my registry before I do anything to it, even if I'm 100% confident that what I'm doing won't hurt the system (you just never know how some other application might react to the change you make.)
Instructions for backing up your registry can be found here:
How to backup and restore your registry in Windows.
You can download the fix file here:
hpqtra08-shutdown-fix.reg
Just save it to your computer, browse to the file, and double-click on it. Click "Yes" on the prompt that comes up and it will merge it into your Windows Registry.
If you're running anything less than Windows XP than this file may not work for you. Contact me if it doesn't solve the problem and we can work out a corrected file and I'll post it for your OS.
I'll detail each line of the registry file here, so you know exactly what is being changed:
This is just a header, telling Windows what created the file.
[HKEY_CURRENT_USER\Control Panel\Desktop]
This identifies the location of the following settings.
"AutoEndTasks"="1"
This tells windows to automatically end tasks when you log off or shut down the computer.
"HungAppTimeout"="4000"
The number of milliseconds Windows will wait after trying to close an application before showing the End Task dialog box.
"WaitToKillAppTimeout"="4000"
The number of milliseconds Windows will wait for a process to respond to a shutdown notification. If it takes longer than this time, then Windows will show the "End Task" dialog box.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control]
This identifies the location of the following settings.
"WaitToKillServiceTimeout"="4000"
The number of milliseconds Windows will wait for a service to respond to a shutdown notification. If it takes longer than this time, then Windows will notify you that the service has not stopped.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]
This identifies the location of the following settings.
"ClearPageFileAtShutdown"=dword:00000001
This tells Windows to clear your Paging File when it shuts down. This is an "extra setting" I'm "sneaking in" on you. I don't believe it is required to fix the problem, but it can provide quite a performance boost to windows (a little slower to shut down, faster to start up.) It can also help rid you of other pesky errors that might come up from corrupted data in the Paging File.