I have 2 wired mice and they both have the same problem, so I don't think it's just the mouse itself. When the mouse stops working, unplugging and replugging don't fix it, only restarting does. Some methods I tried:
- Uncheck the "allow computer to turn off device to save power" boxes in device manager.
- Disable USB suspension in power setting.
- Check mouse driver, up to date.
- Switch USB ports.
- Disable USB legacy support in BIOS.