Here is a problem that happened to a customer. Windows would freeze for a half-second then unfreeze for a few seconds, and repeat forever. It would not freeze in safe mode. Disabling or uninstalling the video card driver fixed the problem, but that caused other problems. This was a HP all-in-one. The fix was to update the BIOS (actually the UEFI). After a BIOS update, the problem was fixed. I would also disconnect the internet and do a clean install of the video card driver. You have to disconnect the internet because Microsoft thinks they know better than you and will try to reinstall the video card driver.

Some other websites mentioned that you need to update the video card driver to fix this problem. I actually did that first. But it didn’t fix the problem. On a hunch, I tried updating the BIOS. Since this computer came with Windows 8.1, on HP’s website I had to select Windows 8.1 as the OS before the BIOS updates appeared. (P.S. I do realize it really is an UEFI, but the HP website still calls it the BIOS.)