meetrevision / playbook

A lightweight, stable, and performance-focused customized version of Windows that enhances privacy and compatibility
https://www.revi.cc
Other
950 stars 75 forks source link

[BUG]: Cumulative Updates Fail To Install #49

Closed melo936 closed 11 months ago

melo936 commented 1 year ago

Describe the bug

Installing latest cumulative updates via Windows Updates on ReviOS is partially broken, leading to errors such as 0x800f0984. While our documentation offers solutions for this issue, it is not an ideal and can be time-consuming.

Updates like ".NET Cumulative Updates" are not affected.

One of the main reasons could be the following command: https://github.com/meetrevision/playbook/blob/607c6f13d3425b6afa6b22e85390c286e587099a/src/Executables/CLEANER.ps1#L84-L85

Steps to reproduce

  1. Unhide and Resume Windows Updates via Revision Tool
  2. Navigate to the Windows Updates page
  3. Get Updates
  4. Cumulative Updates fails to install

Expected behavior

Cumulative Updates must install without any errors

Environment

Additional information

No response

Have you searched for similar issues?

Edgars-Cirulis commented 1 year ago

So fix this 😁

Sthaagg commented 1 year ago

I managed to install it on my side by following these steps:

  1. Set group policy "Specify settings for optional component installation and component repair" to enabled (under Local Computer / Computer Configuration / Administrative Template) and check "Download repair content and optional features directly from Windows Update instead of Windows Server Update Services (WSUS)"
  2. Download "Reset Windows Update Tool" (from ), portable version)
  3. I pick Step 2 / 6 / 8 / 9 (not sure 6 & 8 are mandatory)
  4. Run Windows Update

After that you need to rerun the playbook to restore everything.

JL2210 commented 1 year ago

Similar issue here. Will try inplace upgrade if wureset doesn't work. Although I think my PC is hanging on the error right now.

e: Seems like wureset didn't work. Trying again but looks like I might need "Method 1"

Eloston commented 1 year ago

@JL2210 If you're using 23H2, I would be careful about Method 1.

I had 23H2 on a machine. I tried re-installing 23H2 using the same ISO after the cumulative updates failed, and then my task bar broke (disappeared completely). Unless the MVS ISOs are different than normal retail ISOs, I expect the task bar would still disappear. For more context, it's the same task bar issue people experience when upgrading from 22H2 to 23H2 (I experienced this too).

Some other attempts to fix it also failed:

I have a machine running 23H2 but missing the recent cumulative update. Hopefully wureset works for me.

JL2210 commented 1 year ago

@Eloston Actually I tried wureset again after rebooting a couple times (both restart and shut down/turn on) and the cumulative update was able to install. Now the Microsoft Defender update won't work. Not a huge issue, since I have it disabled.

I had a similar problem with the task bar disappearing when 23H2 came out. I think I had to unpack the installer ISO to a folder on my desktop and wipe all my data to fix it.

These problems are really disheartening, especially since I'm infinitely less proficient in Windows than I am at Linux. Doesn't help that the error logs are all just 0x800yzxyz. Basically the extent of the advice for anything is: 1. run dism! run sfc! 2. Delete your entire computer.

Eloston commented 1 year ago

These problems are really disheartening, especially since I'm infinitely less proficient in Windows than I am at Linux. Doesn't help that the error logs are all just 0x800yzxyz. Basically the extent of the advice for anything is: 1. run dism! run sfc! 2. Delete your entire computer.

100% in the same position. I'm a toddler when it comes to Windows internals.

I also just got wureset to work with just Steps 2 and 9 in the tool. Worked first try, no rebooting needed. Thanks @Sthaagg for informing us about the tool!

Sthaagg commented 1 year ago

The taskbar problem is a known issue by Microsoft, thought it was fixed. That's why i try to get files from network instead of the one from the ISO / System image

melo936 commented 1 year ago

The issue should be resolved. To test it:

Make sure to report the results!