Dear ValtteriLemmetti,in that case I recommend trying to access the computer in safe mode;
Press the Windows key and type: msconfig press Enter;
Click on System startup and check the options: Safe startup and Alternative Shell;
Click Apply and restart your PC;
Now open CMD (Command Prompt) as administrator;
Copy and paste the commands below followed by Enter:
Sfc /ScanNow
DISM /Online /Cleanup-Image /ScanHealth
Dism /Online /Cleanup-image /RestoreHealth
chkdsk C: /f /r
After finishing the processes, restart the PC normally and check the behavior;
I hope I helped, even more!