windows undoes changes after it updates

Anonymous
2025-05-21T14:38:28+00:00

So my system is a windows 10 home 22h2 and every time it tries to update, it lasts 2 or more hours updating then when it finishes it says "undoing changes made to your computer" in a black screen and then when I go to windows update page to see what happened they give me this error code: 0xc1900101

What i've tried already: doing sfc/scannow, disabling windows firewall (I don't have any other antivirus), I tried running setupdiag.exe with the prompts however somehow it does not create any log file so I can't see what went wrong (maybe I don't used it correctly). I searched the meaning of the error code it gave me and it said there's an incompatible driver.

I recently changed my motherboard and my processor, does it have anything to do with it?? Should I try to update my pc using these parts again? I still have them. My old processor was a i5 4440 3.10 Ghz and my new one is a i5-4590 3.30Ghz and my two motherboards are not from "mainstream" brands like Asus or Gigabyte but they're not the same brands.

Also, another little detail I need to mention is when the update finished the file setupdiag.exe appeared out of nowhere in my downloads folder but it still did not created any log file. Help!!! it's the fourth time the system tries to update but no success!!!

Windows for home | Windows 10 | Windows update

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Ramesh Srinivasan 87,865 Reputation points Independent Advisor
2025-05-23T09:47:19+00:00

Thanks. Now, please run these commands.

cd /d "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config"

ren machine.config  machine.config.old

ren web.config  web.config.old

copy machine.config.default machine.config

copy web.config.default web.config

cd /d "C:\Windows\Microsoft.NET\Framework64\v2.0.50727\CONFIG"

ren machine.config machine.config.old

ren web.config  web.config.old

copy machine.config.default machine.config

copy web.config.default web.config

Download CBSDiag.bat from the GitHub page below:

https://gist.github.com/winhelponline/819c9abe3...

Right-click cbsdiag.bat, click Properties, select Unblock, and click OK.

Right-click cbsdiag.bat, and choose "Run as administrator".

(The batch file contains plain text code. You can read its contents using Notepad before running it. It collects the CBS registry key and servicing-related information to fix the corruption.)

The batch file creates a file named CBSDiag.zip on your desktop. Share the file on OneDrive.

Standard Disclaimer: There is a link to a non-Microsoft website. The page appears to provide accurate, safe information.

Was this answer helpful?

0 comments No comments

63 additional answers

Sort by: Oldest
  1. Ramesh Srinivasan 87,865 Reputation points Independent Advisor
    2025-05-21T16:47:20+00:00

    The latest logs don't mention any result code, but the previous setup attempt (on the 10th of this month) failed with error 0xC1900101.

    1. Maybe you can try installing the latest update using this link.

    https://catalog.s.download.windowsupdate.com/c/...

    It elevates the build number to 19045.5247. Let's see if it stops WU from triggering the 22H2 repair.

    1. Please ensure the system is fully updated with the latest BIOS and chipset drivers.
    2. Enable Memory Integrity. To do so, go to Windows Security > Device security > Core isolation details > Memory integrity. If it shows any incompatible drivers, post the screenshot here.
    3. To avoid third-party software interference, perform a clean boot on the system before running the setup. A clean boot is the process of starting Windows without loading any third-party applications or services. For more information, please refer to the Microsoft article.

    How to perform a clean boot in Windows - Microsoft Support:

    https://support.microsoft.com/en-us/topic/how-t...

    (Step 3 in the above link is very important. You need to first enable "Hide all Microsoft Services" before clicking "Disable all".)

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2025-05-21T17:22:40+00:00

    I could not enable memory integrity because it said it could not be activated and it said "try to solve any incompatibility with the drivers" but did not said which one, I will try the other steps you mentioned

    Was this answer helpful?

    0 comments No comments
  3. Ramesh Srinivasan 87,865 Reputation points Independent Advisor
    2025-05-21T17:24:38+00:00

    If the incompatible drivers' list couldn't be determined during the Memory integrity scan, please download the Memory Integrity readiness console tool from Microsoft:

    https://www.microsoft.com/en-us/download/detail...

    Copy the file "hvciscan_amd64.exe" to a folder on the C drive's root -- e.g., C:\Tools\

    Open an admin Command Prompt and run these three commands:

    dism /online /get-drivers /format:table >c:\drivers.txt
    
    c:\tools\hvciscan_amd64.exe
    
    c:\tools\hvciscan_amd64.exe KCET
    

    Post the screenshot here.

    Share the file "c:\drivers.txt" on OneDrive

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2025-05-21T17:26:45+00:00

    i'll try these steps if nothing works, its been one month i've been trying to update this pc

    Was this answer helpful?

    0 comments No comments