I am unclear - is this the desktop or the laptop?
You say you ran a factory restore - did that complete properly? Did it take you through the Windows setup?
If you actually did do a factory restore, then any malware would have been wiped. If what you did was to implement a restore point then there are some additional troubleshooting steps we can do.