uninstall hotfix KB5007215

Discussion in 'Windows 11' started by lacir, Jan 16, 2022.

  1. lacir

    lacir MDL Novice

    Jan 16, 2022
    1
    0
    0
    #1 lacir, Jan 16, 2022
    Last edited: Jan 16, 2022
    I have windows 11 arm64 build Version: 10.0.22000.1.
    I am fighting for couple of days to figure out how to remove one of preinstalled hotfixes.
    I have tried many forums and solutions but nothing worked.
    Code:
    wusa
    or
    Code:
    dism /image:C:\wim\mount /Remove-Package /PackageName:Package_for_RollupFix~31bf3856ad364e35~arm64~~22000.318.1.8
    As you see problem is
    Code:
    Permanent package cannot be uninstalled.
     Error: 0x800f0825
    . There is no permanence flag in .mun. I didn't find any other tool to help me except
    install_wim_tweak but when I dumped
    Code:
    install_wim_tweak.exe /o /l
    I didn't find RollupFix package in list. Can somebody help me please I need remove this fix.

    I have found in one of thread this code
    Code:
    echo ============================================================
    echo Installing servicing stack update...
    echo ============================================================
    )
    %_dism2%:"!_cabdir!" %dismtarget% /LogPath:"%systemroot%\Logs\DISM\DismSSU.log" /Add-Package %servicingstack%
    %_dism2%:"!_cabdir!" %dismtarget% /Remove-Package /PackageName:Package_for_KB4557968~31bf3856ad364e35~%sss%~~19041.262.1.1 %_Nul2%
    if not defined secureboot if not defined ldr if not defined cumulative call :cleanup
    )
    if not defined secureboot if not defined ldr if not defined cumulative goto :eof
    if %verb%==1 (
    echo.
    echo ============================================================
    echo Installing updates...
    echo ============================================================
    )
    if defined secureboot %_dism2%:"!_cabdir!" %dismtarget% /LogPath:"%systemroot%\Logs\DISM\DismSBoot.log" /Add-Package %secureboot%
    if %errorlevel% equ 1726 (
    %_dism2%:"!_cabdir!" %dismtarget% /Get-Packages %_Nul1%
    )
    if defined ldr %_dism2%:"!_cabdir!" %dismtarget% /LogPath:"%systemroot%\Logs\DISM\DismUpdt.log" /Add-Package %ldr%
    if defined cumulative %_dism2%:"!_cabdir!" %dismtarget% /LogPath:"%systemroot%\Logs\DISM\DismLCU.log" /Add-Package %cumulative%
    if %errorlevel% equ 1726 (
    %_dism2%:"!_cabdir!" %dismtarget% /Get-Packages %_Nul1%
    if defined cumulative %_dism2%:"!_cabdir!" %dismtarget% /LogPath:"%systemroot%\Logs\DISM\DismLCU.log" /Add-Package %cumulative%
    )
    %_dism2%:"!_cabdir!" %dismtarget% /Remove-Package /PackageName:Package_for_RollupFix~31bf3856ad364e35~%sss%~~19041.264.1.6 %_Nul2%
    reg.exe load HKLM\SOFTTEMP "%mountdir%\Windows\System32\Config\SOFTWARE" %_Nul1%
    set "cbstemp=Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages"
    set "pkgtemp=Package_for_KB4537759~31bf3856ad364e35~%sss%~~10.0.1.0"
    reg.exe add "HKLM\SOFTTEMP\%cbstemp%\%pkgtemp%\Owners" /v %pkgtemp% /t REG_DWORD /d 0x20070 /f
    reg.exe unload HKLM\SOFTTEMP %_Nul1%
    %_dism2%:"!_cabdir!" %dismtarget% /Remove-Package /PackageName:%pkgtemp%
    call :cleanup
    goto :eof
    but not sure which all env variables do I need declare?
     
  2. kaljukass

    kaljukass MDL Guru

    Nov 26, 2012
    3,449
    1,344
    120
    This is Cumulative update released on November 9, 2021.
    It contains several different updates and most likely it canät be uninstalled so simply.
    So the best way is to go back to date to stage before this update.
    But usually even this isnt possible after so many days have gone.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...