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. Anonymous
    2025-05-22T15:15:56+00:00

    it failed and undid the changes again, error code it gave me is: 0xC1900101 - 0x30018 and then it said it failed in the phase FIRST_BOOT and with a error in the operation SYSPREP_SPECIALIZE

    Was this answer helpful?

    0 comments No comments
  2. Ramesh Srinivasan 87,865 Reputation points Independent Advisor
    2025-05-22T15:18:24+00:00

    Please share the following folders.

    C:\$WINDOWS.~BT\Sources\Panther
    
    c:\$WINDOWS.~BT\Sources\Rollback
    

    Also, if you're willing to do a reset or a clean installation, the following article can help.

    How to reset Windows 10 keeping files:

    https://pureinfotech.com/reset-pc-keeping-files...

    Standard Disclaimer: There is a link to a non-Microsoft website. The page appears to provide accurate, safe information. Thoroughly research any product advertised on the site before you decide to download and install it.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2025-05-22T15:44:43+00:00

    here are they both 2 Items let me know if something is missing since i had a little problem while uploading the rollback folder

    Was this answer helpful?

    0 comments No comments
  4. Ramesh Srinivasan 87,865 Reputation points Independent Advisor
    2025-05-22T16:35:41+00:00

    Hi James,

    Multiple issues have been spotted in the logs. But it proceeded well compared to the last setup attempt.

    Open "OptionalFeatures.exe".

    Uncheck ".NET Framework 3.5".

    Click OK.

    Restart Windows.

    Open "OptionalFeatures.exe" again.

    Enable ".NET Framework 3.5".

    Restart Windows if prompted.

    From admin Command Prompt, run:

    pnputil /delete-driver oem5.inf /uninstall /force

    Let me know the outcome of the above steps.

    Was this answer helpful?

    0 comments No comments