• Home
  • About 404TS
  • Contact

404 Tech Support

Where IT Help is Found

  • Articles
    • Code
    • Entertainment
    • Going Green
    • Hardware, Gadgets, and Products
    • Management
    • Network
    • News
    • Operating Systems
    • Security and Privacy
    • Software
    • System Administration
    • Talking Points
    • Tech Solutions
    • Web
    • Webmaster
  • Reviews
  • Media
    • Infographics
    • Videos
  • Tech Events
  • Tools
    • How do I find my IP address?
    • Browser and plugin tests
  • Get a Technical Consultation
You are here: Home / Articles / Hardware, Gadgets, and Products / USB and TCP/IP printer ports not listed

USB and TCP/IP printer ports not listed

2008-08-13 by Jason

In conjunction with using cleanspl.exe to remove printers, printer drivers, and clean the print spooler, you may run into some side effects. One problem I saw was the following error message when trying to install a USB printer:

“Cannot install this hardware. An error occurred during installation. The specified port is unknown.”

Most likely what has happened, since this is a USB printer, the USB port has been removed as well. As long as USBMon.dll is located in your C:Windowssystem32 directory, you can add a registry key and be back in business.

Go to Start, Run… and enter regedit.
Browse to: HKEY_LOCAL_MACHINESystemCurrentControlSetControlPrintMonitors
Right click on the ‘Monitors’ key and choose to export. Save the .reg file somewhere you will be able to find as this will be a backup before we start making changes.
If there is no key for ‘USB Monitor’ under ‘Monitors,’ right-click on ‘Monitors’ and choose New -> Key.
Rename the new key to USB Monitor.
There should be two entries in the USB Monitor key.
The first would most likely be automatically created.

Name: (Default)
Type: REG_SZ
Data: (value not set)

Create the other value under ‘USB Monitor’ by right-clicking in the white space on the right-hand pane. Go to New -> String Value.
Change the name and data to match this:

Name: Driver
Data: usbmon.dll

The USB Port Monitor Registry entry should look like this.
The USB Port Monitor Registry entry should look like this.

Restart the computer and this problem should go away and you should be able to install the driver for the USB printer successfully.

If the usbmon.dll is not located in C:Windowssystem32, you might try copying the file from another machine with the same operating system.

Frequently, you might also find that when trying to create a new printer port, the port type ‘Standard TCP/IP Port’ is not listed as an option in the drop-down. You can easily restore this ability in a similar manner.

For this problem, you’ll want to confirm that tcpmon.dll is located in C:WINDOWSsystem32. Still in RegEdit and also at HKEY_LOCAL_MACHINESystemCurrentControlSetControlPrintMonitors, look to see if there is a key under ‘Monitors’ for ‘Standard TCP/IP Port’. If not, create one. In this key, there should be two values. The first would most likely be automatically created.

Name: (Default)
Type: REG_SZ
Data: (value not set)

Create the other value under ‘USB Monitor’ by right-clicking in the white space on the right-hand pane. Go to New -> String Value.
Change the name and data to match this:

Name: Driver
Data: tcpmon.dll

The Standard TCP/IP Port key should look like this.
The Standard TCP/IP Port key should look like this.

Create a key under ‘Standard TCP/IP Port’ called ‘Ports.’

There will be four values under the ‘Ports’ key.

Name: (Default)
Type: REG_SZ
Data: (value not set)

The other three should be created by right-clicking on the white space in the right-hand pane and choosing New -> DWORD Value. Rename them and change the Data value to match these specifications:

Name: LprAckTimeout
Data: 0x000000b4 (180) (as Hex)

Name: StatusUpdateEnabled
Data: 0x00000001 (1) (as Hex)

Name: StatusUpdateInterval
Data: 0x0000000a (10) (as Hex)

The Ports Key under Standard TCP/IP Port should look like this.
The Ports Key under Standard TCP/IP Port should look like this.

Restart the computer and a Standard TCP/IP Port should again be an option in the drop-down for adding a printer.

Filed Under: Hardware, Gadgets, and Products, Tech Solutions

Trending

  • Lockheed Martin targeted with Adobe Acrobat vulnerability? Adobe schedules patch
    In Security and Privacy
  • Bill Gates’ journey
    In Infographics
  • Infographic: Your Personal Data Online
    In Infographics, Security and Privacy

Latest Media Posts

Find Out Where To Download SNES ROMs

Find Out Where To Download SNES ROMs

Multifunctional Video Conversion Tools – Wondershare Video Converter

Multifunctional Video Conversion Tools – Wondershare Video Converter

  • Popular
  • Latest
  • Today Week Month All
  • How to ‘Unblock’ multiple files at a time with PowerShell How to 'Unblock' multiple files at a time with PowerShell
  • Increase IIS Private Memory Limit to improve WSUS availability Increase IIS Private Memory Limit to improve WSUS availability
  • Read the Event Logs on Windows Server Core Read the Event Logs on Windows Server Core
  • SOLVED: “This modification is not allowed because the selection is locked.” SOLVED: "This modification is not allowed because the selection is locked."
  • Command line to take ownership and change permissions Command line to take ownership and change permissions
  • Making Distributed Software Development Work: Strategies and Best Practices for Managing Remote Teams Making Distributed Software Development Work: Strategies and Best Practices for Managing Remote Teams
  • customer contactless payment for drink with mobile phon at cafe counter bar,seller coffee shop accept payment by mobile.new normal lifestyle concept The Latest Innovations In Payment Technology
  • How Digital Technology Brought the Rise of the CMO   How Digital Technology Brought the Rise of the CMO  
  • How to Purchase Cryptocurrencies? How to Purchase Cryptocurrencies?
  • Top 6 necessary aspects to consider when hiring Angular developers Top 6 necessary aspects to consider when hiring Angular developers
Ajax spinner

Elevator Pitch

404 Tech Support documents solutions to IT problems, shares worthwhile software and websites, and reviews hardware, consumer electronics, and technology-related books.

Subscribe to 404TS articles by email.

Recent Posts

  • Making Distributed Software Development Work: Strategies and Best Practices for Managing Remote Teams
  • The Latest Innovations In Payment Technology
  • How Digital Technology Brought the Rise of the CMO  

Search

FTC Disclaimer

404TechSupport is an Amazon.com affiliate; when you click on an Amazon link from 404TS, the site gets a cut of the proceeds from whatever you buy. This site also uses Skimlinks for smart monetization of other affiliate links.
Use of this site requires displaying and viewing ads as they are presented.

Copyright © 2023 · Magazine Pro Theme on Genesis Framework · WordPress · Log in