locked
Can't Install Windows 7 SP1, Error 0x80041010 RRS feed

  • Question

  • When trying to install Windows 7 SP1, I keep getting the same error code, 0x80041010.  Both Windows Update and a manually downloaded copy of SP1 fail.  I have tried running the Windows Update troubleshooter, the Update Readiness Tool, to no avail.  When I run a Performance Monitor check, it fails the OS check, with the following 2 errors:

    root\cimv2:SELECT * FROM Win32_OperatingSystem 0x80041010
     
      Returned Objects
    root\cimv2:SELECT * FROM Win32_ComputerSystem 0x80041010

    I've also tried running diskcheck, and sfc /scannow, and those still didn't solve it.  Researching the error seems to pull up information on WMI, and when I go to the System page of Control Panel, the CPU and RAM data are not available.  Any help would be greatly appreciated!

     

    Thanks!

     

     

    Thursday, March 3, 2011 4:47 AM

Answers

  • You have WMI issues:

        wbemErrInvalidClass    = 0x80041010,

    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.

    1. net stop winmgmt
    2. ren %windir%\System32\Wbem\Repository Repository_backup
    3. net start winmgmt
    4. Open Command Prompt (cmd ) with elevated credentials (administrator)
    5. Run winmgmt /salvagerepository to attempt to rebuild the repository
    6. 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.
    1. Run %SystemRoot%\System32\Wbem\WbemTest.exe
    2. Click Connect
    3. Click Connect
    If you still hit connectivity error, you may want to try comprehensive rebuild below

    rundll32.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
    • Marked as answer by Leo Huang Monday, March 14, 2011 8:50 AM
    Thursday, March 3, 2011 1:38 PM

All replies

  • You have WMI issues:

        wbemErrInvalidClass    = 0x80041010,

    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.

    1. net stop winmgmt
    2. ren %windir%\System32\Wbem\Repository Repository_backup
    3. net start winmgmt
    4. Open Command Prompt (cmd ) with elevated credentials (administrator)
    5. Run winmgmt /salvagerepository to attempt to rebuild the repository
    6. 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.
    1. Run %SystemRoot%\System32\Wbem\WbemTest.exe
    2. Click Connect
    3. Click Connect
    If you still hit connectivity error, you may want to try comprehensive rebuild below

    rundll32.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
    • Marked as answer by Leo Huang Monday, March 14, 2011 8:50 AM
    Thursday, March 3, 2011 1:38 PM
  • I have follwed winmgmt /verifyrepository and obtained the result WMI repository is consistent.

    Thus I have zipped all the requested files into a .zip file but do not follow the upload the zip to your Skydrive.

    I get the follwing error if I click on the link [1] http://social.technet.microsoft.com/Forums/en-US/w7itproui/thread/4fc10639-02db-4665-993a-08d865088d65


    Page Not Found

    We're sorry, but the page you requested could not be found. Please check your typing and try again, or use the search options on this page.

    Saturday, March 12, 2011 8:48 PM
  • the link works for me. Try to rebuild the WMI repository.

    "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
    Saturday, March 12, 2011 9:08 PM
  • Thanks!

    Files for André

    Rick


    Hi Rick,

    start a new topic, to avoid confusions.

    "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
    Sunday, March 13, 2011 2:39 PM
  • {snip}
    1. 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

    {snip}
    I have a problem when I get here.  When I try to run the "for ..." commands, I get "%%s" unexpected errors.  When I try the "winmgmt /regserver", it is not listed as a valid argument for winmgmt.  What do I need to do to correct these errors?  Putting the "for" lines into quotes doesn't help.  I am running the command line in administrative mode.
    • Proposed as answer by MikeBaf Sunday, May 15, 2011 11:22 PM
    Saturday, May 14, 2011 5:04 PM
  • I figured out the solution to both my Error 0x800f0a0d and later Error 0x80041010 problem I was having installing Windows 7 SP1 (64bit, Home Premium):

    Running as administrator, I did the folowing:

    1)  I deleted all the odd named folders in the root of c:
    (f7fcffed41627ea44746ddd2c26b67e8, 5f9edae8cfe9c99139dd6a859f22e44a, etc.)

    2) Deleted all temp files
    {rmdir /s /q %temp%
    mkdir %temp%
    rmdir /s /q %SystemRoot%\Temp
    mkdir %SystemRoot%\Temp
    rmdir /s /q C:\Temp
    }

    3)Cleaned out the windows update folder and database:
    {net stop wuauserv
    REG DELETE "HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate" /va /f

    del /q/s c:\windows\softwaredistribution

    net start wuauserv
    wuauclt.exe /a /resetauthorization /detectnow
    }

    After that I downloaded the update manually and ran it (windows6.1-KB976932-X64-Win7SP1.exe).

    It installed correctly.

    • Proposed as answer by MikeBaf Sunday, May 15, 2011 11:28 PM
    Sunday, May 15, 2011 11:28 PM
  • I figured out the solution to both my Error 0x800f0a0d and later Error 0x80041010 problem I was having installing Windows 7 SP1 (64bit, Home Premium):

    Running as administrator, I did the folowing:

    1)  I deleted all the odd named folders in the root of c:
    (f7fcffed41627ea44746ddd2c26b67e8, 5f9edae8cfe9c99139dd6a859f22e44a, etc.)

    2) Deleted all temp files
    {rmdir /s /q %temp%
    mkdir %temp%
    rmdir /s /q %SystemRoot%\Temp
    mkdir %SystemRoot%\Temp
    rmdir /s /q C:\Temp
    }

    3)Cleaned out the windows update folder and database:
    {net stop wuauserv
    REG DELETE "HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate" /va /f

    del /q/s c:\windows\softwaredistribution

    net start wuauserv
    wuauclt.exe /a /resetauthorization /detectnow
    }

    After that I downloaded the update manually and ran it (windows6.1-KB976932-X64-Win7SP1.exe).

    It installed correctly.


    Hi, I have the 80041010 error code when trying to install SP1 of win 7 (ultimate 64bit).

    I tried to follow the steps quoted but couldn't complete step 2 as it says I have files being used which couldn't have been deleted, and for the %SystemRoot%\Temp it says that the folder isn't empty.

    I tried the manual installation but it gives the same error message.

    any ideas?

    Tuesday, June 7, 2011 12:16 PM