Boot in safe mode and look in the following files
autoexec.bat (in the root)
config.sys (in the root)
win.ini (in the Windows or Windows/system folder)
system.ini (in the Windows or Windows/system folder)
Take out any and all references to mice.
Save the modified files and reboot - your system may then pick up the mouse afresh and detect it correctly.