Restoring won’t remove malware since it can hide in files. You need to use a professional antimalware program to scan the system and remove it.