295
this post was submitted on 13 Nov 2023
295 points (95.7% liked)
Asklemmy
43855 readers
1702 users here now
A loosely moderated place to ask open-ended questions
If your post meets the following criteria, it's welcome here!
- Open-ended question
- Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
- Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
- Not ad nauseam inducing: please make sure it is a question that would be new to most members
- An actual topic of discussion
Looking for support?
Looking for a community?
- Lemmyverse: community search
- sub.rehab: maps old subreddits to fediverse options, marks official as such
- !lemmy411@lemmy.ca: a community for finding communities
~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Unless you do the online command so it pulls the most recent wim and does it on its own. I've got a batch file I use to fix computers at work that does the online dism followed by sfc and have had a few successes with it.
Nah, I’m currently trying to fix a PC that is so borked, that not even a clean install.wim can fix. According to some sources, there are some packages missing in current installation medias, that are not needed for the installation, but you cannot repair a borked install, if those are affected. This seems to be the case since at least somewhen in 2021, from which I found the earliest reports. Oh… and they aren’t in the online image as well. So if those break, you can only do a clean install.
The trick to a successful DISM though is matching the broken system's patch level with that of the source files. DISM basically repairs your component store using the source, so for it to work properly, you'd want to use the same OS patch level store as the source. I used to keep a few good Windows VMs at different patch levels for this purpose. I'd then patch the VM up to the same level as that of the broken machine (if needed), and then use the good VM as the DISM source.
In any case, if DISM keeps failing, then a repair install (aka in-place upgrade) usually does the trick.