My daughter had the same problem with her laptop. Windows 8.1 was installed and the whole thing was very, very slow. CPU running at 98% with nothing loaded.
The cause was McAfee antivirus. When I (finally) got rid of that the laptop ran like a young gazell. Upgraded to Windows 10 (her choice not mine) and it was like new.