Windows 8.1 Hotfix Repository

Discussion in 'Windows 8' started by komm, Aug 31, 2013.

  1. ptd163

    ptd163 MDL Novice

    Aug 14, 2013
    16
    7
    0
    Komm, when I try to integrate updates from the repository into my 8.1 image with either WHD or WinToolkit they both to fail to integrate them offline.
     
  2. ricktendo64

    ricktendo64 MDL Expert

    Apr 20, 2008
    1,397
    2,024
    60
    If you have ADK installed, run the CMD shortcut in the programs menu

    For some reason you are running cmd.exe in syswow64 when you should be using the one in system32

    I think you have the 32 bit and 64 bit system folders mixed up, syswow64 is for x86 and system32 is for x64
     
  3. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,389
    11,614
    240
    *giggle* now who's mixed up?

    This guy's error reflects what happens when you try to run a 32-bit dism, from the x86 ADK folder, using /online switch...
    You want to either use the system's dism, which will auto-switch between them, or use an AMD64 dism from the ADK.
     
  4. TONSCHUH

    TONSCHUH MDL Addicted

    Jun 11, 2012
    816
    287
    30
    #106 TONSCHUH, Sep 18, 2013
    Last edited by a moderator: Apr 20, 2017
    I try to run the Remove_OLD.cmd, which get's created in c:\wu\ and has the following commands in it:

    Code:
    @echo off
          set dest=/online
    rem   set tmpdir=D:\offline
    rem   set dest=/image:%tmpdir%
    
    
    
    
          if %dest%==/Online DO (
              set AUSetting=0x0
              for /f "tokens=2* delims=0x" %%A IN ('REG query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v AUOptions') DO (
        set AUSetting=0x%%A
        )
    
    
              if %AUSetting%==0x0 GOTO Problem
              if %AUSetting%==0x1 GOTO NoProblem
              if %AUSetting%==0x2 GOTO NoProblem
              if %AUSetting%==0x3 GOTO Problem
              if %AUSetting%==0x4 GOTO Problem
    
    
    :Problem
    
    
        echo.
        echo  !!!!!!!!!! Warning!!!!!!!!!!!!! 
        echo You want to remove OLD packages but have enabled Windows Update.
        echo           This may end in [BAD] packages.
        echo         Set WU to [Never check for updates]
        echo  !!!!!!!!!! Warning!!!!!!!!!!!!! 
        echo.
        pause
          )
    
    
    :NoProblem
    
    
    Echo Number of packages to remove : 1
    Echo =====================================================================
    Echo Removing package 1 to 1 of 1 packages   %time%
    dism %dest% /norestart /remove-package /packagename:Package_for_KB2883295~31bf3856ad364e35~amd64~~6.3.1.0  /LogPath:"%~dp0DISM.log" /loglevel:2 
    Echo.
        echo          Press any key to reboot
        pause                                >nul
        shutdown -r -t 0
    

    It looks like that the Error is related to Total Commander Ultima Prime v5.7, but if I start the Remove_OLD.cmd via Explorer, then I get another Error plus DISM.log file:

    Code:
    2013-09-18 16:28:47, Warning               DISM   DISM Provider Store: PID=5344 TID=12384 Failed to Load the provider: C:\Users\Andreas\AppData\Local\Temp\93774A0B-D495-45FD-B522-76BCD18878B0\PEProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
    2013-09-18 16:28:48, Warning               DISM   DISM Provider Store: PID=5344 TID=12384 Failed to get the IDismObject Interface - CDISMProviderStore::Internal_LoadProvider(hr:0x80004002)
    2013-09-18 16:28:48, Warning               DISM   DISM Provider Store: PID=5344 TID=12384 Failed to Load the provider: C:\Users\Andreas\AppData\Local\Temp\93774A0B-D495-45FD-B522-76BCD18878B0\Wow64provider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x80004002)
    2013-09-18 16:28:48, Warning               DISM   DISM Provider Store: PID=5344 TID=12384 Failed to Load the provider: C:\Users\Andreas\AppData\Local\Temp\93774A0B-D495-45FD-B522-76BCD18878B0\EmbeddedProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
    2013-09-18 16:28:48, Error                 DISM   DISM Package Manager: PID=5344 TID=12384 Failed initiating changes - CDISMPackage::Internal_ChangePackageState(hr:0x800f0825)
    2013-09-18 16:28:48, Error                 DISM   DISM Package Manager: PID=5344 TID=12384 Failed to Remove the Package. - CDISMPackage::Remove(hr:0x800f0825)
    2013-09-18 16:28:48, Error                 DISM   DISM Package Manager: PID=5344 TID=12384 Permanent package cannot be uninstalled. - GetCbsErrorMsg
    2013-09-18 16:28:48, Error                 DISM   DISM Package Manager: PID=5344 TID=12384 Failed while processing command remove-package. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x800f0825)
    2013-09-18 16:28:48, Error                 DISM   DISM.EXE: DISM Package Manager processed the command line but failed. HRESULT=800F0825
    

    It's not such important to me to remove some of the updates, as long they don't cause any issues.

    :)
     
  5. komm

    komm MDL Addicted

    Jun 16, 2011
    894
    3,063
    30
    Thats the important line.
    Why the hell is 2883295 permanent i your case? It's not flaged as permanent!
    What have you done with the installation?

    Try this:
    1. uninstall 2884778 (use update history) if installed, and restart.
    2. download 2883295 from my Server
    3. click on the msu file
    4. restart
    5. run KUC again to remove 2884778



    By the way, if you run KUC on win8.1 there is no Need to install the ADK.
    The dism version that comes with win8.1 is ok.

    If you run a .cmd file from within a 32-bit application windows x64 will start the 32-bit version of cmd and also of dism.
     
  6. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,389
    11,614
    240
    I wonder if it changes the flag to permanent when you do a resetbase command...
     
  7. gabrielmorrow

    gabrielmorrow MDL Member

    Jul 5, 2013
    193
    15
    10
    just tested on vitural machine it seems it does
     
  8. TONSCHUH

    TONSCHUH MDL Addicted

    Jun 11, 2012
    816
    287
    30
    #110 TONSCHUH, Sep 18, 2013
    Last edited by a moderator: Apr 20, 2017
  9. ricktendo64

    ricktendo64 MDL Expert

    Apr 20, 2008
    1,397
    2,024
    60
    About KB2883900 and Windows 8.1 x64, do we replace botmgr on the root of the DVD with the bootmgr in KB2883900?

    I ask because its in a x86 dir:

    x86_microsoft-windows-b..re-bootmanager-pcat_31bf3856ad364e35_6.3.9600.16388_none_57cd7832cec67da4
     
  10. Stripakulina

    Stripakulina MDL Member

    Jul 19, 2009
    203
    509
    10
    ricktendo64

    According to hex-editor there no any differences between botmgr in Windows8.1-KB2883900-x86 (x86_microsoft-windows-b..re-bootmanager-pcat_31bf3856ad364e35_6.3.9600.16388_none_57cd7832cec67da4), Windows8.1-KB2883900-x64 (x86_microsoft-windows-b..re-bootmanager-pcat_31bf3856ad364e35_6.3.9600.16388_none_57cd7832 cec67da4), in Windows\Boot\PCAT folder (after Windows8.1-KB2883900-x64 online installation), UPD. And in the root directory of system partition. Botmgr has changed attributes (system and hidden) but is identical bit by bit to botmgr in Windows8.1-KB2883900-x64 (x86_microsoft-windows-b..re-bootmanager-pcat_31bf3856ad364e35_6.3.9600.16388_none_57cd7832 cec67da4).



    So i think we do.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,190
    84,686
    340
  12. PointZero

    PointZero MDL Member

    Oct 5, 2011
    1,415
    3,775
    60
    Oops, my mistake- I tried it on permanant updates in Win8 (and it works fine), but not ones set from a run of /RestBase in Win8.1.

    Thanks for the correct info abbodi!
     
  13. NICK@NUMBER11

    NICK@NUMBER11 MDL Expert

    Mar 23, 2010
    1,503
    720
    60
    Yeh i replaced the bootmgr also, and it works all ok :D

     
  14. NICK@NUMBER11

    NICK@NUMBER11 MDL Expert

    Mar 23, 2010
    1,503
    720
    60
    If you look at Kb2870699 it reports that windows 8.1 = IE 11 is not effected, so maybe remove from Repository for Windows 8.1 ?


     
  15. TONSCHUH

    TONSCHUH MDL Addicted

    Jun 11, 2012
    816
    287
    30
    #120 TONSCHUH, Sep 20, 2013
    Last edited by a moderator: Apr 20, 2017
    I can uninstall KB2884778 via Control Panel and KUC tells me that it's missing and under KB2883295 it tells me to remove KB2884778 as it's superseeded, but not installed.

    I can't un-install KB2883295 via Control Panel (doesn't give me the option). I tried "Windows8.1-KB2883295-x64.msu /ResetBase", but it changes nothing.

    The un-installed KB2884778 get's automatically installed again, when I re-run KUC.

    I also have every update from KUC twice in the Packages-Folder, like:

    Code:
    Package_for_KB2883295_RTM~31bf3856ad364e35~amd64~~6.3.1.0.cat
    Package_for_KB2883295_RTM~31bf3856ad364e35~amd64~~6.3.1.0.mum
    
    Package_for_KB2883295~31bf3856ad364e35~amd64~~6.3.1.0.cat
    Package_for_KB2883295~31bf3856ad364e35~amd64~~6.3.1.0.mum
    
    The .mum has no "permanent"-entry.

    That's only as Info, as I will just leave it how it is, if it doesn't cause any issues.

    :)