Which is your OS?
Why don’t you try to disable the System Restore and then enable it again?
This will delete the files for system recovery and, consequently, the infected files. avast! (or any other av) cannot delete this files because they are protected by Windows…