How to fix offline portion of machine-specific and machine-independent apply operations. error: 0x8007042B when doing an in-place upgrade?

Howard 5 Reputation points
2025-11-24T06:44:49.7433333+00:00

Windows 11 26200.7296

results.log from SetupDiag output.

Error: 0x8007042b-0x2000d SetupDiag reports rollback failure found.
Last Phase = Finalize
Last Operation = Remove System Restore checkpoints
Error = 0x8007042B-0x2000D
LogEntry: 2025-11-24 07:33:07, Error                 SP     Operation failed: Offline portion of machine-specific and machine-independent apply operations. Error: 0x8007042B[gle=0x000000b7]

Windows Update pushes the same version of 25H2, possibly because the system was removed from the Windows Insider Program release preview. Each installation attempt fails and rolls back.

Already tried the following with no luck:

DISM.exe /Online /Cleanup-image /Restorehealth
sfc /scannow
Set-Service -Name "wuauserv" -Status Stopped
rm -Path "C:\Windows\SoftwareDistribution" -Recurse -Force
Set-Service -Name "wuauserv" -Status Running

Log zip which contains setupact.log: https://1drv.ms/u/c/afdc65c973c9a524/EcrIQouUJHJAmJ-HdIcFSPsBzeUMLYOZ_8VaNExMIcy0hw?e=wTbVjs

Windows for home | Windows 11 | Install and upgrade
{count} vote

1 answer

Sort by: Most helpful
  1. Carl-L 3,845 Reputation points Microsoft External Staff Moderator
    2025-11-25T07:02:00.2333333+00:00

    Hello Howard,

    Welcome to Microsoft Q&A forum. It's my pleasure to help you today.

    I understand that you are having some struggle with Windows update. As I see, the error code you see point to an issue with external connection. In this case, please try to remove them all first, then restart your PC and try to preform the upgrade again.

    If that doesn't work, please try those steps as well.

    • Perform a Clean Boot Disclaimer: A “clean boot” starts Windows with a minimal set of drivers and startup programs. It helps to determine whether a background service is interfering with your game or program and to isolate the cause of a problem.    
      1. Type "msconfig" in the search bar and press Enter.
      2. Uncheck "Load startup items"
      3. Select "Services" tab
      4. Select "Hide all Microsoft Services"
      5. Check all and select "Disable all"
      6. Open Task manager
      7. Go to the Startup tab and disable all startup apps.
      8. Restart your PC and try the installation again.
    • Disable optional feature
      1. Type "PowerShell" in the search bar and select "Run as administrator"
      2. Type Get-WindowsOptionalFeature –Online | Where-Object {$_.State –eq “Enabled”} and press Enter to open the Optional feature list.
      3. Disable them one-by-one with this command Disable-WindowsOptionalFeature –FeatureName "FeatureName" -Online.
      4. Restart your PC.
    • Modify Migration Directory.
      1. Open File Explorer
      2. Navigate to C:\Windows\System32
      3. Find the "Migration" folder and rename it to "Migration.old"
      4. Restart your PC.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.