Clean uninstall/reinstall Sprinter

Here are the steps for a clean uninstall/reinstall of HP Sprinter:

1. (Sprinter 11.5 and higher) In standalone mode: backup your tests, if such reside under Sprinter’s installation folder.

2. Uninstall Sprinter (Control Panel -> Add Remove Programs/Programs and Features).

3. Go to the install directory of Sprinter.

The default directory is “C:\Program Files\HP\Sprinter“. Note: When working with a 64bits operating system, ensure to locate the above folders under C:\Program Files(x86)\…

4. Delete all the directories under this directory. Note: The above steps can be performed via command line:

rmdir /s /q "C:\Program Files\HP\Sprinter"

IMPORTANT: The following steps relating to HKEY_CURRENT_USER must be performed for each user on a Citrix or Terminal Services environment, and for any user that has run QuickTest Professional)

5. Open the registry editor (Start > Run > type "regedit" > Click "Ok")

6. (If exists) Delete following registry keys (including all the keys and values under it):

Note: When working on a 64bits operating system, the below keys may not exist, instead following key should: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\…

HKEY_CURRENT_USER\Software\Mercury Interactive


HKEY_CURRENT_USER\Software\Wow6432Node\Hewlett-Packard\Manual Runner

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Hewlett-Packard\Manual Runner

7. (If exists) Delete BHOManager.dll in %windir%\system32 folder. For 64bits, is possible to find it under %windir%\SysWOW64 folder

8. (If exists) Delete the following assemblies from the C:\Windows\assembly\ directory:







policy.X.X.Mercury.QTP.WpfAgent (“X” could 9.5 or 10.0. This item may appear repeated, just different version, so delete them all)

9. Delete the following directory and contents under Windows folder (Go to “Start” menu, select “Run”, type “%windir%”, click “Ok”):


Note: This command may help achieving task: rmdir /s /q %windir%\Microsoft.NET\assembly\GAC_32\Mercury.QTP.Agent

C:\Windows\Microsoft.NET\assembly\GAC_64\Mercury.QTP.Agent\. Note: If 64bits support is enabled

Note: This command may help achieving task: rmdir /s /q %windir%\Microsoft.NET\assembly\GAC_64\Mercury.QTP.Agent


Note: This command may help achieving task: rmdir /s /q %windir%\Microsoft.NET\assembly\GAC_MSIL\Mercury.QTP.WpfAgent

10. Delete/rename the associated application data “Sprinter” directory. (Start -> Run -> type “%appdata%\HP” -> Ok).

Following are command line options:

Delete folder: rmdir /s /q "%appdata%\hp\Sprinter"

Rename/Backup folder: rename "%appdata%\hp\Sprinter” “Sprinter.bak"

11. Reboot the machine (recommended)

12. Install or reinstall Sprinter.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s