Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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  
---------------------------

↑ Back to the top


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.

↑ Back to the top


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* "

↑ Back to the top


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.

↑ Back to the top


Keywords: kb, vkball

↑ Back to the top

Article Info
Article ID : 2626751
Revision : 2
Created on : 3/27/2020
Published on : 3/27/2020
Exists online : False
Views : 89