Main Forum > General Computer Support
Cannot repair Windows update (wuauserv missing)
Zorglab:
I tried several softwares : no one detect and correct the problem.
Impossible to delete failing keys using regedit.
I am going to try to reboot my pc using "last good configuration" option.
I read it will try to use ControlSet002 (which seems to be good).
I will do it as soon I made all backups (just in case :undecided: )
Zorglab
Shane:
You cant even delete the keys?
I would REALLY love to find out what the virus did to those keys so I could build some sort of fix for it.
Shane
Willy2:
- Make sure you install Tweaking's Registry Backup. Then you can go back to a previous state of the registry. The program has saved my "computer bacon" about 10 times.
Zorglab:
Belive it or not, but reading your last message give me some idea, and ... I fixed my problem.
I was thinking of what to send you to have a closer look at the problem.
When I export problem part of the failing directory (hklm\system\CurrentControlSet\Services) in reg format, when I edit the created file, bad keys are not present. No reason to use it.
So I tried to export it in hive format. And made an re-import it into the registry.
And the registry is good again : bad keys are ok, Windows update service running, and Microsoft update on their way.
I found some kind of explanation here : http://cybercoyote.org/classes/registry/documents/20.html
"When you import a hive file to registry, Regedit will delete the key from the registry before importing
it from hive file, unlike the registration files which will be merged with the current key in registry"
So good end :cheesy: , and thank again for both of us to help me.
Zorglab
Shane:
Excellent find!
So now what I need to do is fine a way for my repair to do that instead of using the reg files.
I have the API's to load and read hive files, but I need to see if there is an API for importing a hive file or if it is something that only the registry program can do.
Or if there is no API then I wonder if I can do it from a cmd.exe window like the rest of the repairs.
http://ss64.com/nt/reg.html
Shane
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version