Click here for important information about

Change Port command

Microsoft Windows xp professional w/serv...
August 10, 2010 at 06:28:03
Specs: Windows XP, Intel Atom/2GB
I have to remotely change the COM port from 1 to 2 on 200 machine all over the country. I found this article that I can create a Batch file with.
The problem is the "Change" command is not included in XP. Even my XP Profesional PC's does not have the command included.
Does anyone know how to install the command, or and alternitive solution. I have tried copying the Change.exe from Windows7 but this does not work. It looks like MSDOS is directly asossiated with the OS so I cannot even upgrade it?

See More: Change Port command

August 10, 2010 at 07:12:49
Why do you need to do this?
change.exe configures only the DOS subsystem and will have no effect on anything but DOS applications. Is this what you want to do?

If it is and you have a legal copy of an older version of DOS you might find it there.

I suspect that change.exe in Windows 7 has a completely unrelated function.

Report •

August 10, 2010 at 07:37:22
Thought as much.
We are upgrading our POS software. The original software used EPOS to print to the Till printer. The software was hosted through Citrix. They required COM1 to be unused. The only way they could do this was to change the Default COM number to COM2. This was done through Device management. Now the new software does not work through EPOS and needs the Default COM to be COM1. I want to avoid having to go to each store and changing the COM number manually. If there is no utility or command I will try editing the registry.

Note: Mistake on my post “I have to remotely change the COM port from 1 to 2”
Should have been from 2 back to 1.

Thanks for reply

Report •

August 10, 2010 at 17:22:28
I'm not familiar enough with what it is you're trying to accomplish exactly - but I'd suggest taking a look at devcon (

That might get you pointed in the right direction.

The other place I'd start (coming from managing triple the amount of POS terminals) would be to look for a registry entry that can be changed to modify the com port settings. It would make things infinity easier if that were the case.

Report •

Related Solutions

August 11, 2010 at 07:25:23
That worked (big applause to Viddywell)
Don’t know how to change the COM port with it, but I simply used the command "Devcon remove 'mydeviceid' " then rebooted and it windows installed the device again with the default COM 1 instead of 2. This I can script and deploy to all my machines. Thanks again.

Report •

August 11, 2010 at 13:13:32
Good to hear! Glad it worked out :)

Report •

Ask Question