How to reinstall print module using Power Shell

0 users found this article helpful

Information

To reinstall Parallels Universal Printer module please execute the following script on RD Session Host(s):


$tpid = [diagnostics.process]::start("C:\Program Files (x86)\Parallels\ApplicationServer\UniversalDevices\x64\2XInst.exe","/up")
$tpid.WaitForExit() 
  Start-Process 'C:\Program Files (x86)\Parallels\ApplicationServer\UniversalDevices\x64\2XInst.exe' -ArgumentList '/ip' 

Also, you may recreate registry entries for printers redirected by Parallels

To perform it check which printer name pattern you are using in RAS Console > Universal Printing

 

If you are using different print pattern please change Parallels to your print pattern:

 

Remove-Item -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Print\Printers\*Parallels*'
$tpid = [diagnostics.process]::start("C:\Program Files (x86)\Parallels\ApplicationServer\UniversalDevices\x64\2XInst.exe","/up")
$tpid.WaitForExit() 
  Start-Process 'C:\Program Files (x86)\Parallels\ApplicationServer\UniversalDevices\x64\2XInst.exe' -ArgumentList '/ip' 

Was this article helpful?

Tell us how we can improve it.