Problem description:

 

With Appstack 4.0 attached in the remote desktop, if the user tries to configure any network printer it fails with an error

"Windows Cannot connect to the printer. Operation failed with error 0x00000006"

 

On the same remote desktop, if the no appstack is attached, user is able to configure the network printer.

 

Product:

 

VMware AppVolumes 4.0

 

 

Workaround:

 

Note: First implement the action plan on a test pool or test machine before moving it to production.

 

  • Power on master VM.
  • Navigate to C:\Program Files(x86)\CloudVolumes\Agent\Config.
  • Create a new folder called "Custom"
  • Then create a new folder called "app"
  • Create a notepad file, open the file and add below lines:

 

exclude_registry=\REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Providers\Client Side Rendering Print Provider

exclude_path=%SystemRoot%\System32\DriverStore\FileRepository
exclude_path=%SystemRoot%\INF
exclude_registry=\REGISTRY\MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers
exclude_registry=\REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\Print\Printers

 

  • Save the file as snapvol.cfg (make sure to remove the extension txt)

    The complete path of the file is : C:\Program Files(x86)\CloudVolumes\Agent\Config\Custom\app\snapvol.cfg
  • Reboot the VM, Shutdown the VM and take a snapshot and recompose/publish the pool with this snapshot.
  • Login to the VM and you should be able to map network printers now.

 

PS: For further details or information please contact VMware App Volumes support team.