Monday, January 25, 2010

0x80041002 Error while adding host to NLB Cluster

We were getting error 0x80041002 while adding host to a NLB cluster. After making some research I recognised that apart from being a NLB specific error this was related with WMI repositories.

As we started to have this error after a power failure, recreating WMI repositories made sense. In order to fix this error :

- Stop WMI service.

- Move contents of %windir%\system32\wbem\repository to a temp folder (if Windows doesnt allow do this in safe mode)
- Go to command prompt. Under %windir%\system32\webm execute :

mofcomp cimwin32.mof
mofcomp wlbsprov.mof
mofcomp nlbmprov.mof

 - Start the WMI service and try the NLB operation again.