It may not be hardware problem... it maybe a kernel(UNDERSTAND WHAT IT IS??) problem...meaning something has got corrupted..could be registry too???..my best advice to u is reinstall the OS.
Somes say if it so then msg should display error in kernel...NO it does not have to always...cos ure OS is still functioning right..nothing wrong with mouse....Hard disk...display....right?? Windows is loading as well right...???
OR
else check all usb ports and ps/2 ports whether they get stuck...use ure mouse usb and a ps2.... after windows load....check memory levels while operating the computer...could be memory problems....
And get the latest antivirus versions updated and keep the firewall on always...set the setting to inform of any changes a software wants to apply when installing and set password to the virus guard. Also DENY all updates to Windows... cos it may be Microsoft that is doing this...going after priate copies.. dont let any third party software to update your OS.
Maintain a monthly sschedule to do a rootkit scan ALWAYS. if u are using torent download manager software...for every download u make...scan it..make sure what you download is what you only want!!!...I dont trust these malware bytes and other software to block spam...only enable scripts to sites that u regularyly visit. if there is spam ads on the site... dont visit it again..
Thats all folks!!!