When you attempt to remove a printer port that is no longer in use, you may receive an error message saying “The requested resource is in use”. Try these steps to solve this issue.
Stopping the Print Spooler
To successfully remove the port and avoid this error, you will need to stop and restart the Print Spooler service. These steps assume you have already removed all printers that used the port you are removing.
Hold down the Windows Key and press “R” to bring up the Windows Run dialog.
Type “services.msc“, then click “OK“.
Highlight the “Print Spooler” service, then click the “Stop” button.
Delete the printer port you wish to remove.
Removing Printer Ports
I prefer to remove the port from the registry as you may no longer have the printer port listed under “Devices and Printers” when you stop the Print Spooler. Use these steps.
Hold the Windows Key and press “R” to bring up the Run window.
Type “regedit” then press “Enter” to bring up the Registry Editor.
Navigate to HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Print \ Monitors \ Standard TCP/IP Port \ Ports
Right-click and delete the folder with the name of the port you wish to remove.
Also check under HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Print \ Monitors \ LPR Port to remove any ports.
After these steps are performed, you can start the Print Spooler up again.
转载本文请联系原作者获取授权,同时请注明本文来自陆宇振科学网博客。
链接地址:https://wap.sciencenet.cn/blog-578676-1209961.html?mobile=1
收藏