this post was submitted on 13 Nov 2023
287 points (95.8% liked)

Asklemmy

43965 readers
1875 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy πŸ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. 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.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_[email protected]~

founded 5 years ago
MODERATORS
 

Yeah, basically that. I'm back at work in Windows land on a Monday morning, and pondering what sadist at Microsoft included these features. It's not hyperbole to say that the startup repair, and the troubleshooters in settings, have never fixed an issue I've encountered with Windows. Not even once. Is this typical?

ETA: I've learned from reading the responses that the Windows troubleshooters primarily look for missing or broken drivers, and sometimes fix things just by restarting a service, so they're useful if you have troublesome hardware.

you are viewing a single comment's thread
view the rest of the comments
[–] Jtee 11 points 1 year ago (2 children)

Yes, and I've also had success using tools like SFC and DISM to repair Windows.

[–] [email protected] 6 points 1 year ago (1 children)

You fixed things with SFC and DISM? You are a god among mortals!

[–] Jtee 2 points 1 year ago (1 children)

DISM usually needs an install.wim in order to be effective lol

[–] [email protected] 1 points 1 year ago (1 children)

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.

[–] [email protected] 1 points 1 year ago (1 children)

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.

[–] [email protected] 3 points 1 year ago

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.

[–] silentdon 2 points 1 year ago (2 children)

Sfc and DISM have each worked exactly once for me.

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago) (1 children)

That's because most people use them incorrectly. You need to run DISM first to repair the component store, but for that to work properly, you'll need source files/wim that matches the same OS patch level as that of the machine you're trying to fix. Once the component source is repaired properly, then run SFC, which would replace the corrupted system files from the now repaired component store.

If you ran SFC on its own, it may not do anything if the component store is corrupted, and if you ran DISM on its own, it won't fix the actual issue. You need to run both, in the proper order, against matching source files.

[–] silentdon 1 points 1 year ago

Thanks! I just learned something new!

[–] LUHG_HANI 1 points 1 year ago

I'm hitting over x3 now. I know, I can't believe it myself.