My first troubleshooting step was to do a virus scan. There were no viruses. Note that I only did an online virus scan.
Next, I tried a different USB port with the mouse, same problem.
So next I try a different mouse. Its a logitech cordless optical mouse where the mouse plugs into a mouse port and the keyboard can plug into the usb port or by an adapter, to the keyboard port. So I try with the mouse in the mouse port but the keyboard with the usb port.
So I move the keyboard to the keyboard port with the adapter. Everything worked fine for about 5 hours then it started again.
So at this point, I'm thinking that there is some conflict with the mouse software but I'm out of troubleshooting steps and I don't know how to fix it.
Can anyone help?