0

I have a pc at work which its com port always hangs on boot up. It is windows 7. In order to get it to work you need to disable and enable the com port manually. This is not an option for the setup of the computer.

Does any one have a script or have the code which will allow me to disable and enable a com port?

I want to run the script on start up to automatically disable and enable the port.

  • 1
    you cant disable the port in BIOS? – Keltari Jan 21 '13 at 10:52
0

Microsoft's comdisable.

For example, to enable COM port 2:

Use:

comdisable /enable com2

There is a disable as well and listing of ports.

You can disable before the computer shutsdown.

EDIT: You can try and call the script at startup but it might not work if Windows holds before.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.