How to Clear Persistent Orphaned Printers in Roaming Profiles in Citrix Servers
To remove orphan printer from roamming profiles you must edit usrlogon.cmd on the Citrix servers and add these entries.
echo Yreg DELETE HKCU\Printers\DevModes2 /va /f
echo Yreg DELETE HKCU\Printers\DevModePerUser /va /f
echo Yreg DELETE HKCU\Printers\ /va /f
echo Yreg DELETE HKCU\Printers\connections
echo Yreg DELETE HKCU\Printers\citrix
echo Yreg DELETE "HKCU\Software\Microsoft\Windows NT\CurrentVersion\Devices" /va /f
echo Yreg DELETE "HKCU\Software\Microsoft\Windows NT\CurrentVersion\printerports" /va /f
echo Yreg DELETE HKCU\Software\Citrix\PrinterProperties
echo Yreg DELETE HKCU\Printers\settings
No comments:
Post a Comment