Answered by:
Windows 7 SP1 Fails to install (Error 0x8004100e)

Question
-
I have tried severl times to install Windows 7 SP1 32-bit (through windows update and from the stand alone file) on my Dell Latitude E5400 with no luck. I keep receiving the same error over and over again 0x8004100e. Does anyone have any ideas?Wednesday, March 2, 2011 8:37 PM
Answers
-
wbemErrInvalidNamespace = 0x8004100e,
So you have WMI issues. try this:Can you please try the command winmgmt /verifyrepository from an elevated commad prompt(cmd - run as administrator)? If you get WMI repository is Inconsistent please try the following to reinstall WMI.
- net stop winmgmt
- ren %windir%\System32\Wbem\Repository Repository_backup
- net start winmgmt
- Open Command Prompt (cmd ) with elevated credentials (administrator)
- Run winmgmt /salvagerepository to attempt to rebuild the repository
- Register WMI components
cd /d %windir%\system32\wbem
for /f %%s in ('dir /b *.dll') do regsvr32 /s %%s
for /f %%s in ('dir /b *.mof *.mfl') do mofcomp %%s
wmiprvse /regserver
winmgmt /regserver
7.Reboot machine
After that, please test WMI connection with wbemtest as follows.-
Run %SystemRoot%\System32\Wbem\WbemTest.exe
-
Click Connect
-
Click Connect
If you still hit connectivity error, you may want to try comprehensive rebuild belowrundll32.exe setupapi,InstallHinfSection WBEM 132 %windir%\inf\wbemoc.inf
Above command will ask for your Windows 2008 R2 installation disc
Hope it helps.
Source:
http://social.technet.microsoft.com/Forums/en/w7itproSP/thread/5e28b803-51ee-4e20-80bc-22761e86b889
if it still fails, we must look for error messages in the file CBS.log.
Please run the Windows Explorer and go to the folder "C:\Windows\Logs\CBS\ " and copy all files to your document folder, also copy the setupapi.dev.log from the folder C:\Windows\Inf and the file "C:\Windows\winsxs\poqexec.log " to your document folder (otherwise you can't upload it), zip all files into 1 ZIP and upload the zip to your SkyDrive [1] and post a link here.
André
[1] http://social.technet.microsoft.com/Forums/en-US/w7itproui/thread/4fc10639-02db-4665-993a-08d865088d65
"A programmer is just a tool which converts caffeine into code"
Want to install RSAT on Windows 7 Sp1? Check my HowTo: http://www.msfn.org/board/index.php?showtopic=150221- Proposed as answer by Andre.Ziegler Thursday, March 3, 2011 1:17 PM
- Marked as answer by Cloud_TS Friday, March 11, 2011 8:54 AM
Wednesday, March 2, 2011 10:36 PM
All replies
-
wbemErrInvalidNamespace = 0x8004100e,
So you have WMI issues. try this:Can you please try the command winmgmt /verifyrepository from an elevated commad prompt(cmd - run as administrator)? If you get WMI repository is Inconsistent please try the following to reinstall WMI.
- net stop winmgmt
- ren %windir%\System32\Wbem\Repository Repository_backup
- net start winmgmt
- Open Command Prompt (cmd ) with elevated credentials (administrator)
- Run winmgmt /salvagerepository to attempt to rebuild the repository
- Register WMI components
cd /d %windir%\system32\wbem
for /f %%s in ('dir /b *.dll') do regsvr32 /s %%s
for /f %%s in ('dir /b *.mof *.mfl') do mofcomp %%s
wmiprvse /regserver
winmgmt /regserver
7.Reboot machine
After that, please test WMI connection with wbemtest as follows.-
Run %SystemRoot%\System32\Wbem\WbemTest.exe
-
Click Connect
-
Click Connect
If you still hit connectivity error, you may want to try comprehensive rebuild belowrundll32.exe setupapi,InstallHinfSection WBEM 132 %windir%\inf\wbemoc.inf
Above command will ask for your Windows 2008 R2 installation disc
Hope it helps.
Source:
http://social.technet.microsoft.com/Forums/en/w7itproSP/thread/5e28b803-51ee-4e20-80bc-22761e86b889
if it still fails, we must look for error messages in the file CBS.log.
Please run the Windows Explorer and go to the folder "C:\Windows\Logs\CBS\ " and copy all files to your document folder, also copy the setupapi.dev.log from the folder C:\Windows\Inf and the file "C:\Windows\winsxs\poqexec.log " to your document folder (otherwise you can't upload it), zip all files into 1 ZIP and upload the zip to your SkyDrive [1] and post a link here.
André
[1] http://social.technet.microsoft.com/Forums/en-US/w7itproui/thread/4fc10639-02db-4665-993a-08d865088d65
"A programmer is just a tool which converts caffeine into code"
Want to install RSAT on Windows 7 Sp1? Check my HowTo: http://www.msfn.org/board/index.php?showtopic=150221- Proposed as answer by Andre.Ziegler Thursday, March 3, 2011 1:17 PM
- Marked as answer by Cloud_TS Friday, March 11, 2011 8:54 AM
Wednesday, March 2, 2011 10:36 PM -
WMI repository is consistentWednesday, March 2, 2011 11:00 PM
-
Andre, Thanks for your help. Even though WMI reported consistent I decided to go ahead and follow your directions and rebuild the WMI repository and that worked. I now have installed SP1 installed.
Thanks.
Thursday, March 3, 2011 1:17 AM -
follow your directions and rebuild the WMI repository and that worked. I now have installed SP1 installed.
"A programmer is just a tool which converts caffeine into code"
Want to install RSAT on Windows 7 Sp1? Check my HowTo: http://www.msfn.org/board/index.php?showtopic=150221Thursday, March 3, 2011 1:18 PM -
Hi Andre,
Like HenryDa - this also worked for me too!!!!! Thank you so much for your help on this one!
P.S. The system I was using had bad sectors, replaced the hard disk and restored from a system image - so this might not have restored the WMI properly. The system was also a Dell Vostro 3450.
Regards,
Dave
Friday, June 10, 2011 2:50 AM -
I have been trying to install Windows 7 SP1 multiple times.
I get this error code: 80073712
I have tested "System Update Readiness Tool", clean boot, Shutting down services and sfc.exe /scannow doesn't fix the problem.
Checkdisk doesn't fix the problem.
Rename the Software Distribution folder
tested The Windows Update troubleshooter
After these operation i have no clue what to try.
Here is a link for my cbs.log
http://cid-793565f42e4581e3.office.live.com/browse.aspx/sp1
Monday, June 13, 2011 10:06 AM -
Thanks for the solution that you presented here. I had the same problem and, like commented for HendyDa, I decided to go ahead with the first part of the solution and finally I could install the SP1.
Thanks.
Tuesday, November 29, 2011 12:29 PM