It sounds as if the repository is screwed up.
See what
this tool[
^] says about it first. You just have to run it from a command prompt,
CSCRIPT WMIDIAG.VBS
. At the end of the script, it'll tell you where it put the log files to examine.
Then you might have a look at
this[
^] if the above doesn't help.