Microsoft KB Archive/81158

= Machine Search - Microsoft Mouse Driver (MS-DOS and Windows) =

Article ID: Q81158

The information in this article applies to:


 * Microsoft Mouse driver for MS-DOS, versions 6.x, 7.x, 8.x, and 9.0
 * Microsoft Mouse driver for Windows, versions 8.x and 9.0

SUMMARY
When the Microsoft Mouse driver is loaded, it looks for an attached mouse in a certain order. This order differs in MS-DOS and Microsoft Windows and also may differ depending on the version of the mouse software you are using.

MORE INFORMATION
This article describes the search order used in both MS-DOS-based and Windows-based systems. The information is arranged as follows:


 * MS-DOS-based systems using mouse driver version 8.2 or earlier
 * MS-DOS-based systems using mouse driver version 9.0
 * Windows-based systems using mouse driver version 8.2 or earlier
 * Windows-based systems using mouse driver version 9.0

More Information:

MS-DOS-Based Systems Using Mouse Driver Version 8.2 or Earlier
If you are using version 8.2 or earlier, the Microsoft Mouse software searches in MS-DOS-based systems as follows:

MOUSE.INI (DeviceType= line) InPort1 InPort2 Bus PS/2 Serial COM1 Serial COM2 Note: If you force the Microsoft Mouse software to install to a certain port, it looks only at that port UNLESS it is the PS/2 port. If you force the Microsoft Mouse software to install to the PS/2 port by typing the following or putting it in the AUTOEXEC.BAT file

c:\mouse> mouse /z the software starts the search at the PS/2 port but then looks at COM1 and then COM2 if it does not find the Microsoft Mouse on the PS/2 port.

MS-DOS-Based Systems Using Mouse Driver Version 9.0
If you are using version 9.0, the Microsoft Mouse software searches in MS-DOS-based systems as follows:

MOUSE.INI (DeviceType= line) PS/2 Serial COM1 Serial COM2 InPort1 InPort2 Bus

Windows-Based Systems Using Mouse Driver Version 8.2 or Earlier
If you are using version 8.2 or earlier, the Microsoft Mouse software searches in Windows-based systems as follows:

MOUSE.INI (DeviceType= line) MS-DOS driver function 36 InPort1 InPort2 Bus PS/2 Serial COM2 Serial COM1 Note: If you force Windows to find the Microsoft Mouse through the MOUSE.INI file, it looks only at the port specified UNLESS you specify the following in the MOUSE.INI file:

MouseType=PS2 In this case, the Microsoft Mouse software searches the PS/2 port, then COM2, then COM1 if no Microsoft Mouse is found on the PS/2 port.

Because of the different search sequences, the Microsoft Mouse may work in MS-DOS but not in Windows. If this is the case, use the MOUSE.INI file to force Windows to find the Microsoft Mouse. If that option is not available, put the Microsoft Mouse on the port that Windows finds it on and then force the Microsoft Mouse to be found in MS-DOS by using command-line switches.

Windows-Based Systems Using Mouse Driver Version 9.0
If you are using version 9.0, the Microsoft Mouse software searches in Windows-based systems as follows:

MOUSE.INI (DeviceType= line) PS/2 Serial COM2 Serial COM1 InPort1 InPort2 Bus KBCategory: kbsetup kbhw KBSubcategory: Additional reference words: serial serial1 serial2 COM 7.04 8.00 8.10 8.0 8.1 8.2 9.0