Jump to content
United States - English

Deleting Printer Ports in Microsoft(R) Windows 95, 98, ME, NT, 2000, or XP

Give us feedback

This document:
  • » Was helpful
  • » Was not helpful
  • » Does not apply

Support details

ISSUE:
Deleting a printer port in Microsoft (R) Window 95, 98, Me, NT, 2000, or XP.
SOLUTION:
Follow the instructions for the appropriate operating system or port type.
NOTE: It may be necessary to close all applications (including anti-virus programs) or stop and restart the spooler before deleting a port.
Windows XP
  1. Click Start , and then Printer and Faxes .
  2. Right-click the printer that has port to be deleted; then select Properties .
  3. Select the Ports tab, and then put a check on a port other than the one to be deleted, such as File. Click OK .
  4. Right-click the printer again, then select Properties .
  5. Select the Ports tab, then highlight the port to be deleted (but do not check it), and select Delete Port .
    NOTE: A port cannot be deleted if it is attached to a printer. A different port must first be selected in the printer's Properties before deleting. If multiple printers are attached to the port being deleted, each printer must first be attached to a different port.
If the message appears "The requested resource is in use ." try the following:
  1. Open Control Panel and Administrative Tools and then Services . Select Print Spooler , then select Restart the spooler. Then go back to the Properties of the printer and delete the port.
  2. Check Properties for all the printers listed. Change the destination of any printer that is connected to the port to be deleted.
  3. If the previous steps to not work, contact Microsoft (R) for assistance.
Windows 2000
  1. Click Start , Settings , and then Printers .
  2. Right-click the printer which has the port to be deleted; then choose Properties .
  3. Select the Ports tab, and then put a check on a port other than the one to be deleted, such as File. Click OK .
  4. Right-click the printer again, then select Properties .
  5. Select the Ports tab, then highlight the port to be deleted (but do not check it), and select Delete Port .
  6. If a new port needs to be created, it is helpful to reboot the PC after deleting the old port.
    NOTE: A port cannot be deleted if it is attached to a printer. A different port must first be selected in the printer's Properties before deleting. If multiple printers are attached to the port being deleted, each printer must first be attached to a different port.
    If the message appears "Selected port cannot be deleted. The requested resource is in use ." try the following:
    1. Click Start , Settings and Control Panel. Click Administrative Tools and Services . Select Print Spooler , and then on the General Tab select Stop . Then click Restart to resume the spooler. Then go back to the Properties of the printer and delete the port.
    2. Check Properties for all printers. Change the destination of any printer that is connected to the port to be deleted.
    3. If the previous steps to not work, contact Microsoft for assistance.
    Windows NT 4.0
  7. Click Start , Settings , and then Printers .
  8. Right-click the printer which has the port to be deleted; then choose Properties .
  9. Select the Ports tab, and then put a check on a port other than the one to be deleted, such as File. Click OK .
  10. Right-click the printer again, then select Properties .
  11. Select the Ports tab, then highlight the port to be deleted (but do not check it), and select Delete Port .
  12. If a new port needs to be created, it is helpful to reboot the PC after deleting the old port.
    NOTE: A port cannot be deleted if it is attached to a printer. A different port must first be selected in the printer's Properties before deleting. If multiple printers are attached to the port being deleted, each printer must first be attached to a different port.
If the message appears "Selected port cannot be deleted. The requested resource is in use ." try the following:
  1. Open Control Panel and Services . Select Spooler , then select Stop . Restart the spooler, then go back to the Properties of the printer and delete the port.
  2. Check Properties for all printers. Change the destination of any printer that is connected to the port to be deleted.
  3. If the previous steps to not work, contact Microsoft for assistance.
Windows 95, 98, or Me
The following message may be displayed when a trying to delete an HP Jetdirect Port, an LPR port or any other non-system port: "The port is currently in use by a printer and cannot be removed. Make sure no printer is connected to this port ."
Restart Windows 95/98, and then check all the printers in the Printers folder to make sure they are not connected to the port that is being deleted. If no other printer is connected to that port, try the following:
  1. Click Start , Settings and Printers .
  2. Right-click the printer that has the port to be deleted; then select Properties .
  3. Click the Details tab.
  4. Click the pull down menu on the Print to the Following Port line and select File .
  5. Click Apply . Do not change the Print to the Following Port line; otherwise Windows 95/98 will think that the Port to be deleted is a port that is in use.
  6. Click Delete Port . This will bring up a list of ports.
  7. Highlight the port to be deleted and click OK .
  8. If a new port needs to be created, it is helpful to reboot the PC after deleting the old port.
    NOTE: A port cannot be deleted if it is attached to a printer. A different port must first be selected in the printer's "Properties" before deleting. If multiple printers are attached to the port being deleted, each printer must first be attached to a different port.
If the message appears "Selected port cannot be deleted. The requested resource is in use ." try the following:
  1. Check Properties for all printers. Change the destination of any printer that is connected to the port to be deleted.
If any error persists, try the following:
  1. Add a new printer to port LPT1 .
  2. Open the Properties of the new printer and attach it to the old port to be deleted and select OK out of the Properties window.
  3. Open the Properties of the old printer again and reassign it to LPT1 and select OK out of the Properties window.
  4. Open the Properties of the new printer and delete the old port.
Deleting an HP Internet Printer Connection Port
Use the same steps outlined in the section for Windows NT 4.0 or Windows 2000.The name of the port to be highlighted and deleted is HP Internet Printer Connection Port.
Removing a Jetdirect Port that was Named LPT1
If an older version of HP Jetadmin was used to create an LPT1 Jetdirect Port (or an HP Standard IPX/SPX or TCP/IP port was named LPT1) and LPT1 happens to be a physically defined parallel port in Windows, such a port cannot be deleted through the printer properties. It must be deleted through the registry. This must be done so that a valid HP Jetdirect Port may be configured.
(The last version of HP Jetadmin (obsolete) did not allow LPT1 to be used.)
Run the Jetadmin Uninstaller:
If using HP Jetadmin (obsolete) and HP Jetdirect Ports, download the Jetadmin Uninstaller from the following FTP URLs:
For Windows 95 and 98 ftp://ftp.hp.com/pub/networking/software/remja_9x.exe
For Windows NT 4.0 and Windows 2000 ftp://ftp.hp.com/pub/networking/software/remja_nt.exe
  1. If there is an uninstaller in the HP Jetadmin program group, use it first. The downloaded Uninstaller should look for the uninstaller in the HP Jetadmin program group. If it finds one, it will ask for permission to run to it instead. Choose Yes. Otherwise, run the downloaded Uninstaller and go to Step 4.
  2. Reboot the computer.
  3. Run the downloaded Uninstaller again. The uninstaller asks which of the various components of HP Jetadmin (obsolete) are to be removed. Select those, which are best for the situation. See Figure 1.
    Figure 1: Screen Shot of the Jetadmin Uninstaller
  4. Reboot the computer.
Instructions to use if the uninstaller did not remove the Jetdirect Ports
The following steps are specifically for Windows 95 but should apply to Windows NT and Windows 2000 as well.
CAUTION: To avoid irreparable damage to your system, be extremely careful about altering the registry. Only experienced users should make changes to the registry, and, because it is not possible to undo any actions done using regedit, HP recommends backing up the registry before making changes. For information about how to do this, see the Help topics in Regedit.exe.
  1. Run Regedit and select Export Registry File from the Registry drop-down menu.
  2. Export a Registry backup file to a location for future reference. Import this file if something goes wrong with the Registry Edit process. This will be the backup copy of the registry.
  3. While in Regedit, browse to: \HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print\Monitors
  4. Click + next to the Port Monitor being used, such as HP Jetdirect Port or HP Standard TCP/IP Port.
  5. Click + next to: Ports to expand the list of the individual ports.
  6. Right-click the key (folder) with the name of the port to be deleted.
  7. Select Delete .
  8. When prompted "Are you sure you want to delete this key ," select Yes and the port will be removed from the system.
  9. Close all open applications and restart the computer.


Print this page