Helge Klein Helge Klein
  • Blog
  • Tools
    • SetACL
    • SetACL Studio
    • Delprof2
    • More free tools
  • Projects
    • Home Assistant
      • Smart Cover Automation
    • Samba
      • AD & File Server Docker Containers
    • Linux
      • Config File Backup on GitHub
  • HAUS21
    • Planung
      • Wärme-/Kältequellen: Geothermie, Eisspeicher, Luft-Wärmepumpe
      • Heizen und Kühlen mit Eisspeicher: Details
      • Heizen/Kühlen: Fußboden vs. Decke vs. Wand
      • Bauteilaktivierung: Kühlung der Betondecken
      • Photovoltaik und Stromspeicher
      • Kontrollierte Wohnraumlüftung (KWL)
      • Baustoffe: viel Poroton & Lehm, wenig Beton, kein Rigips
      • Altersgerechtigkeit und Barrierefreiheit
      • Smart Home: das vernetzte Haus
    • Erfahrungen
      • Viessmann-Eisspeicher? Lieber Nicht!

Start typing to search...

↑↓ navigate ↵ select esc close

Printer Port

Tag 1 post
Citrix/Terminal Services/Remote Desktop Services

Script Deletes Orphaned Printer Ports

The script published in this article was kindly contributed by Bo Riis, a sysadmin working at Danish hosting company dandomain. Here is what he writes about it: Recently I had some issues with MS Office getting really slow on some of our customers’ terminal servers. After some intensive debugging we came to the conclusion that when users disconnected a session they left behind their open printer ports. It seems like that these ports don’t get cleaned up after a while, like the session they belong to. These ghost ports linger and use more and more resources in the print spooler and Office does not react well to a busy print spooler. One of our servers had more than 3000 of these orphaned ports. [Whoa!]
Citrix/Terminal Services/Remote Desktop Services
Jul 5, 2011
© 2026 Helge Klein
About Imprint Privacy Policy