Error: HP Universal Printing | Invalid Address when using the Hewlett-Packard Universal Printer Drivers with Microsoft Application Virtualization

Symptoms

When using the Hewlett-Packard Universal Printer Drivers (HP UPD) with the Microsoft Application Virtualization (App-V) client and trying to configure a printer through the Enter a Printer Address... dialog box, you receive the following error:

---------------------------
Error: HP Universal Printing
---------------------------
Invalid Address.

Verify and re-enter the address, or use a different address.
---------------------------
OK  
---------------------------

Cause

This behavior is by design.  By default, App-V does not allow access to global objects such as semiphores and mutexes from within App-V.  These objects must be explicitly excluded.

Resolution

To allow App-V clients to print to HP UPD printers use the following steps:

  1. Upgrade the client to App-V 4.6 SP1 or greater.  This is required as it includes several necessary fixes.
  2. Open Regedit and navigate to the following key:
  3. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SoftGrid\4.5\SystemGuard\ObjExclusions

    On 64-bit machines, this will be located at:

    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\SoftGrid\4.5\SystemGuard\ObjExclusions

  4. Note the highest numbered REG_SZ value in the list of ObjExclusions.  In this example, we will assume that the highest number is 93.  Increment this number by 1 and add the a new REG_SZ value with this name (i.e. REG_SZ, name: 94).  Double-click on the value and enter the value data Global\*.
  5. Repeat this process by again incrementing the number and adding value data *HPZ*

 For example, add values 94 and 95 where the highest ObjExclusions value is 93:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SoftGrid\4.5\SystemGuard\ObjExclusions]
"0"="SFT-"
"1"="SWPLAY"
<SNIP>
"93"="FntCache*"
94"="Global\\* "
"95"="*HPZ* "

More Information

Note that this solution assumes that the printer is otherwise accessible and that other, identical clients are able to connect to the printer.

Properties

Article ID: 2626751 - Last Review: Oct 13, 2011 - Revision: 1

Feedback