Before the repair program can be used, all infections need to be removed.
There's a couple of ways your friend could go about this.
You could create a free Kaspersky Rescue Disk for your friend which you boot up with and use that to disinfect the machine.
https://support.kaspersky.com/viruses/krd18If it reports that it has found and removed any infections then your friend should be good to go.
If all services still aren't working then the repair program can be downloaded from
https://www.tweaking.com/content/page/windows_repair_all_in_one.html but first create a system image onto external media and the means to restore from it before the repairs are run.
Another way could be to perform a fresh clean install and check if everything is working before any programs are installed, should the install media be corrupt.
If things are okay then install one program at a time, checking the services after each install.