How to Fix Windows Error: ‘Selected port cannot be deleted…’

Whilst mapping network printers today I came across an issue where printers had previously been mapped to the machine and print ports were being duplicated. Normally to delete ports you could follow these steps:

Go to Start -> Devices and Printers

Right click any printer and select Printer Properties

Head to the Ports tab, select the port in question then Delete Port

However, this was giving the error Selected port cannot be deleted. Access is denied.

This can be overcome by doing the following-

Go to Start then Run

Type regedit.exe then enter. Prepare for Windows prompts

Go to Computer -> HKEY_LOCAL_MACHINE -> SYSTEM -> CurrentControlSet -> Control -> Print -> Monitors -> Standard TCP/IP Port -> Ports

From here, select and delete the entire directory that relates to the problematic printer port

Restart the Print Spooler service

Go to Start and search for and open Services

Scroll down the list to Print Spooler, right click and select Restart

You can now re-add printers using the deleted ports

Leave a Reply

Your email address will not be published. Required fields are marked *