This message was deleted.
# _general
s
This message was deleted.
g
More details. I am trying to figure out why sometimes printers fail to work sometimes on our Published Desktops servers. As far as I can tell it is only on the Published Desktop servers, servers that are publishing apps aren't running into the issue. The printers are mapped by a powershell script in both cases using the WScript.Network comobject. The script itself doesn't fail when mapping the printers or setting the default printer. I have found I can detect that it didn't work by checking the default printer again and when it isn't the printer I just set then that session is having problems.
Restarting the spooler service often seems to help a little but in general if the script keeps running it will eventually work
n
From memory (I hate printing) you tend to see all printers for all users if you are an admin.
➕ 1
g
In this case I am testing between two regular users. I did find CTX213455 which talks about DefaultPrnFlags. Deleting DefaultPrnFlags didn't change anything. https://support.citrix.com/article/CTX213455
It is also a pretty old so I am not sure if it would apply to 7.15
p
what do you see under: HKCU\Software\Microsoft\Windows NT\CurrentVersion\Devices HKCU\Software\Microsoft\Windows NT\CurrentVersion\PrinterPorts for the test users?
g
The registry keys match what I expect to be mapped but not what is show in Devices and Printers. Here is an example where CGH-CIS-P06 is mapped in the other users session