Re: How do I clean out unwanted virtual COM ports?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



"Alphaxi" <Alphaxi@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:6337D9D2-1685-41B2-832E-0582B4E92564@xxxxxxxxxxxxxxxx


"MartyG" wrote:

I have a hardware test project where I connect USB to Serial devices to
my
computer. The devices have unique serial numbers and so each time
different
device is plugged into my USB the New Hardware Wizard launches and
assigns
the next available COM port number to the device. There are two things I
want
to do:

1) I want to free up COMxx port numbers consumed by devices I will not
see
again.

Why would you expect Windows to know what devices you will not see again?


2) I want to control the assignment of COM port numbers in some automated
way (via my test software) to assign the port number I want.

That would be a feature of the test software, which is telling Windows what
port to create. Windows is not dictating the port number, except for
blocking in-use ports.

Properly designed software should remove the virtual port when it shuts
down. It should not orphan those ports.

You might consider contacting the publisher of the test software for a
solution, since it is the behaviour of *that* software that you're asking
about, not Windows. Windows is just doing what it's told to do.

HTH
-pk

I am having the exact same problem, has anyone responded?


.



Relevant Pages

  • Re: keeping ports open
    ... If a port is open, it means that 1) a software or service is running on your ... and 2) you're not using a firewall or your firewall isn't ... Use firewall software and hardware and antivirus software that is ... Follow the instructions for hardening Windows and IIS at ...
    (microsoft.public.security)
  • [Full-Disclosure] ron1n phone home, episode 4
    ... Hacking from Windows 3.x, 95 and NT ... Use secret Windows 95 DOS commands to track down and port surf computers ... Download hacker tools such as port scanners and password crackers designed ... Now you have the option of eight TCP/IP utilities to play with: telnet, ...
    (Full-Disclosure)
  • Re: How to Maintain an IIS Server?
    ... > server running on a Windows 2000 server. ... before a firewall and antivirus have been installed]. ... open ports; however, this will not identify which program is using the port. ...
    (microsoft.public.inetserver.iis.security)
  • RE: xp pro sharing printer
    ... How to troubleshoot network printing problems in Windows XP ... SMB-connected print server ... Incompatible print driver ... and then redirect the port to the network server. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Is secedit.exe left by a hacker?
    ... >> tested on port 445. ... >> I have a Linksys router that I use as a firewall to my ... >investigate the files on your computer - antivirus with ... >windows and everything else. ...
    (microsoft.public.win2000.security)