PDA

View Full Version : Duplicate ports



Ext User(pacman_j)
03-06-2007, 04:43 PM
Can anyone tell me how the list of ports in
Start\Printers&Faxes\Printer\Properties\Ports are generated ? Are the ports
in the registry?
I'm seeing COM, LPT and my USB laser printer ports all duplicated?
The duplicated ports for the USB printer only appear when I restart Print
Spooler after I've installed the printer. Then the printer stops working.
The extra COM & LPT ports don't appear under Device Manager, so I guess
they're some kind of virtual ports?

Ext User(pacman_j)
04-06-2007, 01:03 PM
The other thing I forgot to mention is that if I click the delete port
button, or the add port button for that matter, I get an error message
telling me "that function is not available" ?

"pacman_j" wrote:

> Can anyone tell me how the list of ports in
> Start\Printers&Faxes\Printer\Properties\Ports are generated ? Are the ports
> in the registry?
> I'm seeing COM, LPT and my USB laser printer ports all duplicated?
> The duplicated ports for the USB printer only appear when I restart Print
> Spooler after I've installed the printer. Then the printer stops working.
> The extra COM & LPT ports don't appear under Device Manager, so I guess
> they're some kind of virtual ports?

Ext User(Dieter)
05-06-2007, 02:33 AM
Hi,

when the spooler starts, it asks each port monitor, which ports it
offers and builds the list you see.
The standard port monitor "Local Port" saves its port list at
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Ports".
If you have an additional "wrong" port monitor installed, you perhaps
see all the ports more than once.
The port monitors are listend in
"HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Pr int\Monitors"
I have 5 of them. Some drivers perhaps have their own port monitor, so
you probably have more. But there should not be two entries with the
Driver "localspl.dll".
The port monitor can decide, if it allows to add new ports. If you can
get rid of the additional one, the problem should be solved. Here is my
list of port monitors and driver entries to compare them with yours:
BJ Language Monitor cnbjmon.dll
Local Port localspl.dll
PJL Language Monitor pjlmon.dll
Standard TCP/IP Port tcpmon.dll
USB Monitor usbmon.dll

Dieter


> The other thing I forgot to mention is that if I click the delete port
> button, or the add port button for that matter, I get an error message
> telling me "that function is not available" ?
>
> "pacman_j" wrote:
>
>> Can anyone tell me how the list of ports in
>> Start\Printers&Faxes\Printer\Properties\Ports are generated ? Are the ports
>> in the registry?
>> I'm seeing COM, LPT and my USB laser printer ports all duplicated?
>> The duplicated ports for the USB printer only appear when I restart Print
>> Spooler after I've installed the printer. Then the printer stops working.
>> The extra COM & LPT ports don't appear under Device Manager, so I guess
>> they're some kind of virtual ports?

Ext User(pacman_j)
07-06-2007, 06:43 PM
Hi,
Thanks for the detailed reply, it was just the sort of info I thought would
help me fix this problem.

I looked in "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Ports" and there are no duplicate ports listed there, only

COM1: Serial Port
COM2: Serial Port
COM3: Serial Port
COM4: Serial Port
LPT1: Printer Port
LPT2: Printer Port
LPT3: Printer Port
File: Print to File

N.B. I'm not writing this message from the PC with the duplicate ports, so I
may have some slight lack of detail or errors in this message.


I looked at "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Pr int\Monitors"
but there is only one "localspl.dll". Also after I un-installed the printer
the two USB printer monitors that are normally present are no longer listed
in the registry.

I downloaded a program called cleanspl.exe and ran it, telling it to delete
tcp/ip monitor and USB monitor, ( I guessed they may have something to do
with this problem) but after uninstalling the USB printer, then restarting
the pc, and re-installing the printer. The duplicate USB printer ports still
re-appeared after I stopped and started the print spooler service ? This is
certainly a puzzle.




"Dieter" wrote:

> Hi,
>
> when the spooler starts, it asks each port monitor, which ports it
> offers and builds the list you see.
> The standard port monitor "Local Port" saves its port list at
> "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Ports".
> If you have an additional "wrong" port monitor installed, you perhaps
> see all the ports more than once.
> The port monitors are listend in
> "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Pr int\Monitors"
> I have 5 of them. Some drivers perhaps have their own port monitor, so
> you probably have more. But there should not be two entries with the
> Driver "localspl.dll".
> The port monitor can decide, if it allows to add new ports. If you can
> get rid of the additional one, the problem should be solved. Here is my
> list of port monitors and driver entries to compare them with yours:
> BJ Language Monitor cnbjmon.dll
> Local Port localspl.dll
> PJL Language Monitor pjlmon.dll
> Standard TCP/IP Port tcpmon.dll
> USB Monitor usbmon.dll
>
> Dieter
>
>
> > The other thing I forgot to mention is that if I click the delete port
> > button, or the add port button for that matter, I get an error message
> > telling me "that function is not available" ?
> >
> > "pacman_j" wrote:
> >
> >> Can anyone tell me how the list of ports in
> >> Start\Printers&Faxes\Printer\Properties\Ports are generated ? Are the ports
> >> in the registry?
> >> I'm seeing COM, LPT and my USB laser printer ports all duplicated?
> >> The duplicated ports for the USB printer only appear when I restart Print
> >> Spooler after I've installed the printer. Then the printer stops working.
> >> The extra COM & LPT ports don't appear under Device Manager, so I guess
> >> they're some kind of virtual ports?
>

Ext User(Tony Edgecombe)
08-06-2007, 08:13 PM
This is a common bug people come across when they write port monitors,
have you got any extra port monitors installed. You can find a list by
opening the Printers folder and from the File->Server Properties menu
select the ports tab and click Add. You will then see a list of the
port monitors installed. Look for one you installed just before the
problem started.

Tony Edgecombe
www.frogmorecs.com
Software for printing

On Jun 7, 6:03 am, pacman_j <pacm...@discussions.microsoft.com> wrote:
> Hi,
> Thanks for the detailed reply, it was just the sort of info I thought would
> help me fix this problem.
>
> I looked in "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
> NT\CurrentVersion\Ports" and there are no duplicate ports listed there, only
>
> COM1: Serial Port
> COM2: Serial Port
> COM3: Serial Port
> COM4: Serial Port
> LPT1: Printer Port
> LPT2: Printer Port
> LPT3: Printer Port
> File:Print to File
>
> N.B. I'm not writing this message from the PC with the duplicate ports, so I
> may have some slight lack of detail or errors in this message.
>
> I looked at "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Pr int\Monitors"
> but there is only one "localspl.dll". Also after I un-installed the printer
> the two USB printer monitors that are normally present are no longer listed
> in the registry.
>
> I downloaded a program called cleanspl.exe and ran it, telling it to delete
> tcp/ip monitor and USB monitor, ( I guessed they may have something to do
> with this problem) but after uninstalling the USB printer, then restarting
> the pc, and re-installing the printer. The duplicate USB printer ports still
> re-appeared after I stopped and started the print spooler service ? This is
> certainly a puzzle.
>
> "Dieter" wrote:
> > Hi,
>
> > when the spooler starts, it asks each port monitor, which ports it
> > offers and builds the list you see.
> > The standard port monitor "Local Port" saves its port list at
> > "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Ports".
> > If you have an additional "wrong" port monitor installed, you perhaps
> > see all the ports more than once.
> > The port monitors are listend in
> > "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Pr int\Monitors"
> > I have 5 of them. Some drivers perhaps have their own port monitor, so
> > you probably have more. But there should not be two entries with the
> > Driver "localspl.dll".
> > The port monitor can decide, if it allows to add new ports. If you can
> > get rid of the additional one, the problem should be solved. Here is my
> > list of port monitors and driver entries to compare them with yours:
> > BJ Language Monitor cnbjmon.dll
> > Local Port localspl.dll
> > PJL Language Monitor pjlmon.dll
> > Standard TCP/IP Port tcpmon.dll
> > USB Monitor usbmon.dll
>
> > Dieter
>
> > > The other thing I forgot to mention is that if I click the delete port
> > > button, or the add port button for that matter, I get an error message
> > > telling me "that function is not available" ?
>
> > > "pacman_j" wrote:
>
> > >> Can anyone tell me how the list of ports in
> > >> Start\Printers&Faxes\Printer\Properties\Ports are generated ? Are the ports
> > >> in the registry?
> > >> I'm seeing COM, LPT and my USB laser printer ports all duplicated?
> > >> The duplicated ports for the USB printer only appear when I restart Print
> > >> Spooler after I've installed the printer. Then the printer stops working.
> > >> The extra COM & LPT ports don't appear under Device Manager, so I guess
> > >> they're some kind of virtual ports?

Ext User(pacman_j)
11-06-2007, 08:23 PM
Hi,

I had 3 port types listed
Local Port
Panasonic KX-P7100 GDI Port Monitor
virprnt

Ran cleanspl.exe and deleted Panasonic KX-P7100 GDI Port Monitor and virprnt.
Add / Remove programs to remove Panasonic printer software.
Rebooted pc.
Printers \ File \ Server Properties \ Ports \ Add Port \ Avail. Port Types
now only lists Local Port.

Stop and start Print Spooler service.
Start \ Printers and Faxes \ Server Properties \ Ports lists LPT1,2,3
COM1,2,3,4 File: KXP1,2,3,USB (Desc. KX-P7100 GDI Port) looks good, no
duplicate

ports listed. But I can't understand where those KXP1,2,3,USB ports are
coming from, as I have done all I can to delete all panasonic printer
components??

Searched registry for any KXP1, found 2 locations.
HKLM\hardware\devicemap\parallel ports\\\device\kxpwinstylerpto
\device\kxpwinstylerlpto \dosdevice\kxp1
hklm\software\microsoft\windows nt\currentversion\ports\\kxp1:
hklm\software\microsoft\windows nt\currentversion\ports\\kxp2:
hklm\software\microsoft\windows nt\currentversion\ports\\kxp3:
hklm\software\microsoft\windows nt\currentversion\ports\\kxpusb:
I deleted these 4 entries.

I went back to Start \ Printers and Faxes \ File \ Server Properties \ Ports
and to my surprise I was able to use the Delete Port button and deleted
KXP1,2,3,

USB ports. Previously when I had tried to delete ports it always failed,
and caused the Print Spooler to stop.

Rebooted PC.

Searched registry for any KXP1, found 1 location only,
HKLM\hardware\devicemap\parallel ports\\\device\kxpwinstylerpto

Powered on printer. Installed KX-P7100 USB drivers and software normally.

Start \ Printers and Faxes \ File \ Server Properties \ Ports highlighted
KXPUSB port. Clicked Configure Port, hard drive thrashed for 10 seconds then
got

message "An error occurred during port configuration. Operation could not
be completed." I wonder if this error contributes to the duplicate ports
problem ?

Looked at Start \ Printers and Faxes \ File \ Server Properties \ Ports
list shows
LPT1,2,3 COM1,2,3,4 File: File: KXP1,2,3,USB (Desc. KX-P7100 GDI Port)
KXP1,2,3,USB (Desc. Local Port)

I can't figure out what changed to cause the duplicate File: and
KXP1,2,3,USB (Desc. Local Port) ports?

Closed Printers and Faxes window, then got error when tried to re-open it.
Caused by Print Spooler stopped.

Started Print Spooler.
Start \ Printers and Faxes \ only shows Add Fax, Panasonic Printer has
disappeared. Print Spooler had stopped again.

Add / Remove programs to remove Panasonic printer software again.
Rebooted pc.

Ext User(pacman_j)
18-06-2007, 06:43 PM
Removed Panasonic software, details said couldn't remove one .dll from
C:\windows\systems32\spool\drivers\w32x86\3. Used unlocker to delete that
..dll file. Ran delp7100.exe. Rebooted. Power on printer, installed panasonic
software and drivers. Opened Printers\File\Server prop.\Ports found File:,
File:, kxp1,2,3,usb (gdi ports) only.
Tried to delete Printers\File\Server prop.\Ports File:, but got error
message "selected port cannot be deleted. Operation could not be completed".
Then noticed extra kxp1,2,3,usb (local ports) appeared. Tried to delete
kxpusb (local port) but get message "selected port cannot be deleted. The
print spooler service is not running"

Used Control Panel\ Add or Remove Programs to delete panasonic kx-p7100. A
message box appears and checks off a list of components as they are deleted.
At the end of the process there is a details button in the message box. I
clicked the details button and it said C:\windows\systems32\kplanmon.dll and
another kp?????? file were not deleted.
C:\windows\systems32\ contains 3 files kplanmon.1, kplanmon.dll and
kpportmon.dll. Couldn't delete kpportmon.dll as it's in use by Print Spooler.
Stopped Print Spooler, and deleted those 3 files.
Ran delp7100.exe utility. Rebooted PC.

Powered on printer. Installed panasonic software and drivers normally.
Stop and start Print Spooler.
Printed document successfully, despite Start \ Printers and Faxes \ File \
Server Properties \ Ports list still showing duplicate ports LPT1,2,3
COM1,2,3,4 File: File: KXP1,2,3,USB (Desc. KX-P7100 GDI Port)
KXP1,2,3,USB (Desc. Local Port).

I suspected the kplanmon.1 file was a corrupted version of kplanmon.dll and
may have been causing the print spooler problems.
Kept using the printer for a couple of days sucessfully.

Checked Start \ Printers and Faxes \ File \ Server Properties \ Ports list
shows
LPT1,2,3 COM1,2,3,4 File: File: KXP1,2,3,USB (Desc. KX-P7100 GDI Port)
KXP1,2,3,USB (Desc. Local Port).
Printed a page ok.
Restarted Print Spooler.
No change in Ports list.
Restored kplanmon.1 to C:\windows\systems32\
Restarted Print Spooler.
No change in ports.
Printed a page ok.
Appears that kplanmon.1 in C:\windows\systems32\ is not the cause of the
printer stopping.
Re-deleted kplanmon.1 from C:\windows\systems32\.

The fault has been fixed and the printer is now working normally, and
continues to work even if the Print Spooler is restarted or the pc is booted.

I still do not know what was causing the Panasonic Kx-P7100 printer to stop
working after the Print Spooler was stopped and started.

Thanks Dieter and Tony for your help.


"pacman_j" wrote:

> Hi,
>
> I had 3 port types listed
> Local Port
> Panasonic KX-P7100 GDI Port Monitor
> virprnt
>
> Ran cleanspl.exe and deleted Panasonic KX-P7100 GDI Port Monitor and virprnt.
> Add / Remove programs to remove Panasonic printer software.
> Rebooted pc.
> Printers \ File \ Server Properties \ Ports \ Add Port \ Avail. Port Types
> now only lists Local Port.
>
> Stop and start Print Spooler service.
> Start \ Printers and Faxes \ Server Properties \ Ports lists LPT1,2,3
> COM1,2,3,4 File: KXP1,2,3,USB (Desc. KX-P7100 GDI Port) looks good, no
> duplicate
>
> ports listed. But I can't understand where those KXP1,2,3,USB ports are
> coming from, as I have done all I can to delete all panasonic printer
> components??
>
> Searched registry for any KXP1, found 2 locations.
> HKLM\hardware\devicemap\parallel ports\\\device\kxpwinstylerpto
> \device\kxpwinstylerlpto \dosdevice\kxp1
> hklm\software\microsoft\windows nt\currentversion\ports\\kxp1:
> hklm\software\microsoft\windows nt\currentversion\ports\\kxp2:
> hklm\software\microsoft\windows nt\currentversion\ports\\kxp3:
> hklm\software\microsoft\windows nt\currentversion\ports\\kxpusb:
> I deleted these 4 entries.
>
> I went back to Start \ Printers and Faxes \ File \ Server Properties \ Ports
> and to my surprise I was able to use the Delete Port button and deleted
> KXP1,2,3,
>
> USB ports. Previously when I had tried to delete ports it always failed,
> and caused the Print Spooler to stop.
>
> Rebooted PC.
>
> Searched registry for any KXP1, found 1 location only,
> HKLM\hardware\devicemap\parallel ports\\\device\kxpwinstylerpto
>
> Powered on printer. Installed KX-P7100 USB drivers and software normally.
>
> Start \ Printers and Faxes \ File \ Server Properties \ Ports highlighted
> KXPUSB port. Clicked Configure Port, hard drive thrashed for 10 seconds then
> got
>
> message "An error occurred during port configuration. Operation could not
> be completed." I wonder if this error contributes to the duplicate ports
> problem ?
>
> Looked at Start \ Printers and Faxes \ File \ Server Properties \ Ports
> list shows
> LPT1,2,3 COM1,2,3,4 File: File: KXP1,2,3,USB (Desc. KX-P7100 GDI Port)
> KXP1,2,3,USB (Desc. Local Port)
>
> I can't figure out what changed to cause the duplicate File: and
> KXP1,2,3,USB (Desc. Local Port) ports?
>
> Closed Printers and Faxes window, then got error when tried to re-open it.
> Caused by Print Spooler stopped.
>
> Started Print Spooler.
> Start \ Printers and Faxes \ only shows Add Fax, Panasonic Printer has
> disappeared. Print Spooler had stopped again.
>
> Add / Remove programs to remove Panasonic printer software again.
> Rebooted pc.
>
>

Hosted by: Eyo Technologies Pty Ltd. Sponsored by: Actiontec Pty Ltd