okay thank you guys i ran my computer on safe mode by spamming f8. i ran system restore and it was fine. If it didn't work then i suggest that you should download the malware byes anti virus software and run it. however system security will most likely disable you to run any programs so my solution of running it on safe mode would be the best idea.