Start>Control Panel>Printers and Faxes>rightclick your printer and
click Properties>Ports tab. You now should see all the ports listed.
Highlight the port you no longer want and click the Delete Port button.
Is there more than one printer installed? The port cannot be in use by ANY printer.
On my laptop and Desktop and other laptop , yes there are couple of network printers installed with different ip addresses.
Some of those network printers, work related, and two of them for home use.
One of the home network printer already gone away and only the new one left.
I was trying to remove the port ip address for the one that gone
I meant if there are multiple printers installed on the same computer. You can have multiple printers installed per print device. Print device = physical hardware
If you have multiple printers on the same computer and any of them are using that specific port, you won't be able to delete it (it's still in use).
It looks like you are trying to delete the Officejet L7500 port before you delete the printer. You can't do that if the printer is still using that port. It doesn't matter if the printer is offline. You must change the current port to something like LPT1 and then you can delete the old port.
OR delete the printer first. Then go to another printer and delete the unused port from the list.
OR delete the printer first. Then go to another printer and delete the unused port from the list.
I deleted the printer although it was offline, then I clicked on another printer and went to Ports tab then tried to delete the ip address that was associated with Officejet L7500 still no joy
Ok. Something is weird there. You can try removing the printer via registry.
Go to the Start Menu
Type Regedit in the search box
Click on Regedit.exe to open Registry Editor
Backup your registry first!
Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers
Delete the folder(s) of the printer you want to remove
Close Regedit
Go to the Start Menu
Type Services in the search box
Click on Services to open the Services console (the one with the blue gears icon)
Right-click on Print Spooler
Click Restart
Close Services
Originally Posted by Midknyte
Ok. Something is weird there. You can try removing the printer via registry.
Go to the Start Menu
Type Regedit in the search box
Click on Regedit.exe to open Registry Editor
Backup your registry first!
Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers
Delete the folder(s) of the printer you want to remove
Close Regedit
Go to the Start Menu
Type Services in the search box
Click on Services to open the Services console (the one with the blue gears icon)
Right-click on Print Spooler
Click Restart
Close Services
I had this same error and I think you pointed me in the right direction by resorting to the Registry to solve my problems.
I am running Windows 11 and these are the registry keys I needed to address:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers\<DELETE the name of any printer that could have been using the port>
e.g. Home Printer
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers\Home Printer
When I searched for the Name of the port this is what action I performed:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Monitors\Standard TCP/IP Port\Ports\< DELETE the name of the port I want to remove>
The name of the Printer port I wanted to delete, I named it, but others might have left the default:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Monitors\Standard TCP/IP Port\Ports\Home_Printer
I continued to search the entire registry, but there were no more occurrences of My
Now I did this in Safe Mode, which being an old timer meant I needed to restart holding the shift key when I selected the Power Icon, select Troubleshoot, Advanced options, Startup Settings (Read the options to prepare yourself for what you'll want to look for), Restart
I chose option 5. Enable Safe Mode with Networking
I don't know if that was necessary, but I've had problems in the past where Windows hid items that were uninstalled, when in-fact there are lingering elements.
Afterwards, I rebooted and opened the Print Server Properties
You can go there via Settings > Bluetooth & devices > Printers & scanners > Scroll down to Related settings > Print Server Properties
You can do it directly thusly:
Open Command prompt as admin then type in this command
rundll32 printui.dll,PrintUIEntry /s /t1
Click on the Ports tab and see if the port has been deleted
Oddly enough, as I wrote this I also discovered printmanagement.msc which offers a slightly different interface but might also be useful
Usually, I find there is more than one way to skin a cat (Speaking metaphorically, ofc) so I just wanted to add that a lot of this is heuristic, so your mileage may vary. But what was key for me was looking in the registry after all other avenues had been explored, such as, making sure I had removed the printer that used the port the Microsoft way (the dead stupid way, not in the registry), checking all the other printers to make certain, none of them was using the port in question. Then doing my work on the registry in safe mode (not because it's safe, but because it is less tied down by -waves hands in the air- who knows what.)
Thanks, and good luck!