jingweimo的个人博客分享 http://blog.sciencenet.cn/u/jingweimo

博文

[转载]Fix “The requested resource is in use”

已有 2623 次阅读 2019-12-14 01:21 |系统分类:科研笔记|文章来源:转载

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.

The requested resources is in use error

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.

  1. Hold down the Windows Key and press “R” to bring up the Windows Run dialog.

  2. Type “services.msc“, then click “OK“.

  3. Highlight the “Print Spooler” service, then click the “Stop” button.
    Stop Print Spooler

  4. 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.

  1. Hold the Windows Key and press “R” to bring up the Run window.

  2. Type “regedit” then press “Enter” to bring up the Registry Editor.

  3. Navigate to HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Print \ Monitors \ Standard TCP/IP Port \ Ports

  4. Right-click and delete the folder with the name of the port you wish to remove.

  5. 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

上一篇:Can You Ripen Cherries After They are Picked?
下一篇:Build OpenCV4.3 with Cuda 10.1 and Test on Yolov4
收藏 IP: 152.7.255.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-4-18 06:31

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部