The requested resource is in use when Deleting printer Port
Results 1 to 15 of 15

Thread: The requested resource is in use when Deleting printer Port

  1. #1
    Join Date
    Apr 2005
    Posts
    300

    The requested resource is in use when Deleting printer Port

    Dear Experts

    I am using windows 7 and when I try to delete printers ports that were not is use any more , a message pops us

    Code:
    The requested resource is in use


    Tried to follow the instruction in the links bleow but no joy

    http://www.technipages.com/fix-the-r...g-printer-port

    http://www.sevenforums.com/hardware-...ters-port.html

    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.

    Any other suggestion or advice ?

    Thanks

  2. #2
    Join Date
    Sep 1999
    Location
    Largo, Fl.
    Posts
    22,349
    Why are you wanting to delete the ports?

    Are the ports linked to networked printers where the install failed?
    If you're happy and you know it......it's your meds.

  3. #3
    Join Date
    Mar 2009
    Location
    Arkham Asylum, Cell 13
    Posts
    11,701
    Is there more than one printer installed? The port cannot be in use by ANY printer.

  4. #4
    Join Date
    Apr 2005
    Posts
    300
    Why are you wanting to delete the ports?

    Are the ports linked to networked printers where the install failed?
    They are linked to network printers (more than one) that I am not going to use them any more,,,,they were installed properly no failure had happened

  5. #5
    Join Date
    Apr 2005
    Posts
    300
    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

    Thanks

  6. #6
    Join Date
    Mar 2009
    Location
    Arkham Asylum, Cell 13
    Posts
    11,701
    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).

  7. #7
    Join Date
    Apr 2005
    Posts
    300
    Thanks for your support
    You can have multiple printers installed per print device. Print device = physical hardware
    I don't think this is m case , please see the attachments below
    Thanks
    Attached Images Attached Images

  8. #8
    Join Date
    Sep 1999
    Location
    Largo, Fl.
    Posts
    22,349
    Why are you wanting to delete the port?
    Wouldn't deleting the printer be good enough?

  9. #9
    Join Date
    Mar 2009
    Location
    Arkham Asylum, Cell 13
    Posts
    11,701
    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.

  10. #10
    Join Date
    Apr 2005
    Posts
    300
    Wouldn't deleting the printer be good enough?
    Yes should do the job

    Why are you wanting to delete the port?
    Too many ip addresses listed under Ports' tab confuses me, therefore I try to minimize that list from unnecessary listed ip

    Thanks

  11. #11
    Join Date
    Apr 2005
    Posts
    300
    Thanks again
    Officejet L7500
    Yes
    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

    Regards

  12. #12
    Join Date
    Mar 2009
    Location
    Arkham Asylum, Cell 13
    Posts
    11,701
    Hmm. That is bizarre. Did you reboot after deleting the printer?

  13. #13
    Join Date
    Apr 2005
    Posts
    300
    Did you reboot after deleting the printer?
    I deleted undesired offline printer when I rebooted , the printer appeared again!!!!

  14. #14
    Join Date
    Mar 2009
    Location
    Arkham Asylum, Cell 13
    Posts
    11,701
    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

  15. #15
    Join Date
    Jul 2024
    Posts
    1

    Smile

    Quote Originally Posted by Midknyte View Post
    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
    Quote Originally Posted by Midknyte View Post
    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!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •