system restore and viruses?

Hello, can system restore undo a virus infection??

If it’s in the path of being overwritten by the restore program than usually it can. If it’s residing in your personal folders, than no.