How do I disable mouse detection on a COM port (for UPS usage)?

ITPro Today

January 8, 2000

1 Min Read
ITPro Today logo in a gray background | ITPro Today

A. Follow the steps below after first removing the UPS from the computer

  1. Start a command prompt (Start - Run - Command)

  2. Move to the boot partition
    c:
    cd

  3. Change the attributes of boot.ini so it can be edited
    attrib boot.ini -r -s

  4. Edit the file (edit boot.ini) and for each line with multi(x) (for IDE) and scsi(x) (for SCSI) drives add at the end
    /noserialmice=comx ----------------------- where x is the com port number
    Exit edit

  5. Set the permissions back on boot.ini
    attrib boot.ini +r +s

  6. Shutdown NT and power off

  7. Attach the UPS

  8. Boot the machine and start NT, and NTDETECT will no longer try and search for a mouse on that com port

The /NoSerialMice switch only disables the Microsoft Serial Mouse device driver.

If you have installed any third-party mouse drivers, go into Control Panel - Devices and disable their Serial Mouse drivers as well. For example, if you installed the Logitech Mouseware V8.0 for a Trackman Marble, you must also disable the "Logitech Serial Mouse" device, called "lsermous" (note that the Arial lower-case l looks like a capitol i).

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like