none
WSD port delete

    Question

  • We are running Server 2008 64bit and Print Manager, in the setup of the printers when I did not use the check box to auto detect the print driver to use the system created a WSD printer port based on iPv6. We wanted a TCP/IP port so I created the TCP/IP port and then attached it to the printer. My problem is that I cannot delete the WSD printer port. It is not used by any printer but the system will not allow the delete
    Monday, November 08, 2010 4:20 PM

Answers

  • The spooler will delete the port only if it is assigned to a printer and one deletes the printer.  Create a fake printer using this port and a preinstalled driver, then delete the printer.

     


    Alan Morris Windows Printing Team
    Monday, November 08, 2010 9:28 PM
    Answerer
  • in Windows 8 / Server 2012 the powershell command , remove-printerport will remove WSD ports that did not get removed when the printer was deleted.  Thanks for bringing this back so I would add the powershell command.

    remove-printerport -name WSDPORTNAME -computer Server2008R2machine


    Alan Morris Windows Printing Team

    Thursday, August 29, 2013 8:54 PM
    Answerer

All replies

  • The spooler will delete the port only if it is assigned to a printer and one deletes the printer.  Create a fake printer using this port and a preinstalled driver, then delete the printer.

     


    Alan Morris Windows Printing Team
    Monday, November 08, 2010 9:28 PM
    Answerer
  • I tried as you suggested and it worked great. Just wanted to keep this up to date if anyone else is having similar issues. Sometimes you never hear if the fix worked or not. I added a printer using that port and then went back and deleted the printer. After a few minutes the WSD port was gone. I did hit refresh on the ports listing.
    Thursday, August 29, 2013 8:39 PM
  • in Windows 8 / Server 2012 the powershell command , remove-printerport will remove WSD ports that did not get removed when the printer was deleted.  Thanks for bringing this back so I would add the powershell command.

    remove-printerport -name WSDPORTNAME -computer Server2008R2machine


    Alan Morris Windows Printing Team

    Thursday, August 29, 2013 8:54 PM
    Answerer
  • I did try adding a test Queue and delete the queue but failed to remove the WSD port...

    However PS tip above works.....


    Regards Manohar Mekala

    Friday, March 07, 2014 4:45 AM
  • I did not try the powershell command, but the initial resolution of creating a fake printer using the WSD port and then deleting it worked.
    Thursday, August 14, 2014 7:59 PM