ComPortMan V0.9.6 - COM-Port Manager for Windows
 
Home

  This page is available in German language too

[Configuration] [News] [Prices] [Download]
 
  What it is
 
ComPortMan is a Windows service that gives control over Windows' COM port assignment for COM ports. Running as service makes it independent of the logged on user's privileges, so there is no need to give the users the privilege to change COM ports.
You can define new default COM port numbers by several criteria.

 

  Getting Started
 
When a new device which exposes a COM port appears in the system then Windows assigns the first COM port number which has never been used before. So the port numbers get higher and higher with each new device.
You can change the port number assignments in the Windows Device Management with a lot of mouse clicks (and with admin privileges) but you have to do it again for every new device.
And for USB devices that have no serial number you have to do it too when you attach it to a different USB port.

With ComPortMan you can

  • pre-define new default COM port numbers depending on several criteria
  • let show a balloon tip with the assigned COM port(s)
All functions are applied to COM port drives at the moment they are being attached and when the ComPortMan service starts up.

ComPortMan runs as Win32 service under Windows 2000, XP, Server 2003, Vista, Windows 7/8/10 and all the Server Editions. An x64 version for the x64 Edition of Windows is available too.

 

  Installation
 
Unzip the distribution (ComPortMan.ZIP) file to "C:\Program Files" (an ComPortMan folder is included). Under Vista and Win7 I suggest a different folder, for instance "C:\Tools" to prevent trouble caused by the Windows "Virtual Store" where the ComPortMan.INI might be redirected to without telling the user.

Then enter your preferred configuration into the ComPortMan.INI (see below). There is a sample file included called ComPortMan_sample.INI. Either create a new ComPortMan.INI or rename the sample.

If you are logged on with administrator privileges you can simply install it by starting the

_service_register.cmd
Without administrator privileges you will be prompted for them.

You can change the ComPortMan.INI without restarting the service because it's checked each time a new drive is attached.

You can uninstall the service using parameter -deregister:

_service_deregister.cmd
Both can be done without the message box by using the following ComPortMan commandline parameters
ComPortMan -silentregister
ComPortMan -silentderegister

It returns Errorlevel 0 on success, 1 on failure.

You can stop and start the installed service by means of the _service_stop.cmd and _service_start.cmd.

 

  Configuration
 
ComPortMan is configured thru a text file, the ComPortMan.INI. The ComPortMan.INI is read from the folder of the ComPortMan.EXE.
If required, read at Wikipedia how INI files work.


Sample: New default COM port numbers for USB to serial devices

[ComPorts]
BusType=USB
PortNames=COM3,COM4,COM5,COM6
Have a look into the help file ComPortMan_ENG.CHM for more details.
The help file is available online as HTML version too.
If you get the 'cannot display the webpage' error then the help file has the NTFS file attribute 'downloaded from untrusted source' and Microsoft doesn't trust its own CHM file format. To fix this right click the ComPortMan_E.CHM, select Properties and click Unblock.


Balloon Tips

ComPortMan can show a balloon tip with information about the COM port(s) of a just attached device:

[BalloonTips]
Enabled=1
balloon

 

  History
 
For the complete history check out the help file which is available online as HTML version too.

V0.9.6.0 (07 Feb 2017)

  • New: Criteria Location and ParentLocation
  • Bugfix: Generating a full report did not work in ComPortInfo
V0.9.5.0 (10 Dec 2016)
  • New: ComPortMan detect COM port devices which failed to start, for instance because their port number is in use. To prevent this, so far ComPortMan changed the port number to 200 up on removal to ensure the device starts when attached next time. This is no more necessary. Furthermore ComPortMan detects if a device starts but without creating a COM port because it is in use. Both is then fixed by changing the port number and restarting the device.
  • New: When a port device is removed whose port was changed in quick&dirty mode then its driver will try to delete the former port. If this one is in use meanwhile by another device the ComPortMan restores it immediately.
  • New: ListComPorts command line tool replaced by the GUI tool ComPortInfo
V0.9.4.0 (13 July 2015)
  • Bugfix: On -install and -uninstall ComPortMan V0.9.3 did nothing but opening the help; for three month no one told me
V0.9.3.0 (17 May 2015)
  • Bugfix: ComNameArbiterClean did not work correctly
  • Bugfix: Fixing FriendlyNames didn't always work
  • New: BalloonTips on removal
V0.9.2.0 (10 May 2015)
  • New: FriendlyName is checked and fixed even ComPortMan does not change the port number
  • New: Port number is set as used in the "COM Name Arbiter" registry key, even ComPortMan does not change the port number; makes sense because Windows does this only when the device is installed but not on subsequent arrivals
  • New: Port number collisions are detected and fixed even when ComPortMan does not change the port number (on arrival only, not on service startup)
V0.9.1.0 (01 Oct 2014)
  • New: COM port of device with class "Modem" are handled
V0.9.0.0 (11 May 2014)
  • Bugfix: For USB devices attached to USB3 controllers the USB port name was wrong
V0.8.9.0 (18 Feb 2014)
  • Bugfix: For devices with device interface GUID_DEVINTERFACE_USB the removal was not processed
  • New: Setting RemoveDosDeviceNameOnRemoval
V0.8.8.0 (17 Feb 2014)
  • New: Works with device which have the device interface GUID_DEVINTERFACE_SERENUM_BUS_ENUMERATOR (so far only GUID_DEVINTERFACE_COMPORT)
  • Bugfix: USB port not determined on Texas Instrumens USB3 controllers
V0.8.7.0 (15 May 2013)
  • New: After removal of a COM port ComPortMan can remove this device from the Windows device management, see Settings
V0.8.6.0 (15 May 2013)
  • Bugfix: When assigning a COM-port for a new device the same port is changed for all non-present devices to ensure their driver can start if the are attached at the same time
V0.8.5.0 (04 July 2012)
  • Bugfix: -silentstop (used by the MSI) was not implemented
V0.8.4.0 (03 Juli 2012)
  • Bugfix: -install and -uninstall did not work in V0.8.3
V0.8.3.0 (10 June 2012)
  • Bugfix: Wrong balloontip if multiple different COM devices attached to the same USB hub
  • Change: The first digit of the USB port name has been changed to be compatible with USBDLM and UsbTreeView
V0.8.2.0 (1 March 2012)
  • Bugfix: COM-port removed if all configured ports are not available
V0.8.1.0 (27 Feb 2012)
  • Bugfix: Detection of mulit-port-adaptors as such failed with some devices
  • New: "Quick-and-dirty mode" is default, see Settings
V0.8.0.0 (27 Feb 2012)
  • New: Fast "Quick-and-dirty mode" available, see Settings
  • New: Windows COM-port reservation can be removed, see Settings

 

  Download
 

For home users I suggest the ZIP file. Just unzip to "C:\Program Files" and run the _service_register.cmd.
The _edit_ini.cmd opens the ComPortMan.ini file (or creates one). It asks for Adminstrator privileges. Without these the INI file would be redirected to the "Virtual Store" where it is useless.
The MSI is for admins who want to deploy the software in their network. It installs without any feedback to "%ProgramFiles%\ComPortMan". An MSI with integrated ComPortMan.INI is not difficult to create, see ComPortMan help under Creating an MSI. There is also some information about using the MSI for ComPortMan updates.

The software is fully functional and does not expire. There is no 'full version'.

Download latest release:
Win32:
http://www.uwe-sieber.de/files/comportman.zip
(about 233 KB)

http://www.uwe-sieber.de/files/comportman.msi
(about 274 KB)

x64:
http://www.uwe-sieber.de/files/comportman_x64.zip
(about 251 KB)

http://www.uwe-sieber.de/files/comportman_x64.msi
(about 290 KB)

 

  Conditions and Prices ComPortMan

ComPortMan is Freeware for private and educational (schools, colleges, universities) use only. The students shall outnumber all others.
Otherwise one licence per computer is required after a 30 day test period even though the software does not expire.

To support admins in schools which are often voluntary workers I made ComPortMan freeware for schools, colleges and universities. But that's the line I've drawn and even your organization is non profit, good and important I have to say, it's beyond that line. Ask me for a discount in this case.

Prices with effect from Jan 2012
(Euro prices are constant, USD prices are floating):

Purchase of: 
Price per licence
1 to 9 licences
15.00 USD
10 to 99 licences
9.00 USD
100 to 999 licences
6.75 USD
1000 to 9999 licences
4.50 USD
>10000 licences
2.25 USD

You can order directly at me, I send offer and invoice on request.
An online order isn't available because the KAGI Online Shopclosed after 22 years.

The licence is delivered as licence number by eMail or on the invoice. It's not required for the software, the software is not limited in any way and it does not expire.

All licences are not limited in time and valid for future versions too.

 


Counter since Feb. 1998

last change: 07 Feb 2017

Impressum

The phone number is here because of the strange german law. Please don't call me, write an eMail instead.

Home