📌 Key Takeaways
- •`(p) CSI Payload Corrupt (n) amd64_microsoft-windows-a..modernappmanagement_…\EnterpriseModernAppMgmtCSP.dll` — the payload file is corrupt [B-S5].
- •`(p) CBS MUM Missing (n) Microsoft-Windows-Client-Features-Package~…~10.0.19045.4291` — the MUM file the package needs is missing [B-S5].
- •`(p) CSI Manifest Corrupt (w) (Fixed) wow64_microsoft-windows-audio-mmecore-acm_…` — the manifest was corrupt but has been repaired; `(w)` is a warning or repaired marker, `(n)` means not repaired [B-S5].
- •`Operation result: 0x800f081f` — the final result code of this DISM operation [B-S5].
- •`Total Detected Corruption: 2` and `Total Repaired Corruption: 1`, with sub-counts across five categories: CBS Manifest, CBS Metadata, CSI Manifest, CSI Metadata and CSI Payload [B-S5].
# Laptop Windows System File Corruption — The Complete SFC, DISM and WinSxS Advanced Guide
A laptop that has never been dropped and never been near water can still start throwing error messages, refusing to install updates, losing built-in features for no apparent reason, or booting more slowly every week. Many users assume the cause is a virus, or that the hard drive has failed and the machine must be replaced. In many cases, however, neither is true. The real problem is corrupted Windows system files. System files are the skeleton of Windows: booting, signing in, File Explorer, the update service and every built-in feature depend on thousands of protected files working together. If one of them is damaged, missing or the wrong version, the whole machine can develop a chain of symptoms that look unrelated.
Windows ships with two dedicated tools for this class of problem: SFC (System File Checker) and DISM (Deployment Image Servicing and Management). They are often mentioned together, but they repair different layers. SFC checks and repairs the protected system files themselves. DISM repairs the warehouse SFC draws good files from — the component store, known as WinSxS. If you do not understand that division of labour, you end up trapped in a loop of running SFC over and over while it keeps reporting that it cannot fix the damage. This guide starts at the mechanism layer: how Windows Resource Protection (WRP) protects system files, what SFC and DISM each do, why WinSxS keeps growing, how hard links make File Explorer exaggerate its size, the official definition of every DISM error code, how to read CBS.log and dism.log, how to work through the layered exclusion method from L0 to L7, how to cross-check hardware with chkdsk, SMART and memory tests, and finally how to decide between repair, reinstallation and replacement.
This guide focuses on Windows 11, with Windows 10 22H2 as a secondary reference. Note that free support for Windows 10 Home and Pro ended on 14 October 2025, after which Microsoft no longer provides software updates, security fixes or technical support, except under the consumer Extended Security Updates programme, which runs to 12 October 2027 [A-S39]. An older machine that keeps running Windows 10 not only stops receiving security updates; the end of cumulative updates may also shrink the pool of files DISM can fetch online — although that last point is only a possibility, not a fact.
Two things must be said before anything else. First, every step in this guide assumes you back up important files first. The Microsoft recovery options page states plainly that some recovery options can cause data loss, and that you should back up important files before you begin [A-S25]. Second, if the machine has BitLocker or device encryption switched on, you must confirm that you can find the 48-digit BitLocker recovery key before any reset, reinstallation or drive replacement. Microsoft Support states explicitly that it cannot retrieve, provide or recreate a lost key [A-S26][B-S15]. The key can be found in your Microsoft account at aka.ms/myrecoverykey; for a work or school account, go to aka.ms/aadrecoverykey or ask your IT department [B-S15]. If you cannot find the key and then reset the machine, the data is gone [B-S15]. If you are unsure whether the machine is encrypted or how to check, get a professional diagnostic first to confirm the encryption state and that your backup is complete before touching anything.
1. What System File Corruption Is: Symptoms, Causes and the First Judgement
1.1 Common symptoms
The symptoms of system file corruption are broad, because the file affected determines what you see. The most common group looks like this:
| Symptom | What it may point to | What it does not prove |
|---|---|---|
| Windows Update keeps failing, no matter how often you retry | Component store corruption, damaged update cache, or a repair-source problem [A-S12][B-S5] | Not necessarily a network problem, and not necessarily malware |
| SFC reports that it found corrupt files | An integrity violation in protected system files [A-S2][B-S1] | Not proof that the drive has failed; often it is only a store problem |
| A system feature suddenly stops working, for example the Start menu, search or Settings will not open | An individual protected file is damaged or the wrong version [A-S4] | Not proof that the whole system is broken |
| Slow booting, intermittent blue screens, or applications crashing without warning | Could be the system files, a driver, or hardware — one of several layers | A symptom alone cannot identify the layer; each layer must be tested |
| DISM reports an error code such as 0x800f081f | The repair source cannot be found, or the store is damaged [A-S12][B-S5] | Not a reason to reinstall immediately |
1.2 How damage happens: five main causes
First, a write interrupted halfway. CBS (Component-Based Servicing) relies on KTM (Kernel Transaction Manager) to perform transactional file and registry writes, so that a change is committed as a whole rather than half done [A-S21]. If power is lost mid-commit, a component can be left in a partially installed state. Microsoft's official error table attributes CBS_E_CANNOT_UNINSTALL (a package cannot be uninstalled) to component store corruption caused by components in a partially installed state [A-S13]. On a laptop, the usual versions of this are an ageing battery cutting out without warning, holding the power button to force a shutdown, or closing the lid during an update and letting the battery run flat. An update interrupted mid-install belongs to the same mechanism: an update may fail to install because of corruption errors, and DISM can help repair some Windows corruption errors [A-S12].
Second, a problem at the disk layer. The official definition of chkdsk /r is that it locates bad sectors and recovers readable information, includes the functionality of /f, and adds analysis of physical disk errors [A-S20]. In other words, Microsoft recognises a category called physical disk errors. When a file or directory is corrupted and unreadable, the update error table shows ERROR_FILE_CORRUPT (the file or directory is corrupted and unreadable), classified as component store corruption [A-S13]. An SSD controller or firmware fault, or worn flash cells, can mean the data written to disk is already wrong, so SFC later reports a hash mismatch — but that is a reasonable inference, not a statement in any Microsoft document that an SSD controller fault corrupts system files, so treat it only as a possibility, to be confirmed by chkdsk and SMART testing.
Third, memory errors. This is also a mechanism-level inference with no Microsoft document directly supporting it: faulty RAM can corrupt data held in memory, which is then written back to disk as a corrupt file, and bad RAM can also make DISM and SFC themselves unstable. Microsoft only provides Windows Memory Diagnostic (mdsched) as the built-in tool for checking memory problems: it runs a standard memory test, restarts, and shows the result when you sign in [A-S28]. The right approach is: if SFC or DISM repeatedly fails to fix the same damage, or the damage returns after repair, check the RAM with mdsched. Bad RAM corrupting system files is not a settled fact.
Fourth, malware tampering. The design purpose of WRP is to prevent unauthorised replacement of protected resources [A-S5][A-S7]; but malware that gains TrustedInstaller-level privilege or disables protection can in theory bypass it. SFC exists to detect files that do not match the expected version [A-S4]. The practical point is that SFC is not an antivirus tool: if you suspect malware, run a full scan with Windows Security or a trusted antivirus first, remove the malware, and only then run DISM and SFC — otherwise the repaired files will simply be altered again. That ordering is a practical recommendation, not an official statement.
Fifth, third-party cleaning tools deleting WinSxS. Microsoft warns explicitly that deleting files from the WinSxS folder or deleting the entire WinSxS folder can seriously damage the system, leave the computer unable to boot, and make updates impossible [A-S17]. Any third-party tool that claims to deep-clean WinSxS by deleting files directly, rather than through DISM or the built-in cleanup, is a high-risk operation. By the same logic, do not delete files from %windir%\Installer by hand; an older Microsoft document states that deleting any file in that folder is not supported and not recommended [A-S19].
Two further points are worth noting. A full disk causing update writes to fail: the official documents consulted do not state this in so many words. Logically an update needs temporary space, and a full disk cannot provide it, but there is no official conclusion on this point. Updates and DISM repairs need sufficient free space; confirm the system drive has enough space before starting a repair, and use the built-in cleanup tools to free space first if it does not. The official documents give no specific number of gigabytes.
1.3 The first judgement: do not jump to reinstallation
Many users see SFC report that it cannot fix the damage and conclude the machine is beyond saving and must be reinstalled or replaced. That is a misdiagnosis. The most common reason SFC cannot fix damage is that the component store itself is damaged, not that the drive has failed; the next step is DISM /RestoreHealth, not a new SSD [A-S2][A-S30]. The correct order is DISM first, then SFC: Microsoft Support instructs you to run DISM.exe /Online /Cleanup-image /Restorehealth first, and only run sfc /scannow once you see the operation complete successfully, because DISM supplies the files SFC needs for the repair [A-S1]. Another Support article states the same rule in words: you should run DISM before running the System File Checker [A-S2]. If you are unsure which step fits your machine, or the machine holds important data that is not yet backed up, check the pricing page first to understand the cost of diagnostics and repair, then decide whether to follow this guide yourself or hand the machine to a repair technician.
2. How SFC Works: Windows Resource Protection
2.1 What SFC is
SFC is a built-in Windows tool that checks system files for corruption and helps repair problems that may cause Windows to malfunction [A-S1]. The Microsoft Learn Win32 documentation defines it this way: Sfc.exe enables system administrators to scan all protected resources to verify their versions [A-S4]. An older Server document says the same thing in slightly different words: SFC enables administrators to scan all protected files to verify their versions [A-S29]. The modern command reference defines it as scanning and verifying the integrity of all protected system files and replacing incorrect versions with the correct version [A-S3].
It must be run as an administrator: the Learn command reference states that you must be signed in as a member of the Administrators group to run sfc [A-S3], and the Support steps likewise require opening Command Prompt as an administrator [A-S1]. A non-elevated window cannot run it. SFC is not antivirus software: it only verifies the integrity of protected Windows files and does not scan the whole machine for malicious programs.
2.2 WRP: the key to understanding SFC
WRP (Windows Resource Protection) prevents the replacement of essential system files, folders and registry keys that are installed as part of the operating system, and has been available since Windows Vista and Windows Server 2008 [A-S5]. Without WRP, the mechanism layer cannot be explained.
The permission model. Full access permission to modify a WRP-protected resource is limited to TrustedInstaller; a protected resource can only be changed through a supported resource replacement mechanism, via the Windows Modules Installer service [A-S5][A-S7]. Even a process running as Administrator or SYSTEM cannot change a protected resource without authorisation; it can only read and execute it. That is why an ordinary user — or even an administrator — cannot simply overwrite a system file: the file is owned by TrustedInstaller, not by you.
The protection is based on ACLs. WRP uses the Windows discretionary access control list (DACL) and the ACLs defined on protected resources to detect and prevent attempts to replace them [A-S7]. An application that tries to modify a WRP resource will not succeed and may receive an access denied error [A-S7]. Developers can use the SfcIsFileProtected and SfcIsKeyProtected functions to test whether a file or key is protected [A-S7]; at user level, looking at file permissions tells the same story: a WRP file shows TrustedInstaller with full control, while SYSTEM, Administrators and Users have only read permission.
Which files are protected. WRP protects files installed by Windows with the extensions .dll, .exe, .ocx and .sys, plus a large list of critical files including .acm, .ax, .bat, .cpl, .drv, .inf, .msc, .mui, .nls, .scr and .vbs; the full list is in the Protected Resource List [A-S6]. For folders, a folder containing only WRP-protected files may be locked so that only the Windows trusted installer can create files or subfolders inside it [A-S6]. WRP also protects essential registry keys; all subkeys and values of a protected key can be protected [A-S6].
WRP versus the older WFP. WRP is the new name for Windows File Protection (WFP); WFP protected files only, while WRP protects registry keys and folders as well [A-S5]. That distinction matters, because it explains why an SFC repair sometimes involves registry data as well as file replacement.
2.3 What sfc /scannow actually does
Step by step, combining the official documents:
1. Open Command Prompt as an administrator [A-S1].
2. Microsoft recommends installing the latest Windows updates and restarting before running SFC [A-S1].
3. Run DISM /RestoreHealth first, to make sure the component store is healthy — because the replacement files SFC uses come from the component store [A-S1][A-S2].
4. Run sfc /scannow: it scans the integrity of all protected system files and repairs problem files as far as possible [A-S3]. The Win32 documentation adds a critical detail: files that are critical for restarting Windows and do not match the expected Windows version may be replaced with the correct version; if a file is repaired, the corresponding registry data is repaired as well; protected files that are not critical for restarting are not repaired [A-S4]. This point is rarely mentioned in Chinese-language guides, and it is one reasonable explanation for the situation where SFC reports no problem yet the problem remains.
5. Do not close the window or shut down during the scan; when it finishes, read the result message beginning with "Windows Resource Protection" [A-S1]. Do not close the Command Prompt window until verification reaches 100% completion [B-S1][B-S2].
6. All SFC activity is written to %windir%\Logs\CBS\CBS.log, with SFC entries marked [SR]; see Chapter 6 [A-S2].
2.4 The four result messages, quoted exactly
The Microsoft Support long-form article lists the standard results; the four sentences below are quoted word for word [A-S2]. The Microsoft Support SFC detail page likewise lists the four scan result messages and their corresponding actions [B-S1]:
| Result message | Meaning | Next step |
|---|---|---|
| Windows Resource Protection did not find any integrity violations. | No integrity violations in protected system files | The problem is not in the system files; check drivers, applications and hardware |
| Windows Resource Protection found corrupt files and successfully repaired them. | Corrupt files were found and repaired successfully | Restart so the repaired files load, then verify the original problem is gone |
| Windows Resource Protection found corrupt files but was unable to fix some of them. | Corruption was found but some files could not be fixed | Move to DISM to repair the component store, or replace files manually following the Support guidance |
| Windows Resource Protection could not perform the requested operation. | The requested operation could not be performed | Run SFC again in Safe Mode; and confirm that PendingDeletes and PendingRenames folders exist under %WinDir%\WinSxS\Temp [A-S2] |
2.5 Why SFC sometimes reports corruption it cannot fix
The mechanism-level reasons, in order of likelihood:
1. The component store itself is damaged. The good files SFC uses come from the component store; if the store is broken, SFC has no good files to use [A-S1][A-S2]. This is the most common reason, and the fix is DISM /RestoreHealth, not running SFC ten times [A-S30].
2. A file is locked or in use. In Safe Mode Windows loads only essential drivers and services, so fewer files are locked and SFC has a better chance of gaining full access. The Safe Mode recommendation comes from the Support article's guidance for the "could not perform" case [A-S2]; the locking mechanism itself is an inference — only a possible cause.
3. The file is not critical for restarting. According to the Win32 documentation, protected files in this category are not repaired even if they do not match the expected version [A-S4]. This is a limitation stated in black and white in the official documentation, and it is almost never mentioned in Chinese-language guides.
4. A pending operation is blocked. If the PendingDeletes or PendingRenames folders are missing under %WinDir%\WinSxS\Temp, SFC cannot perform the requested operation [A-S2].
5. The underlying hardware keeps writing bad data. Bad sectors on the disk or RAM errors can corrupt a file again after it has been repaired. SFC fixing a file and the same file breaking again is a hardware-layer signal, not a sign that SFC itself is malfunctioning.
2.6 The full SFC parameter table
The authoritative source is the Microsoft Learn modern command reference [A-S3], cross-checked against the Win32 WFP reference [A-S4]:
| Parameter | What it does | Does it repair? | When to use it |
|---|---|---|---|
/scannow | Immediately scans the integrity of all protected system files and repairs problem files as far as possible [A-S3] | Yes | The standard full-machine repair |
/verifyonly | Scans the integrity of all protected system files without performing any repair [A-S3] | No | You only want a diagnosis, or want to confirm a problem exists before changing anything |
/scanfile= | Scans the integrity of a specified file (full path and file name) and attempts a repair if a problem is found [A-S3] | Yes | CBS.log has already named the damaged file |
/verifyfile= | Verifies the integrity of a specified file without repairing it [A-S3] | No | Diagnosing a single file |
/offbootdir= | Specifies the offline boot directory for offline repair [A-S3] | — | WinRE and offline repair |
/offwindir= | Specifies the offline Windows directory for offline repair [A-S3] | — | WinRE and offline repair |
/offlogfile= | Specifies where the log file is stored instead of the default location [A-S3] | — | Writing the log to a USB drive or another disk during offline repair |
/cachesize, /cancel, /enable, /purgecache, /quiet, /revert, /scanboot and /scanonce are marked as not supported in modern Windows; they are leftovers from the Windows XP and Server 2003 era of WFP [A-S4]. An older Server document once listed /scanonce, /scanboot, /revert and /purgecache, but that document belongs to the old Windows Server era and does not apply to Windows 10 or 11 [A-S29]. The older SFC syntax likewise belongs to the Windows XP and Server 2003 era and does not apply to Windows 11 [B-S18]. Only the seven current parameters are listed here.
2.7 Offline and WinRE use
When Windows will not boot, or SFC cannot run in normal mode, use the offline parameters in the Windows Recovery Environment (WinRE) [A-S3]. The example syntax from the Learn Win32 documentation is: sfc /SCANFILE=d:\windows\system32\kernel32.dll /OFFBOOTDIR=d:\ /OFFWINDIR=d:\windows [A-S4].
The key trap is that drive letters inside WinRE may differ from normal boot — the system drive may appear as D:, for example — so you must confirm the actual letter with diskpart or dir first and never assume it is C:. That is a practical reminder, not a sentence from the official documentation — treat it as an operational tip. Another common form, sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows, appears in several second-hand guides [A-S35] and works on the same principle; cite the Learn parameter definitions [A-S3] as the authority.
One honest qualification is needed: SFC supports offline parameters, but the two Microsoft Support main pages consulted do not list the offline syntax item by item; offline commands below are an unverified detail and should be checked word for word against the Microsoft Learn sfc command reference rather than copied from a second-hand blog. The practical rule is: if you cannot reach the desktop, consider WinRE or installation media; if you can reach the desktop, do not skip online DISM and SFC and jump straight to reinstallation [B-S13][B-S14].
2.8 Replacing a damaged file by hand (advanced)
The Microsoft Support long-form article explicitly provides a procedure for manually replacing a damaged system file with a known good copy: first read the SFC procedure details to identify the damaged file, then replace it by hand [A-S2]. That procedure requires extracting the damaged file name from the [SR] entries in CBS.log using findstr (see Chapter 6) and obtaining the file from a good source running the same version of Windows.
The official flow is: look in CBS.Log to find which file could not be repaired, find a known good copy, run takeown /f to take ownership, run icacls to grant permission, then copy to replace it [B-S1]. A known good copy can come from another computer running the same version of Windows; Microsoft recommends running SFC on that computer first to confirm the file you want to copy is a good copy [B-S1].
But the position is clear: manual replacement involves taking ownership away from TrustedInstaller and changing ACLs, and a mistake can break WRP protection; it is an advanced, technician-level operation, not a first step for ordinary users. Never teach people to download individual DLLs or system files from the internet. The judgement here is that manual replacement is a high-risk operation, suitable only file by file where the version, architecture and language match exactly; for most users, DISM offline-source repair or an in-place upgrade is already enough, and manual replacement is not the first choice [B-S1]. If none of the steps above works, the official guidance at the foot of the page is that you may need to reinstall Windows, with a link to "Recovery options in Windows" [B-S1][B-S13]. If you have reached that point and are not comfortable with ownership and permission operations, the safe move is to get a professional diagnostic first and let a technician judge whether manual replacement is worthwhile or whether a higher-level repair path is the right call.
3. How DISM Works: Repairing the Warehouse Behind SFC
3.1 What DISM is and which layer it owns
DISM (Deployment Image Servicing and Management) is a command-line tool for servicing and repairing Windows images; it can repair offline WIM or VHD images or an online (running) Windows image [A-S8]. If an online image becomes unusable, it also attempts to repair itself [A-S8].
The division of labour is worth repeating, because the whole guide turns on it: SFC repairs individual protected files; DISM repairs the component store — the source SFC uses to obtain good files [A-S30]. The Microsoft Q&A repair guide states that DISM checks and restores the health of the Windows image that SFC depends on [A-S30]. The official repair order is DISM first, then SFC: DISM repairs the component store (WinSxS), and SFC then uses that store as its baseline to repair protected system files [B-S1][B-S2].
DISM must be run in an elevated Command Prompt, PowerShell or terminal. Every official document assumes an elevated environment; for example, the command examples in the Learn repair guide all assume elevation [A-S8]. The DISM operating system package servicing command-line options document also states that /RestoreHealth scans the component store of an image for corruption and automatically performs repair operations, while /Source can specify the location of known good files [A-S10]. DISM also has a PowerShell equivalent, the Repair-WindowsImage cmdlet, with matching functionality — see section 3.4 [A-S9].
3.2 CheckHealth, ScanHealth and RestoreHealth compared
The three are progressive stages, not three separate tools. Microsoft Learn defines them as follows [A-S8][A-S9]:
| Operation | Official definition | Does it scan? | Does it repair? | How long it takes |
|---|---|---|---|---|
/CheckHealth | Checks whether the image has been flagged as corrupted by a failed process, and whether the corruption can be repaired [A-S9]; reports the image as healthy, repairable or non-repairable [A-S8] | No — it only reads flags | No | Fast, seconds; the speed description comes from a second-hand guide [A-S33], since the official text only calls it a check, not a scan |
/ScanHealth | Scans the image to check for component store corruption; this operation takes several minutes [A-S9] | Yes — a full scan | No | Several minutes [A-S8] |
/RestoreHealth | Scans the image for component store corruption and then automatically performs repair operations [A-S9] | Yes | Yes | Several minutes at least; the official text only says several minutes, and the actual time depends on the extent of damage, disk speed and network |
What happens with non-repairable? Microsoft states explicitly that if an image is non-repairable, you should discard the image and start again; if it is repairable, you can repair it with /RestoreHealth [A-S8]. In consumer laptop terms, discarding the image and starting again corresponds to an in-place upgrade repair, a reset, or a clean installation — see Chapter 9, L5 and L6. DISM reports the image state as healthy, repairable or non-repairable; only a repairable image can be fixed with RestoreHealth [B-S3]. That last sentence is a second-hand Q&A restatement of the official flow.
The correct sequence is CheckHealth (quick screen) → ScanHealth (diagnosis) → RestoreHealth (treatment) → sfc /scannow (mopping up) [A-S30]. But the Microsoft Support simplified flow runs /RestoreHealth directly and then sfc /scannow [A-S1]; the simplified version is for general users, and the full four-step version is for advanced readers.
The difference between the three health-check commands can also be summarised this way [B-S3][B-S4]: CheckHealth is a quick check that only reports corruption flags already detected, and does not repair; ScanHealth is a complete scan of the component store, does not repair, and takes several minutes; RestoreHealth scans and repairs automatically, fetches files from Windows Update by default, and takes several minutes to more than an hour. The "more than an hour" part is a second-hand summary; the official text only says several minutes, and is not an official guarantee. /RestoreHealth takes a few minutes; do not close the window partway through [B-S1][B-S2].
3.3 What DISM actually checks: the scope of its inspection
The scope of DISM's integrity checking goes beyond files. It also covers the two directories %SYSTEMROOT%\Servicing\Packages and %SYSTEMROOT%\WinSxS\Manifests, and the three registry locations HKLM\Components, HKLM\Schema and HKLM\Software\Microsoft\Windows\CurrentVersion\Component Based Servicing [B-S5]. If DISM detects incorrect manifest, cabinet or registry data, it may replace it with a corrected version [B-S5]. That scope explains why DISM can report a damaged store even when nobody has deleted a file: the damage can sit in a manifest, in package metadata, or in the registry — not in a particular DLL that has gone missing.
DISM also creates logs while it works. DISM creates CBS.log, recording problems found or repaired [A-S12]. When DISM fails, the official guidance is to read C:\Windows\Logs\DISM\dism.log [A-S14][A-S15]; SFC details are in CBS.log [A-S2]. Both logs should be read together, not one instead of the other [A-S38].
3.4 The PowerShell equivalents
The Repair-WindowsImage cmdlet repairs a Windows image in a WIM or VHD file [A-S9]. The parameter mapping is: -CheckHealth (checks whether the image has been flagged as corrupted by a failed process and whether the corruption can be repaired), -ScanHealth (scans for component store corruption; takes several minutes), -RestoreHealth (scans and repairs automatically) [A-S9]. -LimitAccess prevents Windows Update from being used as a repair source; -Source specifies the location of known good files, for example the root of a mounted image [A-S9]. CheckHealth, ScanHealth, RestoreHealth, Source and LimitAccess apply only to images of at least Windows 8 or Windows Server 2012 [A-S9]. CMD syntax is used as the main form here, with the PowerShell form given as a note. The equivalent command is Repair-WindowsImage -Online -RestoreHealth [A-S9].
3.5 DISM appears stuck: first distinguish slow from dead
This is the point where most users panic. Microsoft Support says DISM may take a few minutes to complete [B-S1][B-S2]; the DISM reference likewise says RestoreHealth takes a few minutes [B-S4]. In practice, DISM or SFC sitting at one percentage — 20%, 62% or 100%, for example — for a long time is common, especially on a large disk, a slow SSD, or when files must be downloaded from Windows Update; do not force a shutdown or close the window before it finishes [B-S1].
The official warning is not to close the Command Prompt window before verification reaches 100% completion [B-S1]. DISM sitting around 62.3% is very likely normal, but the Microsoft documentation only says ScanHealth and RestoreHealth take several minutes and never mentions the figure 62.3%; waiting at least an hour, checking whether DismHost.exe or TiWorker.exe is still active, and checking whether dism.log is still growing, is a second-hand teaching consensus [A-S34][A-S40]. (That is practical experience, not an official statement.) Another second-hand guide describes how to judge DISM stuck at 3.8%, 20%, 62.3%, 84% or 100% by looking at CPU, disk and network activity to tell a genuine freeze from slowness [A-S40]; that too is only supporting material.
The rule of thumb is this: if the percentage is not moving but the disk light is still flashing, dism.log is still gaining lines, and DismHost.exe or TiWorker.exe still shows CPU and disk activity, it is most likely just slow, and you should wait. Only if it has been stuck for more than an hour with no disk activity at all should you consider it genuinely stuck; otherwise, let it finish. The "more than an hour" figure is a practical judgement; Microsoft gives no official timeout definition, and that is one of the unverified items. Most importantly, slowness is not failure: force-shutting down to interrupt DISM is itself a way of creating new damage, because a write interrupted mid-transaction is exactly the corruption mechanism described in Chapter 1.
3.6 What DISM cannot fix
DISM repairs the component store and image health. The following are outside its reach:
| What DISM cannot fix | Why | What to do instead |
|---|---|---|
| Bad sectors on the disk | DISM is not a disk tool; bad sectors are a physical-layer problem | Run chkdsk first, then look at SMART — see Chapter 10 |
| Data corrupted by bad RAM | DISM verifies hashes but cannot stop RAM from continuing to write wrong data | Run mdsched or MemTest86 — see Chapter 10 |
| Driver problems | Drivers are not part of the protected system files | Update or reinstall the driver |
| Damage inside an application | Application files are not protected by WRP | Reinstall that application |
| Malware that keeps altering files | The files will be altered again after repair | Remove the malware first, then repair |
| Static files not protected by WRP, such as some wallpaper images | WRP does not scan these files, and SFC will not repair them [B-S12] | Ignore them — see Chapter 6 |
4. The Three DISM Repair Sources: Why "Source Files Could Not Be Found" Appears So Often
4.1 The default source: Windows Update
The default DISM repair source is Windows Update [A-S1]; in offline, no-network or WSUS environments, use /Source to point at a mounted image or install.wim, and add /LimitAccess to stop DISM looking for Windows Update again [A-S8]. Running RestoreHealth without any /Source means using the Windows Update route [A-S8]. It requires internet access, a working Windows Update service, and no Group Policy or WSUS block. The failure signals are 0x800F0906 (download failed) and 0x800F081F (source not found), broken down code by code in Chapter 7.
Many users cannot understand why DISM reports that it cannot find a source when the machine is clearly online. The reasons can sit at many layers: proxy settings, a firewall, WSUS configuration, a stopped update service, or a damaged update stack. Those causes come from second-hand summaries [B-S24]; treat them as possibilities, not as a single definitive cause.
4.2 Route two: the Windows folder of a mounted image
Mount a Windows image and point at its Windows folder, for example: Dism /Online /Cleanup-Image /RestoreHealth /Source:c:\test\mount\windows /LimitAccess [A-S8]. The offline image example is: Dism /Image:C:\offline /Cleanup-Image /RestoreHealth /Source:c:\test\mount\windows [A-S8]. The role of /LimitAccess is to prevent DISM from using Windows Update as a repair source or fallback repair source (for an online image) [A-S8].
There is also another official form: DISM.exe /Online /Cleanup-Image /RestoreHealth /Source:C:\RepairSource\Windows /LimitAccess, where C:\RepairSource\Windows must be replaced with the actual repair source location [B-S1]. /Source specifies the location of known good files, for example the Windows directory of a mounted image [B-S4]; /LimitAccess prevents DISM from contacting Windows Update for online repair [B-S4].
For a network source, the official example is DISM.exe /Online /Cleanup-Image /RestoreHealth /Source:\\, and the source computer must be running the same version of the system [B-S5]. That form is mostly seen in corporate environments; home readers only need to know it exists.
4.3 Route three: install.wim (installation media)
The syntax for specifying a WIM file is supported by official documentation: add the prefix WIM: to the alternate source file path, followed by the image index, for example WIM:\\server_name\share\install.wim:3, where 3 is the index of the image containing the feature files [A-S14].
The practical command form, combining the official syntax with second-hand verification, is: DISM /Online /Cleanup-Image /RestoreHealth /Source:WIM:D:\sources\install.wim:6 /LimitAccess, where 6 must first be found with DISM /Get-WimInfo /WimFile:D:\sources\install.wim to identify the correct index for the matching version [A-S32][A-S34]; the DISM image management command documentation states that /Get-WimInfo displays information about the images inside a WIM, and that /Index or /Name can select a specific image [A-S11]. When using a WIM as a source, check the index number N with Get-WimInfo first; never copy 6 blindly, because the index differs between media and a wrong index produces the same source-not-found error.
Another WIM form appears in a second-hand summary: DISM /Online /Cleanup-Image /RestoreHealth /Source:wim:D:\sources\install.wim:INDEX /LimitAccess, with INDEX to be verified first with DISM /Get-WimInfo; that sentence is a second-hand summary [B-S24].
The install.esd form needs special care: second-hand guides commonly write /Source:ESD:D:\sources\install.esd:; but the Microsoft official documentation consulted does not list the ESD: prefix syntax word for word — it only lists WIM: [A-S14]. That belongs on the unverified list, so use the WIM form; do not use the ESD form unless it has been verified against the official documentation.
The dedicated source for NetFx3 (.NET Framework 3.5) is the \sources\sxs folder, for example Dism /online /enable-feature /featurename:NetFx3 /All /Source:D:\sources\sxs /LimitAccess [A-S14]. Note that this is a source for enabling a feature, not a general RestoreHealth source — do not confuse the two.
4.4 The multiple-source rule
If more than one /Source is specified, files are copied from the first location where they are found, and the remaining locations are ignored [A-S8]. If no /Source is specified, the default location for Features on Demand is used, as determined by Group Policy [A-S8]. The default factor that determines the repair source is the same as for Features on Demand: it is determined by Group Policy, and Group Policy can be used to set a preferred repair source [B-S3][B-S9].
4.5 The source version must match: the most common root cause of failure
The Microsoft .NET documentation lists three conditions for 0x800F081F: the specified path does not contain the required files; the user does not have at least read permission; or the installation file set is corrupted, incomplete, or does not match the running version of Windows [A-S14].
A practical inference: if the machine has already installed cumulative updates newer than the installation media, the media may not contain the newer payload DISM needs, and RestoreHealth will keep reporting 0x800F081F. Second-hand guides commonly carry this warning [A-S34], but the official documentation does not state it in those words; the media version should match the system version (version, language and architecture), based on the "invalid for the version of Windows" condition in [A-S14].
The key matching requirement is that the source image must match the installed Windows in version, edition and language, or DISM will keep reporting that the source cannot be found [B-S24] — a second-hand summary. This point matters because it is the most common "I thought I had a source but it was not usable" cause of 0x800f081f. The check is to use winver for the system version and DISM /Get-WimInfo for the media version and index [A-S32].
At the Group Policy layer, the repair source is determined by Group Policy in the same way as the Features on Demand source [A-S8]; the policy "Specify settings for optional component installation and component repair" can specify an alternate source path, or set the machine to contact Windows Update directly to download repair content instead of using WSUS [A-S14]. A computer managed by a company or school should not have its policy changed by the user; ask IT. The official path is Computer Configuration, Administrative Templates, System, "Specify settings for optional component installation and component repair" [B-S9]. That policy can set an alternate source file path and tick the option to download repair content and optional features directly from Windows Update instead of using WSUS [B-S9]. The practical warning is that a home computer should not have its Group Policy changed casually; if the machine is managed by a company or school, ask IT first and do not bypass WSUS on your own, since bypassing it may breach company policy [B-S25] — a second-hand warning.
4.6 The three routes compared
| Route | How it works | Strengths | Weaknesses and failure signals | Who it suits |
|---|---|---|---|---|
| Windows Update (default) | Run RestoreHealth with no /Source [A-S8] | The simplest route; no media to prepare | Fails with no internet, a WSUS block, or a stopped update service; reports 0x800F0906 or 0x800F081F | Most home machines with stable internet |
| Mounted image Windows folder | /Source points at the Windows directory of a mounted image, plus /LimitAccess [A-S8] | No internet needed; fast | You must know how to mount an image; a version mismatch fails just the same | Advanced users, no-network environments |
| install.wim installation media | /Source:WIM:D:\sources\install.wim:N plus /LimitAccess; find N first with Get-WimInfo [A-S14][A-S11] | The source is explicit and reusable | The media version, language and architecture must match; a wrong index means not found [A-S14] | No network, WSUS environments, damaged update stack |
5. The WinSxS Component Store: Why the Folder Looks So Large, and Why You Must Never Delete It by Hand
5.1 What WinSxS is
The WinSxS folder sits inside the Windows folder, for example C:\Windows\WinSxS, and is the location of the Windows component store files; the component store supports the customisation and updating that Windows needs [A-S16]. The component store contains the components that make up Windows and let the system work; these components are kept in the folder in case a change needs to be rolled back or a damaged file needs to be repaired [A-S17]. WinSxS (Windows Side-by-Side) is the component store, located at C:\Windows\WinSxS; it holds the components that make up Windows, which the system uses to run, roll back changes and repair damaged files [B-S7]. These components are kept there in case a rollback or repair is needed [B-S7].
The component store was first introduced in Windows XP to support side-by-side assemblies, letting two applications each use a different version of the same library [A-S16]. It is not a rubbish bin: it is not a temporary folder or a cache; it is the repair source for SFC, the installation base for updates, and the payload source for enabling features. Deleting it deletes the ability to repair. The component store is the repair source for DISM and SFC; if the store itself is damaged, SFC cannot repair anything [B-S1][B-S3].
5.2 Why WinSxS grows
The component store contains all the files a Windows installation needs; when an update is installed, the updated versions of those files are also kept in the store; over time, as more updates, features or roles are added, the store keeps growing [A-S19]. Every cumulative update leaves the store holding both the new and the old version of a component, with the old version kept so that the update can be uninstalled or rolled back [A-S17]. On an old machine, or a machine that has not been cleaned for a long time, a store of several gigabytes to more than ten gigabytes is normal — it is not a fault signal.
That growth mechanism explains a common misunderstanding: users see WinSxS getting bigger and assume the machine is infected or the system is out of control. In fact, as long as updates are being installed, the store must grow. The right question is not how big it is, but whether it is healthy — big does not mean broken. AnalyzeComponentStore measures size; ScanHealth and RestoreHealth check health [B-S7][B-S3].
5.3 Why File Explorer reports a large number: the hard link mechanism
This is the mechanism most worth explaining clearly in the whole guide, and the one Chinese-language guides most often get wrong. The component store uses NTFS hard links to connect itself with other Windows directories, improving the robustness of the Windows platform [A-S19]. A hard link is a file system object that lets two files point to the same location on disk; more than one file can point to the same data, and changing the data through one file is reflected in the other [A-S16].
When File Explorer counts, it counts each hard link reference as one instance of the file — once in each directory where the file appears [A-S19]; so the directory size shown for WinSxS is exaggerated. The official explanation puts it this way: files in this folder may appear to be stored in multiple locations in the operating system, but usually there is only one copy of a file, and the other copies are actually hard links. Tools such as File Explorer do not take into account that files may be hard links when calculating directory size, which may make you think the WinSxS folder occupies more disk space than it really does [B-S7]. In other words, the same physical file can appear in both WinSxS and C:\Windows\System32 and similar locations, but it is counted once on disk; File Explorer counts every hard link in full, so it reports a larger number [B-S7].
Microsoft's three-answer example, from the Manage the Component Store article, is that the same directory yields three different correct numbers depending on whether you ask how big it is by reading every file, by copying it somewhere else, or by deleting it to free space; for WinSxS, the figure closest to the real extra space used is the third answer — files hard-linked to the rest of the system are needed for Windows to work and should not be counted at all [A-S16].
The conclusion is: do not judge how much space WinSxS occupies by right-clicking it in File Explorer and choosing Properties; the only accurate method is AnalyzeComponentStore, covered in the next section [A-S17]. Do not use File Explorer's WinSxS properties as a disk-full diagnosis; use the DISM report [B-S7].
5.4 Reading the AnalyzeComponentStore report, field by field
The command is Dism.exe /Online /Cleanup-Image /AnalyzeComponentStore, and it requires administrator rights [A-S17]. The same command also appears in Microsoft Learn [B-S7]: Dism.exe /Online /Cleanup-Image /AnalyzeComponentStore.
The report fields, from the Microsoft Learn original table [A-S17][B-S7]:
| Field | Meaning |
|---|---|
| Windows Explorer Reported Size of Component Store | The size File Explorer calculates, without taking hard links into account |
| Actual Size of Component Store | The actual size after taking hard links into account; but not excluding files shared with Windows |
| Shared with Windows | The size of files that appear in both the store and other locations via hard links and are needed for Windows to work normally; included in the actual size, and should not be treated as store overhead |
| Backups and Disabled Features | The size of components kept in case a new component fails or to allow more features to be enabled; also includes store metadata and side-by-side components; part of the store overhead |
| Cache and Temporary Data | Files inside the store used to speed up component servicing operations; part of the store overhead |
| Date of Last Cleanup | The date of the most recent completed component store cleanup |
| Number of Reclaimable Packages | The number of superseded packages on the system that cleanup could remove |
| Component Store Cleanup Recommended | A cleanup recommendation, shown when running cleanup may reduce store overhead |
The official sample is as follows [B-S7]:
| Field | Official sample value |
|---|---|
| Windows Explorer Reported Size of Component Store | 4.98 GB |
| Actual Size of Component Store | 4.88 GB |
| Shared with Windows | 4.38 GB |
| Backups and Disabled Features | 506.90 MB |
| Cache and Temporary Data | 279.52 KB |
| Date of Last Cleanup | 2021-06-24 23:32:22 |
| Number of Reclaimable Packages | 0 |
| Component Store Cleanup Recommended | No |
5.5 Three cleanup methods, plus the ResetBase warning
Method one: the scheduled task (automatic, conservative). The StartComponentCleanup task automatically cleans up components when the system is idle; when it runs automatically, it waits at least 30 days from when an update component was installed before uninstalling the old version [A-S18]. Running the task manually carries a one-hour timeout, and it may not clean up every file [A-S18]. Microsoft strongly recommends not disabling component cleanup [A-S18]. The same mechanism also appears in Microsoft Learn [B-S8]: it runs automatically when the system is idle.
Method two: DISM /StartComponentCleanup (manual, immediate). The command is Dism.exe /online /Cleanup-Image /StartComponentCleanup [A-S18]. Community illustrated guides show the same steps [A-S36]. The effect is similar to the scheduled task, with two differences: superseded versions are deleted immediately, with no 30-day grace period, and there is no one-hour timeout [A-S18]. This is the main cleanup method.
Method three: add /ResetBase (the most thorough, irreversible). The command is Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase [A-S18]. It removes every superseded version of every component in the component store [A-S18]. The cost is that after it completes, all existing update packages can no longer be uninstalled; but it does not prevent future update packages from being uninstalled [A-S18]. The official wording is: "All existing update packages can't be uninstalled after this command is completed, but this won't block the uninstallation of future update packages." [B-S8] The DISM reference carries the same warning: "Installed Windows updates can't be uninstalled after running /StartComponentCleanup with the /ResetBase option." [B-S4]
The three methods compared [B-S8]:
| StartComponentCleanup (scheduled task) | DISM /StartComponentCleanup | DISM /StartComponentCleanup /ResetBase | |
|---|---|---|---|
| Trigger | Runs automatically when the system is idle [B-S8] | Run manually, immediately [B-S8] | Run manually, immediately [B-S8] |
| 30-day grace period | Yes: the automatic task waits at least 30 days after an update component is installed before removing the old version [B-S8] | No: old versions are deleted immediately, with no 30-day grace period [B-S8] | No (same as the middle column) |
| One-hour timeout | Yes: the task has a one-hour timeout and may not clean up all files [B-S8] | No one-hour limit [B-S8] | No one-hour limit |
| Scope of removal | Superseded component versions (after 30 days) | Superseded component versions (immediately) | All superseded component versions [B-S8] |
| Can old updates be uninstalled? | Yes (rollback ability is kept) | Partly kept: superseded versions are deleted immediately, but updates that have not been superseded can still be uninstalled | No: after this command completes, all existing update packages cannot be uninstalled; but it will not block uninstalling future update packages [B-S8] |
/ResetBase only when the system is stable and you do not need to roll back an old update; do not use it immediately after installing a cumulative update that has a problem [B-S30] — a second-hand warning. Do not run /ResetBase while updates are still waiting to be installed — also a second-hand warning [B-S30]. Microsoft strongly recommends not disabling component cleanup; component cleanup is necessary to maintain best system performance and free disk space, for example by removing outdated system files such as old Windows Update files [B-S8]. /ResetBase is not a space-saving magic trick: if Number of Reclaimable Packages is 0 and Cleanup Recommended is No, running it will not save much [B-S7].
Other cleanup routes: Disk Cleanup's "Windows Update Cleanup" option and Storage Sense can also clean the store; an older method is DISM /online /Cleanup-Image /SPSuperseded, mentioned in an old Microsoft document for making a Service Pack installation permanent and reclaiming space [A-S19]; in modern Windows 10 and 11, StartComponentCleanup is the standard method, and SPSuperseded is not the main method.
Do not use /ResetBase as a routine space-saving trick. /ResetBase makes all existing update packages impossible to uninstall [A-S18]; discovering that only when you need to roll back an update is too late. Use it only when the system is stable and you are sure no rollback will be needed; for everyday cleanup, use plain StartComponentCleanup.
5.6 Never delete WinSxS by hand
The Microsoft warning reads: some important system files are located only in the WinSxS folder; deleting files from the WinSxS folder or deleting the entire WinSxS folder may severely damage your system, leave your computer unable to boot, and make updates impossible [A-S17]. The same warning is repeated across several official documents, including Determine the Actual Size [A-S17], the Large WinSxS article [A-S19] and the Clean Up article [A-S18].
Another version of the official warning reads: some important system files are only located in the WinSxS folder. Deleting files from the WinSxS folder or deleting the entire WinSxS folder may severely damage your system so that your PC might not boot and make it impossible to update [B-S7]. The same warning also appears on the Clean Up page: "Deleting files from the WinSxS folder or deleting the entire WinSxS folder may severely damage your system so that your PC might not boot and make it impossible to update." [B-S8]
The reason is that many files exist only in WinSxS; a hard link is not a duplicate file, and deleting one side deletes the physical data on the other side too [B-S7]. The component store cannot be moved to a volume other than the system volume, because of the NTFS hard links; attempting to move it will prevent Windows updates, Service Packs, roles or features from installing correctly [A-S19]. The correct approach is to shrink WinSxS only with Windows built-in tools — DISM, the scheduled task and Disk Cleanup — and never by deleting files by hand or with a third-party WinSxS cleaner [B-S8].
6. CBS and Logs: Reading the Truth from the Log Files
6.1 The three layers: CBS, CSI and KTM
CBS (Component-Based Servicing) is a component-based architecture introduced with Windows Vista that changed how components are installed: updates, drivers and optional components are packaged as small modules, each containing all the files, registry settings and methods needed to install or remove that component completely [A-S21].
There are three layers in the core component servicing stack, in the words of the Microsoft Tech Community "Ask the Performance Team" article [A-S21]: CBS (Component Based Servicing), which is also Trusted Installer (TRUSTEDINSTALLER.EXE) and works at the package and update layer; CSI (Component Servicing Infrastructure), which works at the deployment and component layer; and KTM (Kernel Transaction Manager), which lets clients use a transactional registry and file system.
The layers must be kept distinct: CBS decides which package to install, CSI performs the component deployment, and KTM guarantees that the file and registry changes are committed together and never half done. A power cut or forced shutdown damages the system precisely because a write is interrupted mid-transaction inside KTM — see Chapter 1.
6.2 Where the logs live
| Log | Location | Purpose |
|---|---|---|
CBS.log | %windir%\Logs\CBS\CBS.log, that is C:\Windows\Logs\CBS\CBS.log [A-S12] | The in-progress servicing log; DISM creates this log file and records problems found or repaired [A-S12] |
CbsPersist_*.log or .cab | The same directory, C:\Windows\Logs\CBS\ | Archived files after CBS.log rotates; the rotation mechanism itself was not verified word for word in the official documents consulted, so only older log archives sitting in the same directory are noted here — no rotation size threshold is given |
DISM.log | C:\Windows\Logs\DISM\dism.log [A-S14][A-S33] | The DISM-specific operations record; on failure it may point to CBS.log for detail |
%windir%\panther\CBS.log | Offline image servicing | CBS detail when offline image servicing fails; a second-hand note [A-S37] |
%windir%\Logs\CBS\CBS.log and %windir%\Logs\CBS\CBS.persist.log [B-S5]; DISM's own log is at C:\Windows\Logs\DISM\dism.log, a second-hand citation of the official path [B-S25]. When DISM fails, the official guidance is to read C:\Windows\Logs\DISM\dism.log [A-S14][A-S15]; SFC detail is in CBS.log [A-S2]. The two logs must be read together, not one instead of the other [A-S38].
6.3 How to read CBS.log
Do not read it from start to finish. CBS.log is large, and many lines look alarming but are in fact routine information — a second-hand warning [A-S37], offered here as an operational tip.
Extract the SFC entries. Every SFC entry in CBS.log is marked [SR]; Microsoft Support provides the standard extraction command, run in Command Prompt as an administrator [A-S2]:
```
findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log >"%userprofile%\Desktop\sfcdetails.txt"
The extracted sfcdetails.txt lands on the desktop and contains the verification and repair entries for every SFC run [A-S37]. The details of every SFC verification and repair operation are written to CBS.log, and every SFC entry carries the [SR] label [B-S1]. The official extraction command is the same as above [B-S1]. Sfcdetails.txt contains the details of every SFC run, including files that could not be repaired; check the date and time to confirm they are the problem files from the most recent SFC run [B-S1].
Check the timestamps. A single sfcdetails.txt collects entries from every SFC run the machine has ever made, not just the latest one; only by comparing times can you tell which entries belong to the current scan — a second-hand warning [A-S37].
Need a laptop repair expert?
Free diagnosis · Transparent pricing · No fix, no fee · 180-day warranty
Search for keywords. Useful searches are Cannot repair, corrupt, failed, and specific error codes [A-S37]; for DISM, look at the tail of dism.log [A-S33]. These are second-hand summaries, offered as operational tips.
Permissions. The CBS.log folder is protected, and opening it directly in Notepad may fail for lack of permission; copying it to the desktop first is the safe approach — a second-hand note [A-S37].
The practical rules for reading CBS.log can be summarised in five steps [B-S1][B-S5]: look at the on-screen SFC or DISM result first, and do not jump straight into a CBS.log of several megabytes; use findstr /c:"[SR]" to extract the SFC entries, then look for "cannot repair"; check the date and time to confirm the entries are from the latest scan, and do not treat old entries as new problems; note the full component name, version, architecture, and whether the entry says file is missing or hash mismatch, before deciding whether the next step is offline-source repair, manual replacement, or an in-place upgrade; and if SFC reports success but CBS.log still has Cannot repair lines, first check whether they are unprotected static files such as wallpaper images [B-S12] — do not immediately claim SFC is lying.
6.4 Verification status of the key log strings
The verification results for the following strings are:
| String | Verification result |
|---|---|
Cannot repair member file | Found in an official sample: the Microsoft Support article quotes [SR] Cannot repair member file … in the store, file is missing word for word [B-S1]. It is a log sample line, not a standalone official definition; the [SR] entries in CBS.log list member files that cannot be repaired |
CSI payload corrupt | Found in an official sample: the KB 947821 DISM summary sample lists (p) CSI Payload Corrupt [B-S5]. It is a log sample line, not a standalone official definition |
Failed to resolve package | Not verified. The official documents do not contain this string; It is not official log wording |
hash mismatch | Found in an official sample: the Microsoft Learn sample quotes … in the store, hash mismatch word for word [B-S12]. It is a log sample line, not a standalone official definition. Mechanically, DISM detects damage by comparing the actual SHA-256 hash of a binary file against the reference value in the manifest — a second-hand explanation [A-S32] |
STATUS_SXS_COMPONENT_STORE_CORRUPT / 0x80073712 | Verified: 0x80073712 is ERROR_SXS_COMPONENT_STORE_CORRUPT, meaning the component store is in an inconsistent state [A-S13] |
6.5 Official samples, read line by line: file is missing versus hash mismatch
The official sample from Microsoft Support [B-S1]:
2007-01-12 12:10:42, Info CSI 00000008 [SR] Cannot repair member file [l:34{17}]"Accessibility.dll" of Accessibility, Version = 6.0.6000.16386, pA = PROCESSOR_ARCHITECTURE_MSIL (8), Culture neutral, VersionScope neutral, PublicKeyToken = {l:8 b:b03f5f7f11d50a3a}, Type neutral, TypeName neutral, PublicKey neutral in the store, file is missing
Another official sample, from Microsoft Learn, showing an unrepaired CBS.log entry [B-S12]:
[SR] Cannot repair member file [l:18{9}]"img11.jpg" of Microsoft-Windows-Shell-Wallpaper-Common, Version = 6.0.5720.0, … in the store, hash mismatch
Reading it piece by piece [B-S1][B-S12]:
| Log fragment | Meaning |
|---|---|
[SR] | An entry produced by SFC (System File Checker) [B-S1][B-S12] |
Cannot repair member file [l:34{17}]"Accessibility.dll" | A member file belonging to a component could not be repaired; [l:34{17}] is a length encoding, not an error code [B-S1] |
of Accessibility, Version = 6.0.6000.16386, pA = … | Identifies which component, which version, and which processor architecture [B-S1] |
in the store, file is missing | The file cannot be found inside the component store — the repair source itself is missing the file [B-S1] |
in the store, hash mismatch | The file exists in the store, but its hash does not match the value recorded in the manifest — the file has been damaged or altered [B-S12]; SFC checks against the SHA256 hash recorded in the manifest and reports a hash mismatch if it does not match [B-S32] — a Microsoft Q&A discussion, cited as second-hand for the mechanism |
The img11.jpg case | The official explanation is that this is a static file not protected by Windows Resource Protection; WRP does not scan variable files such as registry files and log files, nor does it protect this kind of unprotected static file, so it can only record the change in CBS.log and cannot repair it [B-S12]. The important trap: SFC reporting success while CBS.log still contains Cannot repair lines does not necessarily mean the system is faulty — it may be this kind of unprotected file [B-S12] |
entries are the signal, and that a transaction typically announces how many components it is repairing, opens a Verify and Repair transaction, reports the member files it cannot repair and why (mostly a hash mismatch or a missing file in the store), then commits and reports completion [B-S23] — a second-hand summary.
6.6 CSI payload corrupt and related DISM summary lines
The DISM summary sample in Microsoft Learn KB 947821 [B-S5]:
(p) CSI Payload Corrupt (n) amd64_microsoft-windows-a..modernappmanagement_…\EnterpriseModernAppMgmtCSP.dll — the payload file is corrupt [B-S5].
(p) CBS MUM Missing (n) Microsoft-Windows-Client-Features-Package~…~10.0.19045.4291 — the MUM file the package needs is missing [B-S5].
(p) CSI Manifest Corrupt (w) (Fixed) wow64_microsoft-windows-audio-mmecore-acm_… — the manifest was corrupt but has been repaired; (w) is a warning or repaired marker, (n) means not repaired [B-S5].
Operation result: 0x800f081f — the final result code of this DISM operation [B-S5].
Total Detected Corruption: 2 and Total Repaired Corruption: 1, with sub-counts across five categories: CBS Manifest, CBS Metadata, CSI Manifest, CSI Metadata and CSI Payload [B-S5].
Repair failed: Missing replacement mum/cat pair. — no replacement mum/cat pair could be found, so the repair failed [B-S5].
The practical reading rule is: do not look only at the Operation result line; compare Total Detected with Total Repaired to see what was fixed and what was not [B-S5].
The official advanced manual repair flow is: find the damaged file from CBS.log, work out the KB number from the UBR number in the file path (for example
10.0.19045.3636), download that KB's .msu from the Microsoft Update Catalog, extract the .cab, copy the correct version to C:\temp\Source, run DISM /Online /Cleanup-Image /RestoreHealth /Source:C:\temp\Source\ /LimitAccess again, and then run ScanHealth to verify [B-S5]. That is the official advanced flow, suitable for an advanced appendix, not as a first choice for general users.
6.7 "Failed to resolve package" and similar lines
Not verified as a word-for-word official definition: the official pages consulted do not explain the sentence "Failed to resolve package" in so many words; KB 947821 only lists the CSI and CBS categories above and nearby concepts such as 0x800f0982 ("Can't identify matching component for hydration") [B-S5].
If this line is mentioned at all: error lines in CBS.log relating to package resolution usually point to an inconsistency in the component store or manifest and must be read together with the surrounding lines and the
Operation result; the word-for-word official definition is unverified. Do not invent an explanation.
7. Error Codes, Decoded One by One: Official Definitions Versus Second-Hand Claims
7.1 The authority: the KB 947821 "Common corruption errors" table
The Microsoft Learn article KB 947821, "Fix Windows Update corruptions and installation failures", contains the official error code table and is the authority for this chapter [B-S5]. The article states at the outset that it is an advanced manual method for support personnel and IT professionals, and that home users should first read "Fix Windows Update errors" [B-S5]. The codes in that table are reproduced below, copying the official Error names and Descriptions word for word [B-S5]:
Error code Official Error name Official Description (original wording)
0x80070002 ERROR_FILE_NOT_FOUND The system cannot find the file specified. [B-S5]
0x800f0831 CBS_E_STORE_CORRUPTION CBS store is corrupted. [B-S5]
0x8007000D ERROR_INVALID_DATA The data is invalid. [B-S5]
0x800F081F CBS_E_SOURCE_MISSING The source for the package or file not found. [B-S5]
0x80073712 ERROR_SXS_COMPONENT_STORE_CORRUPT The component store is in an inconsistent state. [B-S5]
0x800736CC ERROR_SXS_FILE_HASH_MISMATCH A component's file does not match the verification information present in the component manifest. [B-S5]
0x800705B9 ERROR_XML_PARSE_ERROR Unable to parse the requested XML data. [B-S5]
0x80070246 ERROR_ILLEGAL_CHARACTER An invalid character was encountered. [B-S5]
0x8007370D ERROR_SXS_IDENTITY_PARSE_ERROR An identity string is malformed. [B-S5]
0x8007370B ERROR_SXS_INVALID_IDENTITY_ATTRIBUTE_NAME The name of an attribute in an identity is not within the valid range. [B-S5]
0x8007370A ERROR_SXS_INVALID_IDENTITY_ATTRIBUTE_VALUE The value of an attribute in an identity is not within the valid range. [B-S5]
0x80070057 ERROR_INVALID_PARAMETER The parameter is incorrect. [B-S5]
0x800B0100 TRUST_E_NOSIGNATURE No signature was present in the subject. [B-S5]
0x80092003 CRYPT_E_FILE_ERROR An error occurred while Windows Update reads or writes to a file. [B-S5]
0x800B0101 CERT_E_EXPIRED A required certificate is not within its validity period when verifying against the current system clock or the time stamp in the signed file. [B-S5]
0x8007371B ERROR_SXS_TRANSACTION_CLOSURE_INCOMPLETE One or more required members of the transaction are not present. [B-S5]
0x80070490 ERROR_NOT_FOUND Windows could not search for new updates. [B-S5]
0x800f0984 PSFX_E_MATCHING_BINARY_MISSING Matching component directory exist but binary missing [B-S5]
0x800f0986 PSFX_E_APPLY_FORWARD_DELTA_FAILED Applying forward delta failed [B-S5]
0x800f0982 PSFX_E_MATCHING_COMPONENT_NOT_FOUND Can't identify matching component for hydration [B-S5]
0x8024002E WU_E_WU_DISABLED Windows Update Client service is disabled [B-S5]
0x800f0906 CBS_E_DOWNLOAD_FAILURE Failure on content download for Feature on Demand or Inbox Corruption Repair. [B-S5]
Note that the original wording has occasional grammatical flaws — for example "exist" in the 0x800f0984 entry. When quoting the official text, keep it as it is; do not tidy it up, or readers will not be able to match it against the official page [B-S5].
A verified six-code comparison, with common causes and handling directions, follows [A-S12][A-S13][A-S14][A-S15]:
Error code Internal name Official definition Common cause Handling direction
0x800F081F CBS_E_SOURCE_MISSING The source for the package or file not found. [A-S12][A-S13] The source path has no required files; the user lacks read permission; the file set is damaged, incomplete, or the wrong version [A-S14] Provide a valid /Source — version-matched media or a mounted image — plus /LimitAccess [A-S8][A-S14]
0x800F0906 CBS_E_DOWNLOAD_FAILURE Content download failed for Feature on Demand or Inbox Corruption Repair [A-S12]; the computer cannot download the required files from Windows Update [A-S14] Network, proxy or firewall problems or faults; or an administrator configured the computer to use WSUS instead of Windows Update [A-S14] Check internet access, proxy and firewall; or switch to a local source [A-S14]
0x800F0907 CBS_E_GROUPPOLICY_DISALLOWED No alternate installation source specified or invalid, plus Group Policy set to never attempt downloading payload from Windows Update [A-S14]; the message is "DISM failed. No operation was performed." and points to C:\Windows\Logs\DISM\dism.log [A-S15] Policy blocks downloading and there is no valid alternate source Review the policy settings; set a valid alternate source file path, or allow direct contact with Windows Update [A-S14]
0x800F0922 CBS_E_INSTALLERS_FAILED Failure processing advanced installers and generic commands [A-S14] Note: this code is not specific to .NET Framework [A-S14] Check each advanced installer failure in DISM.log
0x800F0831 CBS_E_STORE_CORRUPTION The CBS store is corrupted [A-S12][A-S13] The component store is damaged Run Dism RestoreHealth, then Sfc /Scannow, then restart [A-S13]
0x80073712 ERROR_SXS_COMPONENT_STORE_CORRUPT The component store is in an inconsistent state [A-S13] The component store is damaged Same as above: DISM RestoreHealth plus SFC [A-S13]
7.2 Reading each code in practice
0x800f081f — CBS_E_SOURCE_MISSING. The official definition is that the repair source cannot be found [B-S5]. In practice it means DISM found damage but could not find a valid replacement payload in any location it searched — Windows Update by default, or the location given in
/Source [B-S24], a second-hand note. Common causes include Windows Update being unreachable or unavailable (proxy, firewall, WSUS-only, a stopped update service, a damaged update stack); a source older than the target system, so the patch level does not match; or Group Policy blocking the download path [B-S24], second-hand. The official repair direction is to repair with DISM and then install updates; if Windows Update cannot be reached, a working Windows installation or the Windows folder on a network, USB or DVD can be used as the source [B-S5]. The commands are in Chapter 4. It does not mean the ISO is missing; "source files could not be found" means no valid replacement payload could be found in the locations searched, not that a particular DLL has gone missing [B-S24], a second-hand warning.
0x800f0906 — CBS_E_DOWNLOAD_FAILURE. The official definition is a failure of content download for Feature on Demand or Inbox Corruption Repair [B-S5]. In practice it is mostly a connectivity, proxy or WSUS problem rather than a file that does not exist; it often appears together with 0x800f081f, and the two should be read together [B-S24], second-hand. It also commonly appears when installing .NET Framework 3.5 (NetFx3), because that feature must download its payload from Windows Update [B-S24], second-hand.
0x800f0907 — CBS_E_GROUPPOLICY_DISALLOWED. The KB 947821 official table does not include 0x800f0907 [B-S5], but another Microsoft document [A-S14] gives the official definition: no alternate installation source specified or invalid, plus Group Policy set to never attempt downloading the payload from Windows Update, with the message "DISM failed. No operation was performed." pointing to dism.log [A-S15]. Second-hand sources list it alongside 0x800f081f and 0x800f0906 as a group that appears when installing .NET Framework 3.5 and the source cannot be found [B-S24]. In other words, this code commonly appears when installing .NET Framework 3.5 or an optional feature, together with 0x800f081f and 0x800f0906, pointing to a repair-source problem; the symbolic name follows [A-S14], with the note that the KB 947821 table does not include this code.
0x800f0954 — no official symbolic name can be matched (second-hand quotation of a dism.log line). Unverified against the KB 947821 official table: the table does not include 0x800f0954 [B-S5]. A second-hand source quotes the dism.log line
CBS_E_INVALID_WINDOWS_UPDATE_COUNT_WSUS and explains it as the computer being configured to get updates from WSUS rather than directly from Windows Update [B-S25], second-hand. The common scenario is installing .NET Framework 3.5 or any optional feature; it is more common on company or school domain computers, and on a home computer it usually means Group Policy or the registry was previously changed, for example UseWUServer [B-S25], second-hand. The second-hand repair directions are to temporarily bypass WSUS, enable the Group Policy for downloading repair content and optional features directly from Windows Update, or install from an ISO [B-S25], second-hand. (Those steps are second-hand summaries, not KB 947821 official steps; back up before changing the registry or Group Policy.) Second-hand explanations disagree: one guide says Group Policy points Windows Update at WSUS and WSUS has no repair components [A-S33]; another says third-party antivirus interference or a Windows Update service configuration problem, but that source is not in the source list and is not cited. No Microsoft official definition page could be found, so no single cause should be stated as fact; second-hand explanations differ, dism.log is the authority, and a local source should be tried first.
0x800f0950 — no official symbolic name can be matched. Unverified as an official definition: the KB 947821 table does not include 0x800f0950 [B-S5]; the Microsoft .NET Framework 3.5 pages list 0x800f0906, 0x800f0907, 0x800f081f and 0x800F0922, but not 0x800f0950, according to a second-hand check [B-S26], second-hand. The second-hand explanation is that Windows cannot download optional components from Windows Update — language packs, Basic typing, .NET Framework 3.5 and other Features on Demand — mostly because of an update policy or WSUS block, pending updates not yet installed, or a damaged update cache [B-S26], second-hand. Only second-hand sources say this, never as an official definition; the most conservative repair direction is to install all pending updates, restart, and try again [B-S26], second-hand. A further note adds that the second-hand wording describes it as "DISM failed. No operation was performed" [A-S32], but that sentence is identical to the official message for 0x800F0907 and is easily confused; no Microsoft Learn official definition page could be found, so its internal name or cause is not given here — only that some guides list this code as a source problem and that the actual contents of dism.log are the authority.
0x80070002 — ERROR_FILE_NOT_FOUND. The official definition is that the system cannot find the file specified [B-S5]. In the update context, Microsoft Support lists it under "update failed to install" and recommends restarting, running the troubleshooter and checking disk space [B-S6] — a first-hand Support table of common update problems. It is not proof the disk is failing; it can be a missing update payload or metadata, a stopped service, or a damaged cache [B-S5][B-S6]. A further note adds that this is a general Win32 code, ERROR_FILE_NOT_FOUND, not a DISM-specific code; the official error tables consulted do not list it as a DISM-specific definition. It generally means a file cannot be found; it is not a DISM-specific definition, and no single cause should be inferred from it.
0x800f0988 — no dedicated official article. Unverified as to its official root cause: a second-hand source checked in November 2026 and reported finding no dedicated Microsoft support article for this code; Microsoft's general update guidance only covers corruption and repair, not this specific error [B-S27], second-hand. Second-hand discussion links it to component store corruption or an unfinished servicing operation, but states explicitly that Microsoft has published no official root-cause explanation, so it should be treated as a troubleshooting lead rather than a confirmed diagnosis [B-S27], second-hand. (Unverified.) The repair order follows the general servicing-damage sequence (DISM, then SFC, then resetting the update components, then a repair reinstall using Windows Update); 0x800f0988 does not mean a specific cause [B-S27], second-hand.
0x800f0831 — CBS_E_STORE_CORRUPTION. The official definition is that the CBS store is corrupted [B-S5]. In practice it means the CBS store itself cannot verify components; it is not a single damaged file, and DISM plus SFC is the official repair direction [B-S5]. If DISM itself reports this code, the repair tool has run into the very damage it is supposed to fix, and the next step is an offline source or an in-place upgrade — see Chapter 9.
0x800f0982, 0x800f0984 and 0x800f0986 — the PSFX family. The official definitions are in the table above [B-S5]: 0982 means no matching component can be identified for hydration; 0984 means the component directory exists but the binary is missing; 0986 means applying a forward delta failed. In practice this group points at the PSFX layer — the update application mechanism — not at an ordinary missing file; second-hand summaries also classify them as PSFX errors [B-S28], second-hand. Do not dig into the internals of PSFX; when a PSFX code appears, do not simply repeat SFC — move to the higher-level paths: DISM with an offline source, a repair reinstall using Windows Update, or an in-place upgrade [B-S5].
Other KB 947821 codes, briefly. 0x8007000D ERROR_INVALID_DATA means the data is invalid [B-S5]; in the update context, Microsoft Support describes it as a problem with Windows Update files or a damaged update cache [B-S6]. 0x800f0922, in the update context, is described by Microsoft Support as a failure to install because of insufficient disk space or a problem with .NET Framework or another component [B-S6]; it is not purely store corruption, so the first steps are to free space, disconnect the VPN, and then check the components [B-S6]; a second-hand summary also classifies it as CBS_E_INSTALLERS_FAILED [B-S28]. 0x8007371B ERROR_SXS_TRANSACTION_CLOSURE_INCOMPLETE means one or more required members of the transaction are not present [B-S5], pointing to a servicing transaction that never completed. 0x800705b4 means the update installation took too long or was interrupted [B-S6]. 0x80070057 and 0x80080005 mean corrupt files, permission problems or incorrect system settings [B-S6] — not a single cause, so each must be excluded in turn. 0x800736CC ERROR_SXS_FILE_HASH_MISMATCH means a component's file does not match the verification information present in the component manifest [B-S5] — exactly the official code behind the hash mismatch lines in CBS.log.
7.3 Reading code prefixes at a glance (supporting material, second-hand)
0x8024… is the Windows Update Agent; 0x8007… is a Win32 error, with the last four digits being the Win32 code; 0x800F… is CBS or the servicing stack; 0xC1900… is Windows Setup [B-S28], second-hand. A useful trick is that for a 0x8007 code, the last four digits map to the Win32 error table — for example, 0x80070070 ends in 0070, decimal 112, which is ERROR_DISK_FULL [B-S28], second-hand. This trick is usable, but it is a second-hand summary [B-S28].
7.4 How update failure codes relate to component store corruption
Update error code Official statement Relationship to the component store
0x80070002 ERROR_FILE_NOT_FOUND — the system cannot find the file specified [B-S5] Missing update payload or metadata; Microsoft Support lists it under "update failed to install" and recommends restarting, troubleshooting and checking disk space [B-S6]
0x8007000d ERROR_INVALID_DATA — the data is invalid [B-S5] Microsoft Support says it is a problem with Windows Update files or a damaged update cache [B-S6]
0x800f0922 Microsoft Support: the update cannot be installed because of insufficient disk space or a problem with .NET Framework or another component [B-S6] Not purely store corruption; free space first, disconnect the VPN, then check components [B-S6]; a second-hand summary also classifies it as CBS_E_INSTALLERS_FAILED [B-S28]
0x80073712 ERROR_SXS_COMPONENT_STORE_CORRUPT — the component store is in an inconsistent state [B-S5] Points directly at store corruption; DISM plus SFC is the official repair direction [B-S5]
0x800f0831 CBS_E_STORE_CORRUPTION — the CBS store is corrupted [B-S5] The CBS store itself is damaged — see section 7.2
0x800f081f CBS_E_SOURCE_MISSING [B-S5] DISM cannot find a repair source — see section 7.2
0x80070057 / 0x80080005 Microsoft Support: corrupt files, permission problems or incorrect system settings [B-S6] Not a single cause; exclude each possibility in turn
0x800705b4 Microsoft Support: the update installation took too long or was interrupted [B-S6] Points to an interruption scenario — see Chapter 8
0x8007371B ERROR_SXS_TRANSACTION_CLOSURE_INCOMPLETE — one or more required members of the transaction are not present [B-S5] A servicing transaction never completed — see Chapter 8
7.5 Error code quick reference
Error code Official name In one sentence Status
0x800F081F CBS_E_SOURCE_MISSING The source for the package or file not found. [A-S12] Verified
0x800F0906 CBS_E_DOWNLOAD_FAILURE Content download failed for Feature on Demand or Inbox repair [A-S12] Verified
0x800F0907 CBS_E_GROUPPOLICY_DISALLOWED Group Policy forbids downloading from Windows Update, with no valid alternate source [A-S14] Verified via [A-S14]; not in the KB 947821 table
0x800F0922 CBS_E_INSTALLERS_FAILED Failure processing advanced installers and generic commands [A-S14] Verified
0x800F0831 CBS_E_STORE_CORRUPTION The CBS store is corrupted [A-S12] Verified
0x80073712 ERROR_SXS_COMPONENT_STORE_CORRUPT The component store is in an inconsistent state [A-S13] Verified
0x800736CC ERROR_SXS_FILE_HASH_MISMATCH A component's file does not match the manifest verification information [B-S5] Verified
0x8007371B ERROR_SXS_TRANSACTION_CLOSURE_INCOMPLETE One or more required members of the transaction are not present [B-S5] Verified
0x800f0982 PSFX_E_MATCHING_COMPONENT_NOT_FOUND Cannot identify a matching component for hydration [B-S5] Verified
0x800f0984 PSFX_E_MATCHING_BINARY_MISSING The component directory exists but the binary is missing [B-S5] Verified
0x800f0986 PSFX_E_APPLY_FORWARD_DELTA_FAILED Applying a forward delta failed [B-S5] Verified
0x800f0950 — No official definition found Unverified
0x800f0954 — No official definition found; second-hand explanations disagree Unverified
0x800f0988 — No dedicated official article; no official root cause published [B-S27] Unverified
0x80070002 ERROR_FILE_NOT_FOUND (general) Generally means a file cannot be found; not a DISM-specific definition Partly unverified
The error code table is the part of this guide most likely to go wrong. Only the official definitions of verified codes are given here; for unverified codes no official definition is claimed, and a definition copied from a second-hand blog is not an official statement. If the code you see is not in the table above, or you are unsure what it means, the safest step is to read the actual contents of dism.log — or get a professional diagnostic and let a technician work through the log line by line, rather than guessing from the code itself.
8. How Windows Update Interacts with System File Corruption
8.1 Which is the cause and which is the effect
An update may fail to install because of corruption, and corruption may also be caused by an interrupted update. KB 947821 states it plainly: "Windows updates may fail to install if there are corruption errors" [B-S5]. The scope of DISM's integrity checking includes Servicing\Packages, WinSxS\Manifests and three registry locations, as covered in Chapter 3, so an update failure is not necessarily a broken download — it can be damaged servicing metadata [B-S5]. The official repair order is DISM, then SFC, then Windows Update again [B-S5].
That two-way relationship matters. Some people assume an update failure must be the update's own fault and keep retrying the update; others assume system file corruption must have been caused by an update and become afraid to update at all. Both views are wrong. The correct approach is to repair the store first and then try the update; if the update is failing on top of a damaged store, retrying it a hundred times will not help.
8.2 How update failure codes relate to store corruption
The relationship between update failure codes and component store corruption is covered in the table in Chapter 7. A few practical readings are worth adding: 0x8007000d is a problem with Windows Update files or a damaged update cache [B-S6]; 0x800f0922 is insufficient disk space or a problem with .NET Framework or another component [B-S6], so the first steps are to free space, disconnect the VPN, and then check the components — it is not purely store corruption; 0x800705b4 means the update installation took too long or was interrupted [B-S6], which points to an interruption scenario.
8.3 Resetting SoftwareDistribution and catroot2: the correct method and the risks
The official method, from Microsoft Learn "Additional resources for Windows Update" [B-S10]:
1. Try the Windows Update troubleshooter first; it analyses the situation and resets the components that need resetting [B-S10].
2. If the troubleshooter does not work, reset manually: stop the three services
bits, wuauserv and cryptsvc [B-S10].
3. Rename the following folders to .BAK — do not delete them: %Systemroot%\SoftwareDistribution\DataStore, %Systemroot%\SoftwareDistribution\Download and %Systemroot%\System32\catroot2 [B-S10].
4. There is a further official step, only if the other methods fail: use sc.exe sdset to reset the BITS and Windows Update services to their default security descriptors; this overwrites the existing ACLs, and the official guidance is to skip it unless the other steps cannot solve the problem [B-S10].
5. Re-register the BITS and Windows Update files, then restart the three services [B-S10].
6. The last resort, labelled "If all else fails": net stop wuauserv, then rd /s /q %systemroot%\SoftwareDistribution, then net start wuauserv [B-S10].
Risks and notes:
- Rename, do not delete. The official manual steps rename the folders to
.BAK so Windows rebuilds new ones; deleting the whole SoftwareDistribution folder with rd /s /q is the last resort, not the first step [B-S10].
Do not delete catroot2 casually. Catroot2 is the signature catalogue, and cryptsvc must be stopped before renaming it; if the service has not fully stopped, the rename reports access denied [B-S10]. A second-hand note adds that if the rename fails, the services have not all stopped, and you should restart and run it again immediately.
The update history will look empty. After a reset, the update history looks almost blank, but that does not mean installed updates have been removed; installed updates remain in effect. That sentence is a second-hand note from local computer guides.
Do not do this while an update is running. Stopping services or renaming folders mid-update can leave a servicing transaction unfinished, producing 0x8007371B-type problems [B-S5][B-S6].
Resetting the cache is not the same as repairing the store. Problems in the 0x800f family — CBS problems — are not solved by clearing the cache; they need a DISM repair of the component store [B-S28], a second-hand summary. Cache clearing is not a cure-all.
8.4 Checking WinSxS consistency after an interrupted update
Interruption scenarios include power loss, a forced shutdown, and an update stopped halfway; the official description of 0x800705b4 is precisely that the update installation took too long or was interrupted [B-S6]. The checking order is to run
DISM /Online /Cleanup-Image /CheckHealth for a quick check, then ScanHealth for a complete scan, and finally RestoreHealth to repair [B-S3][B-S5].
If DISM reports 0x80073712 — the store is inconsistent — it means the manifest, registry and payload disagree; do not simply retry the update, repair the store first [B-S5]. If DISM reports 0x8007371B — one or more required members of the transaction are not present — it means the previous servicing transaction never completed; again, run the DISM repair first and do not run the update directly [B-S5].
Also check disk space: the official causes of 0x800f0922 include insufficient disk space [B-S6], so leave room before updating rather than waiting until only a few gigabytes remain. Also check the DISM summary in
C:\Windows\Logs\CBS\CBS.log, as covered in Chapter 6, comparing Total Detected with Total Repaired [B-S5].
8.5 "Fix problems using Windows Update" — the repair reinstall
Microsoft Support's "Recovery options in Windows" lists "Reinstall Windows" as the second level, after the least disruptive options: reinstalling the current version without affecting files, applications or settings, for Windows 11 22H2 or later [B-S13]. The path is Settings, System, Recovery, "Fix problems using Windows Update", then "Reinstall now" [B-S35] — a second-hand NinjaOne summary of the official path.
This option is different from "Reset this PC": the former keeps applications, files and settings, while the latter removes applications and settings — see Chapter 9 [B-S13]. The limitation is that it needs Windows 11 22H2 or later plus the February 2024 optional update or later; a computer managed by a company or school may not show the option [B-S35], second-hand.
Another Microsoft Support page states that this operation reinstalls the same version of Windows already on the computer, repairs system files and components, and keeps applications, files and settings [A-S23]. Microsoft says that if an update fails to install because of a problem with system files or components, the Windows Update page may show "Reinstall your current version of Windows to repair system files and components" [A-S23]. The option may not appear on work or school managed computers, and may not appear on versions earlier than the Windows 11 2022 annual update [A-S23]. This is the intermediate path most Windows 11 users overlook — simpler than an in-place upgrade and gentler than a reset — and it belongs after DISM and SFC and before the in-place upgrade [B-S13].
9. The Layered Exclusion Method, L0 to L7
The principle is to work from light to heavy and from software to hardware; every layer has clear conditions for use and a clear failure signal, and when the failure signal appears you move up a layer instead of retrying the same layer endlessly.
L0 — Backup and preparation (mandatory in every case)
Back up important files; enable Windows Backup (Settings, Accounts, Windows Backup) to store applications and settings [A-S25]. If the device is encrypted, first confirm you can find the BitLocker recovery key; Microsoft Support cannot retrieve, provide or recreate a lost key [A-S26]. The stopping point is this: if you cannot find the BitLocker key and have not backed up, do not perform any reset or reinstallation.
The BitLocker recovery key is a 48-digit number, needed to regain access to an encrypted drive when BitLocker cannot unlock it automatically [B-S15]. Microsoft Support states explicitly: "Microsoft Support does not have the ability to retrieve, provide, or recreate a lost BitLocker recovery key." [B-S15] The official places to find the key [B-S15] are: a Microsoft account — go to aka.ms/myrecoverykey from another device, sign in, and match the Key ID (the first eight digits) to find the right key; a work or school account — go to aka.ms/aadrecoverykey, choose the device and view the BitLocker keys, or ask the IT department; and if the device was set up or had BitLocker switched on by someone else, the key may be in that person's Microsoft account [B-S15]. If the key cannot be found and the cause that triggered recovery cannot be undone, the device must be reset using the Windows recovery options — which means total data loss [B-S15]. Another official page also states that if the key cannot be found, the only option is to reset or reformat the computer, erasing all data on the encrypted drive [B-S36] — a Microsoft Q&A page, more second-hand in character, so [B-S15] is relied on here as the authority.
The disaster checklist before reinstalling, resetting or replacing an SSD [B-S15]: confirm whether the machine has BitLocker or device encryption switched on (Settings, Privacy and security, Device encryption or BitLocker); go to aka.ms/myrecoverykey to verify the key exists and match the Key ID; copy the 48-digit key somewhere else as well — on paper or another device — and do not keep it only inside the machine; back up personal files to an external drive or the cloud and verify the backup opens; only then proceed with reinstallation, reset or an SSD replacement. One unverified point: the checks done here did not verify word for word the trigger conditions for whether a reset will immediately ask for the BitLocker key; the key must be verified before any reset or reinstallation; whether it will definitely be asked for has not been verified.
L1 — Update and restart
Install the latest Windows updates, then restart [A-S1]. This fits a problem that has just appeared or is suspected to relate to a recent update. The failure signal is that the update itself will not install, or reports 0x800F0831 or 0x80073712 — move up to L2.
L2 — The standard DISM plus SFC repair
The order is
DISM.exe /Online /Cleanup-image /Restorehealth, and once you see the operation complete successfully, run sfc /scannow [A-S1]. This fits most suspected system file damage, including cases where SFC says it cannot fix the problem. The failure signal is DISM reporting 0x800F081F, 0x800F0906 or 0x800F0907 — move up to L3; if DISM reports non-repairable, jump to L5 or L6.
This step does not touch user files and is the first repair to try [B-S1][B-S5]. If online DISM repair fails — for example with 0x800f081f — do not run the same command ten times; switch to an offline source [B-S1][B-S5].
L3 — Diagnosis plus offline-source repair
First run
CheckHealth as a quick screen, then ScanHealth for a confirmed diagnosis [A-S8], to confirm the store really is damaged. Then use /Source to point at version-matched installation media or a mounted image, adding /LimitAccess [A-S8][A-S14]; the media version, language and architecture must match the system [A-S14]. This fits failed online DISM repair, no network, or a WSUS or Group Policy environment. The failure signal is still getting 0x800F081F with the correct source, or ScanHealth reporting non-repairable — move up to L4 or L5.
L4 — Safe Mode plus offline SFC
Run SFC again in Safe Mode, following the official advice for the "could not perform the requested operation" case [A-S2]; check that
PendingDeletes and PendingRenames exist under %WinDir%\WinSxS\Temp [A-S2]. If Windows will not boot at all, use /offbootdir and /offwindir for offline repair in WinRE [A-S3][A-S4]. This fits cases where SFC cannot run in normal mode or files are locked. The failure signal is that offline SFC also reports it cannot fix the damage — move up to L5.
L5 — In-place upgrade repair
Two options, depending on the version:
Option A — Fix problems using Windows Update (Windows 11). Settings, System, Recovery, "Fix problems using Windows Update", then "Reinstall now". This operation reinstalls the same version of Windows already on the computer, repairs system files and components, and keeps applications, files and settings [A-S23]. Microsoft says that if an update fails to install because of a problem with system files or components, the Windows Update page may show "Reinstall your current version of Windows to repair system files and components" [A-S23]. The option may not appear on work or school managed computers, and may not appear on versions earlier than the Windows 11 2022 annual update [A-S23].
Option B — In-place upgrade from installation media. From inside a signed-in Windows session, open the installation media and run
setup.exe in its root, choose "Change what to keep", then "Keep personal files and apps", and personal data, applications and settings are kept [A-S22]. Do not boot from the USB — booting from the media performs a clean installation, which deletes everything [A-S22]. The official description is: "Installation media lets you perform an in-place installation, basically reinstalling Windows without affecting your personal files, settings or installed apps." [B-S14] The method is to run setup.exe from inside the installed Windows — not by booting from the media — and choose "Change what to keep" and then "Keep personal files and apps" [B-S14].
The three options must be kept distinct and not confused [B-S14]: Keep personal files and apps keeps personal data, applications and settings; Keep personal files only keeps personal data and settings, but all applications are removed; Keep nothing removes all personal data, settings and applications. It must be run from inside the installed Windows; an in-place upgrade cannot be started from boot media or Safe Mode [B-S35], second-hand. At least 20 GB of free space is needed — that figure is a second-hand summary [B-S35]. If "Keep personal files and apps" is greyed out, the most likely cause is a version, edition or language mismatch [B-S35], second-hand. Third-party antivirus should be temporarily disabled or removed before starting, to avoid interfering with the installation [B-S35], second-hand.
This fits cases where DISM and SFC have all failed but Windows still boots and you want to keep your applications. The failure signal is that the in-place upgrade itself fails or rolls back partway — move up to L6.
L6 — Reset or clean installation
Reset this PC — Keep my files: reinstalls Windows, keeps personal files, but removes applications and settings [A-S24]. Note that this is not keeping everything. Reset this PC — Remove everything: reinstalls Windows and removes personal files, applications and settings [A-S24]; use it when preparing to sell or give the machine away, and add "Clean data" to make deleted files harder to recover [A-S24]. Cloud download versus Local reinstall: Cloud download downloads a fresh Windows from the cloud and suits a machine whose local files are damaged or missing; Local reinstall uses the files already on the computer, is faster and needs no large download, but may not include the latest updates [A-S24]. Clean installation: booting from installation media to install deletes personal files, applications, settings and manufacturer customisations [A-S22].
On official positioning, resetting the PC sits fifth in the Recovery options table and is one of the most disruptive options: it reinstalls Windows from scratch, letting you choose to keep personal files or remove everything, and the options above it should be tried first [B-S13]. The two source choices are Cloud download (a fresh copy of Windows downloaded from Microsoft) versus Local reinstall (using the Windows files already on the computer) [B-S14] — a second-hand summary, although the official Recovery options page also mentions the Cloud download and Local reinstall concepts. If Local reinstall fails because the local files are themselves damaged, switch to Cloud download, and vice versa [B-S35], second-hand. The important point is that even choosing "Keep my files" removes applications and settings, which must be reinstalled afterwards [B-S13]. Before resetting, Microsoft's official advice is to back up important files and enable Windows Backup (Settings, Accounts, Windows Backup) to store applications and settings [B-S13].
For a clean installation, the official description is that it removes personal files, applications, manufacturer customisations and any changes to settings [B-S14]. Microsoft lists it as an advanced option, suitable for a device you want to start again from scratch [B-S14]. The method is to boot from installation media — not to run setup.exe from inside the installed Windows — choose "Install Windows 11" and agree that everything will be deleted, including files, applications and settings [B-S14]. If the device is suspected of being infected, Microsoft recommends making sure antivirus software is up to date [B-S14]. After a clean reinstall, allow time to install drivers, Windows Update and applications; laptop manufacturer drivers are best downloaded in advance from the manufacturer's official website rather than relying on Windows Update to install every manufacturer function key and power management driver automatically — a practical judgement.
This fits cases where the in-place upgrade failed, the system is broadly damaged, or deep malware infection is suspected. The failure signal is that the problem reappears immediately after a clean installation — for example SFC reports damage again — which means it is not a software problem; move up to L7.
L7 — Hardware-layer checks
Disk:
chkdsk C: /f repairs disk errors; the disk must be locked, and if it cannot be locked you will be asked whether to check it at the next restart [A-S20]; chkdsk C: /r finds bad sectors and attempts to recover readable information, and includes the /f functionality [A-S20]. Note that chkdsk with no parameters only shows status and repairs nothing [A-S20]. Memory: mdsched opens Windows Memory Diagnostic; choose "Restart now and check for problems", which runs the standard test, and view the result after signing in; press F1 for Extended if you want a more thorough test [A-S28]. SMART and SSD health: unverified — the Microsoft official documents consulted provide no built-in SMART checking steps; SMART status should be checked with the drive manufacturer's tool or a trusted third-party tool; Windows has no built-in SMART report, and wmic diskdrive get status is not an official recommendation, because that is unverified.
The conditions for L7 are that L0 to L6 have all failed, the problem keeps recurring, or there were hardware symptoms from the start, such as blue screens, unusual noises, or a drive that is intermittently not recognised. The stopping point is that once hardware checks confirm an SSD or RAM problem, the part should be replaced — do not reinstall Windows again.
The layered exclusion summary
Layer What to do Conditions Failure signal Next step
L0 Back up; verify the BitLocker key [A-S25][A-S26] Every case Key not found and no backup Stop; back up first
L1 Update and restart [A-S1] Problem just appeared Update will not install; 0x800F0831, 0x80073712 L2
L2 DISM RestoreHealth, then sfc /scannow [A-S1] Most suspected damage DISM reports 0x800F081F, 0906, 0907; non-repairable L3, L5, L6
L3 CheckHealth, ScanHealth, offline source [A-S8] Online repair failed, no network, WSUS environment Correct source still gives 0x800F081F; non-repairable L4, L5
L4 Safe Mode, WinRE offline SFC [A-S2][A-S3] Cannot run in normal mode Offline SFC also cannot fix it L5
L5 Repair reinstall, in-place upgrade [A-S23][A-S22] DISM and SFC failed but Windows boots Upgrade fails or rolls back L6
L6 Reset, clean installation [A-S24][A-S22] In-place upgrade failed, widespread damage Problem returns immediately after clean install L7
L7 chkdsk, mdsched, SMART [A-S20][A-S28] All software layers failed, problem recurs SSD or RAM confirmed faulty Replace the part; stop reinstalling
The decision tree
`
SFC / DISM reports damage
├─ L2 fixes it and the problem is gone → done, observe for a week
├─ L2–L4 fixes it, but the same problem returns within a week
│ ├─ chkdsk finds bad sectors / SMART is poor → hardware problem → replace the SSD (price on written quotation after inspection)
│ ├─ mdsched reports RAM errors → replace the RAM (price on written quotation after inspection)
│ └─ All hardware checks are clean → consider the L5 in-place upgrade repair
├─ L5 in-place upgrade repair succeeds → done, observe
├─ L5 fails → L6 reset (Keep my files) → if that fails → clean installation
├─ Problem returns immediately after a clean installation → hardware problem (L7); stop reinstalling
└─ The cases below lead directly to considering replacement (see Chapter 14)
`
The decision tree for a machine that still reaches the desktop [B-S13][B-S14] is: run DISM /RestoreHealth, then sfc /scannow, then check whether it is clean; if clean, finish and observe for at least a week, watching for any recurrence; if DISM reports 0x800f081f, do the offline-source repair; if still not clean, use Fix problems using Windows Update (the repair reinstall); if that fails, do an in-place upgrade with Keep personal files and apps; if that fails, back up, reset the PC (keeping files), and if that fails, do a clean reinstall. If the machine cannot reach the desktop, use WinRE for Startup Repair, System Restore, or resetting the PC from WinRE, or a clean reinstall from installation media; note that an in-place upgrade from installation media is not possible — the desktop must be reachable [B-S35]. Before moving up each level, ask whether the backup is done and whether the BitLocker key has been found. If chkdsk, SMART or memory testing reveals a hardware problem partway through, stop the software repair and deal with the hardware and the backup first.
10. Hardware Cross-Validation: System File Corruption Versus a Failing Disk Versus Faulty RAM
10.1 The diagnostic order
System file corruption has three common hardware roots: the disk, the RAM, and the power supply or a sudden power loss. Do not see an SFC error and immediately declare that the SSD must be replaced; exclude the layers in order: read CBS.log and the DISM results to confirm what kind of damage it is (see Chapter 6); run
chkdsk to check the file system and the physical disk; look at SMART and the Windows disk health status; run Windows Memory Diagnostic, and MemTest86 if necessary; only if all three layers are clean should you consider the software layer — drivers, third-party software or malware — or an in-place upgrade. That order is a practical judgement.
10.2 chkdsk: the difference between /f, /r and /scan
The official chkdsk reference, Microsoft Learn [B-S11]: with no parameters, it only displays the status of the volume and repairs no errors [B-S11];
/f repairs errors on the disk, and the disk must be locked — if chkdsk cannot lock the disk, it asks whether you want to check the disk the next time the computer restarts [B-S11]; /r locates bad sectors and attempts to recover readable information, the disk must be locked, and /r includes the functionality of /f plus analysis of physical disk errors [B-S11]; /scan is NTFS only and runs an online scan on the volume [B-S11]; /b is NTFS only, clears the list of bad clusters on the volume and rescans all allocated and unallocated clusters, includes the functionality of /r, and is used after imaging a volume onto a new hard drive [B-S11]. Running chkdsk requires at minimum membership of the local Administrators group or equivalent [B-S11]. Chkdsk can only be used on local disks, not on a local drive letter redirected over a network [B-S11].
The chkdsk definitions in Microsoft Learn agree [A-S20]: no parameters means display status only, with no repair;
/f repairs disk errors and requires a lock; /r finds bad sectors, recovers readable information, and includes /f; /b includes /r.
The practical comparison [B-S11]:
Command Does it repair? Does it scan physical bad sectors? Needs a restart or lock? Time needed When to use it
chkdsk C: No, it only reports No No Fast A first look for file system errors [B-S11]
chkdsk C: /scan Online scan (NTFS) No (scan only) No (online) Medium When you want a scan without restarting [B-S11]
chkdsk C: /f Yes No Needs a lock or restart Medium Logical file system errors [B-S11]
chkdsk C: /r Yes (includes /f) Yes, attempts to recover readable information Needs a lock or restart Longest — a large SSD or HDD can take several hours Suspected physical bad sectors or an ageing disk [B-S11]
Two warnings: /r is not simply a stronger /f; it scans sector by sector, and on a disk over 1 TB it can run for a very long time, so do not run it when you are in a hurry to use the machine [B-S11]. And chkdsk repairs the file system and disk metadata, not the Windows system files themselves; after chkdsk, DISM and SFC must still be run before the job is complete — a logical inference and a practical judgement. If chkdsk reports errors at every boot, or finds new bad sectors every time, stop running it repeatedly; back up and check SMART.
Common chkdsk misuses [B-S11]: repeatedly running
chkdsk /r when an SSD controller fault is suspected, which forces the disk through heavy read and write work each time and may accelerate the damage — back up and look at SMART first (a practical judgement); treating chkdsk /f as a system file repair — chkdsk repairs the file system, not system files [B-S11]; expecting an immediate repair on a system disk that is not locked — the official text says that if it cannot be locked, it asks whether to check at the next restart [B-S11]; using chkdsk /b as routine cleanup — the official text says /b is for use after imaging a volume to a new hard drive [B-S11]; and running chkdsk on a network drive letter — the official text says chkdsk is for local disks only [B-S11].
10.3 SMART attributes and their link to system file corruption
SMART (Self-Monitoring, Analysis and Reporting Technology) is the health log the drive firmware keeps for itself, including power-on hours, temperature history and reallocated sector counts; SSDs also record the percentage of write life used [B-S21], second-hand.
The built-in Windows checks, second-hand [B-S21]: in Windows 11 (22H2 or later), go to Settings, System, Storage, Advanced storage settings, Disks and volumes, choose the disk, then Properties; under "Drive health" you will see a status — usually Good, Warning or Critical — and many NVMe drives also show an estimated remaining life percentage [B-S21]. In PowerShell,
Get-PhysicalDisk shows FriendlyName, MediaType, HealthStatus, OperationalStatus and Size, while Get-PhysicalDisk piped to Get-StorageReliabilityCounter lists Wear (0–100, higher meaning more worn), temperature, power-on hours and read/write error counts [B-S21], second-hand. The limitation is that Windows only monitors NVMe SSDs, not SATA SSDs or HDDs, according to a second-hand source citing Microsoft's "What to do about a critical warning for a storage device" page [B-S22], second-hand; the remaining-life figure is a manufacturer prediction, and reaching 0% does not mean the drive dies immediately, only that it has reached the end of its estimated life [B-S22], second-hand.
The SMART attributes to watch, mainly for SATA, second-hand [B-S21][B-S33]:
Attribute Meaning Warning line (second-hand summary, not an official threshold)
05 Reallocated Sectors Count Sectors retired and replaced with spares; 0 is ideal; a small stable number is acceptable, but a steadily rising count means the surface is degrading [B-S21] A steadily rising count means plan a replacement; second-hand guidance says a mechanical drive over roughly 50 should start planning a replacement [B-S21] — second-hand, not official
C5 Current Pending Sector Count Sectors that cannot be read and have not been remapped; any non-zero value is an immediate warning, because those sectors cannot be read now [B-S21] Non-zero means warning [B-S21]
C6 Uncorrectable Sector Count Pending sectors where retries have failed; the data in them is already lost [B-S21] Non-zero means data already lost [B-S21]
C7 UDMA CRC Error Count A count of transfer errors; usually points at the cable or interface, not the disk surface itself [B-S21] A steadily rising count means check the cable or interface
Wear Leveling Count / Media Wearout Indicator SSD write life used, counting down from 100; 100–30 is still acceptable, below 20 and especially below 10 means plan a replacement [B-S33], second-hand Below 20, plan a replacement [B-S33]
Uncorrectable Error Count Data the disk cannot read or repair through error correction; any value above 0 is an immediate backup signal [B-S33], second-hand Above 0 means back up now [B-S33]
The standard NVMe fields to watch, second-hand and based on the NVM Express specification [B-S22]: Percentage Used (lower is better; near or above 100% needs attention, as it is a manufacturer estimate); Critical Warning (any bit set needs context; bit 2, declining reliability, and bit 3, read-only, are especially serious); Media and Data Integrity Errors (0 is ideal; any non-zero value, especially one that keeps growing, needs attention); and Available Spare, temperature, Unsafe Shutdowns and Power On Hours [B-S22].
The key warnings are: SMART cannot predict every failure — a controller fault, firmware bug or power supply fault can kill a drive while every counter looks healthy; SMART is an early warning for some failure modes, not a guarantee [B-S21][B-S22], second-hand. A normal SMART report does not mean the disk is healthy, and a poor SMART report does not mean it must be replaced immediately: the symptoms — freezing, a disappearing volume, read errors — must be considered together [B-S22], second-hand. CrystalDiskInfo is a third-party tool: it summarises manufacturer thresholds as Good, Caution or Bad, but it is not a Microsoft official tool [B-S33], second-hand. The link between system file corruption and SMART is indirect: disk read and write errors corrupt the system files written to disk, and SFC then reports a hash mismatch or file is missing; but an SFC error on its own cannot prove the disk is faulty — cross-validation is required [B-S21], a practical judgement based on the mechanism above.
10.4 How RAM errors create file corruption
The mechanism, a practical judgement with second-hand support: faulty RAM corrupts data held in memory, and the corrupted data is then written to disk as a corrupt file [B-S29], second-hand. So the symptoms of bad RAM are not only blue screens; they also include files that were previously fine suddenly becoming corrupt, compressed files failing to extract, update installations failing, and SFC repairing damage that then reappears [B-S29], second-hand. Do not just run SFC in a loop; if SFC repairs damage and the same batch of damage reappears after a restart, suspect the RAM or the disk [B-S29], a practical judgement.
Windows Memory Diagnostic, the built-in tool: open it by searching for "Windows Memory Diagnostic" in Start, or by running
mdsched.exe, and choose "Restart now and check for problems" [B-S20][B-S29], second-hand. The test runs before Windows loads; a standard test takes about 15–30 minutes, depending on RAM size [B-S29], second-hand; another second-hand source says to allow 20–60 minutes for the standard test and restart cycle [B-S20], second-hand. The result appears as a notification after the restart; if there is no notification, go to Event Viewer, Windows Logs, System, and look for MemoryDiagnostics-Results [B-S20][B-S29], second-hand. The typical result sentences are "The Windows Memory Diagnostic tested the computer's memory and detected no errors." and "…detected hardware errors." [B-S20], second-hand. It checks for RAM hardware errors but does not repair RAM; if errors are detected, the faulty memory module will very likely need replacing [B-S29], second-hand. A standard test with no errors cannot completely rule out unstable RAM; if crashes continue, run the Extended test, restore the firmware memory settings to their defaults, and then use a diagnostic procedure approved by the computer or memory manufacturer [B-S20], second-hand.
MemTest86 (PassMark, third-party, UEFI): MemTest86 is a memory diagnostic tool independent of the operating system; it boots from USB and tests for RAM faults [B-S19], a second-hand summary of PassMark's official material. The free edition runs up to four passes; download the free USB image package from the PassMark official download page and use the bundled imageUSB tool to make a bootable USB — do not simply copy the ZIP onto a USB drive [B-S19], second-hand. Modern versions support UEFI boot only; an old machine without UEFI needs the old v4 release [B-S19], second-hand. The free edition is enough for ordinary fault checking; the Pro edition is aimed at repair shops and managed testing systems [B-S19], second-hand. The practical rule is to run at least four complete passes, which can take several hours; any single error means the RAM has a problem [B-S29], second-hand. With more than one RAM module, test each one separately first to find which one is faulty [B-S29], second-hand. Do not run the test while overclocked; overclocked RAM can fail a test it would pass at factory speed, so restore the defaults first [B-S29], second-hand. MemTest86 does not touch Windows and does not damage storage devices; the only risk is that making the bootable USB erases all data on that USB drive [B-S19], second-hand.
10.5 SSD firmware and controller failure signs
The signs, second-hand: freezing, a disappearing volume, read errors, suddenly becoming read-only, and a SMART Critical Warning bit being set [B-S22]. On firmware, a second-hand source mentions documented firmware defects that cause enterprise SSDs to fail, freeze or slow down after a fixed number of power-on hours [B-S22], second-hand; an individual model's firmware defect is not a general rule — it only holds when the model is named. In the laptop context, an SSD firmware or controller fault is not something SFC can repair; if a firmware problem is suspected, back up first, then check the firmware version and update notes on the SSD manufacturer's official website, and do not use third-party firmware tools [B-S22], a practical judgement. One unverified point: the checks done here did not verify, manufacturer by manufacturer, the firmware update process of the major SSD makers such as Samsung, WD and Kingston; makers' processes differ, so check the maker's own documentation before starting work.
10.6 Telling the three apart: system file corruption versus disk failure versus RAM failure
Symptom Points more to system file corruption Points more to disk failure Points more to RAM failure
SFC reports it cannot fix, but DISM offline-source repair makes it clean ✓ — —
SFC repairs, then the same files break again after a restart — Possible Possible (the main suspect)
chkdsk finds bad sectors or file system errors — ✓ —
SMART: Reallocated, Pending or Uncorrectable non-zero or rising — ✓ —
Windows Memory Diagnostic or MemTest86 reports errors — — ✓
Random blue screens, different programs crashing at random, files corrupting at random — Possible ✓
Update installation fails with 0x80073712 or 0x800f0831 ✓ (store corruption) Possible (if chkdsk and SMART are also poor) Less likely
Only one program will not open, or one DLL is missing ✓ (possibly that program or a system file) — —
Freezing at boot, a volume disappearing intermittently — ✓ —
The table above shows tendencies, not a diagnosis. A diagnosis needs cross-validation — SFC and DISM plus chkdsk plus SMART plus a memory test, all done together, before a conclusion is drawn. A single test passing cannot rule out the other layers; for example, a standard memory diagnostic passing does not mean the RAM is healthy [B-S20].
11. Comparing the Repair Paths: Nine Routes from Lightest to Heaviest
11.1 The comparison table
Path What is kept Data risk Time needed When it fits Backup required before starting
1. SFC (sfc /scannow) Everything kept Extremely low (only protected system files are replaced) Several minutes to several tens of minutes; must wait for verification to reach 100% [B-S1] Minor system file damage, abnormal behaviour [B-S1] Backing up important files is recommended, as before any operation
2. DISM online repair (/RestoreHealth) Everything kept Extremely low (repairs the component store) Several minutes to more than an hour, depending on downloads and the extent of damage [B-S3] SFC cannot fix it, the store is damaged, updates fail [B-S5] Backing up is recommended; ensure a stable network and power supply
3. DISM offline-source repair (/Source plus /LimitAccess) Everything kept Extremely low As above, plus the time to prepare the source image No network, Windows Update broken, 0x800f081f [B-S1][B-S5] Backing up is recommended; the source image must match in version, edition and language [B-S24]
4. Repair reinstall using Windows Update (Fix problems using Windows Update, then Reinstall now) Files, applications and settings all kept [B-S13] Low Roughly several tens of minutes to more than an hour, depending on downloads Windows 11 22H2 or later, the system still reaches the desktop but is unstable, or updates keep failing [B-S13] Backup is mandatory; Microsoft states that some recovery options can cause data loss, so important files should be backed up first [B-S13]
5. In-place upgrade (ISO, setup.exe, Keep personal files and apps) Files, applications and settings can be kept by choosing Keep personal files and apps [B-S14] Low to medium — designed to keep data, but a power cut or interruption can cause damage About 30 minutes to several hours Windows still reaches the desktop, DISM, SFC and the repair reinstall have all failed, and you want to keep applications [B-S14] Backup is mandatory; at least 20 GB of space is needed, second-hand [B-S35], plus verifying the BitLocker key [B-S15]
6. Reset this PC, Keep my files Personal files kept; applications and settings removed [B-S13] Medium — designed to keep files, but a reset can still fail; Microsoft calls reset one of the most disruptive options [B-S13] About 30 minutes to several hours The problem persists and you want a cleaner system without moving files [B-S13] Backup is mandatory, even when keeping files [B-S13]; the BitLocker key must be verified [B-S15]
7. Reset this PC, Remove everything Nothing is kept High — personal files, applications and settings are all deleted About 30 minutes to several hours Selling or giving the machine away, or wanting a completely fresh start [B-S13] A complete backup is mandatory; without one there is no way back
8. Clean reinstall (boot from installation media, Clean install) Nothing is kept — personal files, applications, manufacturer customisations and settings are all removed [B-S14] Highest About 30 minutes to several hours, plus time to install drivers and software Windows will not boot, reset failed, suspected infection, or a completely fresh start is wanted [B-S14] A complete backup is mandatory, the BitLocker key must be verified, and installation media and drivers must be ready [B-S14][B-S15]
9. System image recovery Depends on the image date: restores the state at the time of the image, and files and settings after that date are lost Medium to high, depending on how old the image is Depends on the image size and disk speed There is a fairly recent system image and you want to return to a known good state in one step Files created after the image must be backed up; the image source must be verified as trustworthy
Note: the approximate times in the table are second-hand and practical-experience summaries. Microsoft only says DISM and SFC may take a few minutes [B-S1][B-S2] and promises no definite time for each path; the approximate figures are not official guarantees. The official basis for the "what is kept" column is that the three in-place upgrade options (Keep personal files and apps, Keep personal files only, Keep nothing) are in the Microsoft Support installation media page [B-S14], and the two reset options are in the Recovery options page [B-S13]. A clean reinstall is described by Microsoft as an advanced option [B-S14] and is not a first choice.
11.2 The details of each path, verified
SFC and DISM (paths 1–3). See Chapters 2–4; these three paths do not touch user files and are the ones to try first [B-S1][B-S5]. If online DISM repair fails — for example with 0x800f081f — do not run the same command ten times; switch to an offline source [B-S1][B-S5].
Repair reinstall using Windows Update (path 4). Its official position is second in the Recovery options table, after troubleshooting only: reinstalling the current version without affecting files, applications or settings [B-S13]. It applies to Windows 11 22H2 or later [B-S13]. The limitation is that a computer managed by a company or school may not show the option [B-S35], second-hand.
In-place upgrade (path 5). See Chapter 9, L5, for the official description, method, three options, the 20 GB space figure, the greyed-out cause and the antivirus step [B-S14][B-S35]. The easiest mistake to repeat is worth stating once more: it must be run from inside the installed Windows; an in-place upgrade cannot be started from boot media or Safe Mode [B-S35], second-hand. Many people assume that booting from a USB drive and choosing upgrade will work, and end up with a clean installation and total data loss. The distinction is worth remembering in bold: running setup.exe from inside Windows is an upgrade; booting from the USB is a reinstall.
Reset this PC (paths 6–7). See Chapter 9, L6. One point to add: even choosing Keep my files removes applications and settings, which must be reinstalled afterwards [B-S13]. Before resetting, list the programs that will need reinstalling — Office, browsers, professional software — together with their licence details, and do not rely on memory.
Clean reinstall (path 8). See Chapter 9, L6. One point to add: after a clean reinstall, allow time to install drivers, Windows Update and applications; laptop manufacturer drivers are best downloaded in advance from the manufacturer's official website rather than relying on Windows Update to install every manufacturer function key and power management driver automatically — a practical judgement.
System image recovery (path 9). Unverified detail: the Microsoft Support system image recovery steps were not verified word for word here; the operational steps for this path are unverified here and must first be checked word for word against "Recovery options in Windows" and the related official pages. The practical judgement is that the value of system image recovery depends entirely on how new and complete the image is; an image that is too old means a large number of updates must be installed after restoring, and the same corruption problem may return at once; and if the image was created while the disk or RAM already had a problem, the image itself may already be damaged.
11.3 The decision tree for choosing a path
If the desktop is reachable, run DISM /RestoreHealth, then sfc /scannow, then check whether it is clean; if clean, finish and observe for at least a week, watching for any recurrence; if DISM reports 0x800f081f, do the offline-source repair; if still not clean, use Fix problems using Windows Update (the repair reinstall); if that fails, do an in-place upgrade with Keep personal files and apps; if that fails, back up, reset the PC (keeping files), and if that fails, do a clean reinstall. If the desktop cannot be reached, use WinRE for Startup Repair, System Restore, or resetting the PC from WinRE, or a clean reinstall from installation media; note that an in-place upgrade from installation media is not possible — the desktop must be reachable [B-S35]. Before moving up each level, ask whether the backup is done and whether the BitLocker key has been found. If chkdsk, SMART or memory testing reveals a hardware problem partway through, stop the software repair and deal with the hardware and the backup first. That decision tree is covered in Chapter 9 [B-S13][B-S14].
If you have reached path 5 and still have no resolution, and you are unsure whether to keep going up to a reset or a clean reinstall, that is the point to stop and ask someone. Resetting and clean reinstalling carry data risk, and they should not be attempted on a feeling without a backup and a verified BitLocker key. Check the pricing page first for the diagnostic charges, then get a professional diagnostic so a technician can judge the next step against CBS.log and dism.log.
12. Common Misdiagnoses and Traps
12.1 The misdiagnosis table
Misdiagnosis or trap The truth (with sources) The correct approach
Assuming any problem is a virus SFC verifies the integrity of protected files; it is not an antivirus scan. The most common causes of system file damage are interrupted writes, store damage and failed updates (see Chapter 1) Run DISM and SFC first; if malware is suspected, run a separate full scan — do not confuse the two jobs
DISM stuck at some percentage means it has frozen, so force a shutdown Microsoft only says ScanHealth and RestoreHealth take several minutes [A-S8][A-S9]; the second-hand teaching consensus is that long pauses at set points such as 20% or 62.3% are normal, and that you should wait at least an hour, check whether DismHost.exe or TiWorker.exe still shows CPU and disk activity, and check whether dism.log is still growing [A-S34][A-S40] Wait; if there has been no disk or CPU activity at all for more than an hour, check the logs first — do not cancel outright. A forced shutdown that interrupts DISM is itself a way of creating new damage
SFC says it cannot fix the damage, so the SSD must be replaced The most common reason SFC cannot fix damage is a damaged component store; once DISM has repaired the store, running SFC again often succeeds [A-S1][A-S2][A-S30] Follow the layered method in Chapter 9; replacing the SSD is an L7 decision, after hardware confirmation
Deleting WinSxS by hand to save space Microsoft warns explicitly that this can leave the computer unable to boot and unable to update [A-S17]; the size File Explorer reports is inflated, and the real overhead may be only a few hundred megabytes — the official example is 4.98 GB reported versus about 507 MB of real overhead [A-S17] Use AnalyzeComponentStore to see the true figures, then StartComponentCleanup to clean up [A-S17][A-S18]
Downloading individual DLLs or system files from the internet SFC only accepts protected files through the component store verification chain; a downloaded DLL with the wrong version or signature will simply not be accepted by WRP as a system file — a mechanism inference from [A-S5][A-S7]; an unknown download source also carries malware risk Repair with DISM and SFC; if an application's DLL is missing, reinstall that application — do not patch in a DLL
Treating chkdsk /f and /r as the same thing /f repairs disk errors; /r locates bad sectors and recovers readable information, includes the /f functionality, and adds physical disk error analysis [A-S20]; /r is much slower because it checks sector by sector Start with /f; use /r only when physical bad sectors are suspected; allow enough time, and never cut power during /r
Reinstalling or resetting without a backup The Microsoft recovery options page states plainly that some restore options cause data loss and that important files should be backed up first [A-S25]; a reset removes applications and settings even when Keep my files is chosen [A-S24] Backup first, and verify the BitLocker key at L0; Keep my files does not mean keep everything
Running SFC and DISM as routine scheduled maintenance Microsoft Q&A states explicitly that SFC and DISM are troubleshooting and repair tools, not routine maintenance tools; if Windows 11 is running normally there is no need to run them on a schedule, and there is no established preventive performance benefit in doing so [A-S31] Run them when there is a reason to suspect damage, not once a month for maintenance
SFC reports no integrity violations, so the machine must be completely fine SFC only verifies protected system files; drivers, applications, the unprotected parts of the registry, and hardware problems are all outside what SFC checks; and protected files that are not critical for restarting are not repaired even if they do not match [A-S4] A clean SFC only means the system-file layer is clean; it does not mean the whole machine is healthy
Using /ResetBase as a routine space-saving trick /ResetBase makes all existing update packages impossible to uninstall [A-S18]; discovering that only when you need to roll back an update is too late Use it only when the system is stable and you are sure no rollback will be needed; use plain StartComponentCleanup for everyday cleanup
12.2 DISM sitting at one percentage for a long time is normal
Microsoft Support says DISM may take a few minutes to complete [B-S1][B-S2]; the DISM reference also says RestoreHealth takes a few minutes [B-S4]. In practice, DISM or SFC sitting at one percentage — 20%, 62% or 100%, for example — for a long time is common, especially on a large disk, a slow SSD, or when files must be downloaded from Windows Update; do not force a shutdown or close the window before it finishes [B-S1]. The official warning is not to close the Command Prompt window before verification reaches 100% completion [B-S1]. Only if DISM has been stuck for more than an hour with no disk or CPU activity at all should you check dism.log and consider it genuinely stuck; do not cancel outright — otherwise, let it finish. Slowness is not failure. The "more than an hour" figure is a practical judgement; there is no official timeout definition.
12.3 SFC reporting that it cannot fix damage does not mean the SSD must be replaced
There are four possible layers behind "cannot fix": (a) the store itself is damaged, because DISM has not yet repaired it; (b) the repair source is not usable, as in 0x800f081f; (c) the file is not protected by WRP, as in the img11.jpg case [B-S12]; (d) a hardware-layer problem, meaning the disk or RAM [B-S1][B-S5][B-S12]. The correct approach is to look in CBS.log first to tell whether it is
file is missing or hash mismatch (see Chapter 6), then run the DISM offline-source repair, then cross-check the hardware (see Chapter 10), and only then consider replacing the SSD [B-S1][B-S5]. "SFC cannot fix it, so the SSD is broken and must be replaced" is a misdiagnosis — do not treat it as a diagnosis.
12.4 The risks of downloading DLLs and system files from the internet
Second-hand sources agree in warning that downloading individual DLL files from untrusted websites is not recommended, because of the security risk and the system instability it can cause; DLLs should be obtained from a trusted source or an official software update, to ensure they are genuine and safe [B-S34], second-hand. The risks include malware or viruses disguised as DLLs, files that are outdated, damaged or altered, version mismatches that cause compatibility problems, and a lack of official support and updates [B-S34], second-hand. Another second-hand source notes that there is no central official repository offering individual DLL files; the safest approach is to obtain a DLL or the related redistributable through Windows Update or the Microsoft Download Center, and SFC itself is the built-in tool for repairing and restoring system DLLs [B-S34], second-hand.
A 2026 case, second-hand: malware placed an altered
mfc100u.dll next to a legitimate program; almost all of its code was original Microsoft code, with only a few lines of malicious functionality added, and the altered file could not retain the Microsoft signature, so signature checking was the way to spot it [B-S34], second-hand, a single case from a second-hand source. No DLL download website links are given here; use SFC, DISM, Windows Update and official redistributables, and do not download individual DLLs from the internet [B-S34], second-hand. One unverified point: no dedicated Microsoft official warning page was found against downloading DLLs; the warnings above come from second-hand summaries.
12.5 The trap of third-party "system repair" tools
A practical judgement, with second-hand support: many third-party "one-click repair" tools claim to fix all system files, but in practice they may only run SFC and DISM and repackage the result, or push a paid edition, or even bundle malware. Second-hand sources warn against using random "update fixer" programs found online; many are useless, and some are malware in disguise.
This guide recommends only Windows built-in tools — DISM, SFC, chkdsk, Windows Memory Diagnostic and the Windows Update troubleshooter [B-S1][B-S5][B-S11]. Of third-party tools, only MemTest86 (PassMark, for memory diagnosis) and CrystalDiskInfo (for reading SMART) are mentioned here; both have a clear manufacturer or open-source background and are third-party tools [B-S19][B-S33]. Paid cleaning or repair software that claims to "automatically fix all Windows errors" is not recommended. Third-party tools' "success rate" figures, such as a 95% repair rate, have no official basis.
12.6 Other traps at a glance
Trap Why it is wrong The correct approach
Thinking "Keep my files" means everything is kept A reset removes applications and settings [B-S13] Back up, and list the programs that must be reinstalled
Thinking Cloud download is always better than Local reinstall Each has failure scenarios of its own; if Local fails, switch to Cloud, and if Cloud fails, switch to Local [B-S35], second-hand Switch to the other source when one fails
Running /ResetBase while updates are still waiting Installed updates can no longer be uninstalled afterwards [B-S8] Wait until the system is stable first
Deleting WinSxS by hand to save space It can leave the computer unable to boot and unable to update [B-S7][B-S8] Use DISM and the scheduled task only
Panicking at a Cannot repair line in CBS.log It may be an unprotected static file [B-S12] Check the date, the file name, and whether it says file is missing or hash mismatch
Running SFC ten times and expecting a different result If the store is damaged, SFC will never fix it [B-S1] Repair DISM first, then run SFC
Running chkdsk /r without a backup /r does heavy read and write work, and a failing drive can get worse partway through Back up first and look at SMART
13. The Hong Kong Context: Humidity, Commuting Vibration, and Old Machines Upgrading to Windows 11
Most of this chapter is situational inference, derived from verified mechanisms plus Hong Kong's local usage environment; it is not Microsoft official documentation, and the contents below describe common situations for Hong Kong users, not official statements.
13.1 Humidity
Hong Kong's humidity is high, and a laptop used or stored for long periods in a damp environment faces higher risks of oxidation on the board and connectors, and of short circuits; intermittent poor contact caused by oxidation can show up as unexplained restarts and interrupted writes — and an interrupted write is exactly the system file damage mechanism described in Chapter 1 [A-S21][A-S13]. The practical advice is not to leave a laptop by a window or near a bathroom for long periods; watch for condensation in humid weather and during the spring damp season; and if the machine has been wet or shows dampness, do not switch it on and charge it immediately — send it for inspection first. That inspection advice is not official content. The evidence level is inference: Microsoft's documents say nothing about Hong Kong humidity; each step in the chain — humidity, oxidation, intermittent faults, interrupted writes, CBS damage — holds on its own, but the chain as a whole has no official backing.
Hong Kong's humid environment accelerates contact oxidation and raises the risk of short circuits and leakage, indirectly making sudden power loss and interrupted writes more common; sudden power loss is one of the common causes of system file damage, and interrupted updates are covered in Chapter 8. The practical advice is not to leave a laptop unused in a damp corner for long periods; switch it on regularly and let it run for a while; if the machine shows signs of dampness, do not power it on to run DISM or chkdsk immediately — have it checked and dried first, by a professional. These are practical judgements, not official guidance. Humidity is not unique to Hong Kong, and by itself it is only one indirect risk factor; humidity plus sudden power loss is a common indirect risk factor in Hong Kong.
13.2 Commuting vibration
Hong Kong users often carry a laptop in a bag on the MTR or a bus, and the vibration and knocks affect traditional HDDs most (the heads and platters), while SSDs are less affected but can still suffer loose interfaces and poor ribbon cable contact; vibration that causes a sudden power cut or an interrupted disk read or write points to the same mechanisms in Chapter 1. The practical advice is that closing the lid to sleep is not the same as shutting down; when carrying the machine in a bag, shut it down fully or make sure it has actually hibernated. SSD machines are relatively shock resistant, but not immune. The evidence level is inference, as above, with no official backing.
Commuting vibration affects traditional HDDs more and SSDs less, but vibration and knocks can loosen ribbon cables and cause poor SSD interface contact, indirectly producing read and write errors that lead to system file corruption. If SFC errors or blue screens appear after the laptop has been dropped, do not rely on software repair alone; check SMART, chkdsk and the memory tests in Chapter 10. Vibration does not definitely damage an SSD; system file corruption appearing after a knock should be checked for hardware first.
13.3 Old machines upgrading to Windows 11
Windows 10 support ended on 14 October 2025, and Microsoft no longer provides software updates, security fixes or technical support for Windows 10 computers, except under the consumer ESU programme, which runs to 12 October 2027 [A-S39]. An old machine that keeps running Windows 10 not only stops receiving security updates; the end of cumulative updates may also shrink the pool of files DISM can fetch online — that point is an inference — only a possibility.
The Windows 11 minimum hardware requirements, from Microsoft Learn [A-S27]: a processor of 1 GHz or faster with two or more cores, on a compatible 64-bit processor or SoC; memory of 4 GB or more; storage of 64 GB or more; firmware with UEFI and Secure Boot capability; TPM 2.0; and a graphics card compatible with DirectX 12 [A-S27]. Microsoft's official list agrees [B-S16]: a processor of 1 GHz or faster with two or more cores on a compatible 64-bit processor or SoC; memory of 4 GB or more; storage of 64 GB or more of available disk space; TPM 2.0; plus UEFI (Secure Boot capable), a DirectX 12 compatible graphics card and other requirements [B-S17]. Microsoft's Windows 11 specifications page lists the same minimum requirements: a 1 GHz or faster dual-core processor, 4 GB RAM, 64 GB storage, UEFI (Secure Boot capable), TPM 2.0, DirectX 12, and a display larger than 9 inches at 720p [B-S17].
Before upgrading an old machine, check whether the CPU is on the support list, whether TPM 2.0 is switched on — Intel PTT or AMD fTPM in the BIOS — and whether the firmware is UEFI or Legacy BIOS. Forcing Windows 11 onto hardware that does not meet the requirements, with Microsoft not guaranteeing updates, is a common second-hand warning that was not verified word for word in the official documents listed; confirm compatibility first with the Microsoft PC Health Check; whether Microsoft guarantees updates for such a machine is not assumed either way.
In practice, many old machines are not too slow; the problem is that the CPU is not on Microsoft's support list, or TPM 2.0 is not enabled — a BIOS setting issue [B-S17], second-hand: PC Health Check is the official checking tool. Windows 10 support has ended: free support for Windows 10 Home and Pro, including software updates, technical assistance and security fixes, ended on 14 October 2025, according to a second-hand source; (That date is quoted from a second-hand source; the Microsoft lifecycle page was not verified word for word. However, the same date has already been verified against the Microsoft official website [A-S39], so this guide relies on [A-S39].)
Before upgrading, run a full DISM and SFC repair so the existing system is healthy, then check TPM and CPU support; do not upgrade directly while system files are already damaged, because the upgrade process enumerates and verifies the whole component store, and damage can make the upgrade fail or roll back. That is covered in the 0x80073712 discussion in Chapter 7. Readers should not bypass the checks to install Windows 11; Microsoft warns against forcing installation on unsupported hardware (second-hand, citing the official download page warning).
Run a complete DISM and SFC pass before upgrading, to make sure the system files are healthy first; upgrading with a damaged component store raises the chance of upgrade failure. That is an operational recommendation, not an official statement. If the machine is too old to meet the Windows 11 requirements and you are unsure whether to upgrade or replace it, check the pricing page first for the four confirmed prices — battery, screen, chip-level motherboard repair and keyboard — then get a professional diagnostic so a technician can judge whether the machine is still worth investing in.
13.4 Local parts and pricing reality
The four prices below are the only confirmed prices; all other repair and part prices are on written quotation after inspection:
Item Price
Battery From HK$580
Screen From HK$1,280
Chip-level motherboard repair From HK$880
Keyboard From HK$480
SSD, RAM, cooling, connectors, other parts, inspection fees, labour and similar items are all priced only on written quotation after inspection — never estimated in advance. For the decision framework in Chapter 14, repair versus replacement cannot be decided on a single part price alone; machine age, overall condition, the value of the data and whether a spare machine exists must all be counted.
SSD, RAM, a motherboard (other than chip-level repair), system reinstallation service charges, data recovery and similar items all fall under "other", and each is priced only on written quotation after inspection. A Hong Kong example is: if inspection confirms an SSD fault, the price of replacing the SSD is on written quotation after inspection; battery from HK$580, screen from HK$1,280, chip-level motherboard repair from HK$880, and keyboard from HK$480. Those four are the confirmed prices; everything else is on written quotation after inspection. The full charging range can be checked on the pricing page.
14. The Repair, Reinstall or Replace Decision Framework
14.1 Factors that favour repair or replacement
Factor Favours repair Favours replacement
Machine age Within 3 years Over 6 years, or past the Windows 11 support threshold with no upgrade path [A-S27][A-S39]
Scope of damage A single damaged system file, fixed by DISM A non-repairable component store plus several hardware problems at once
Value of the data A complete backup already exists No backup and extremely valuable data (rescue the data first; do not gamble on a reinstall)
Cost of reinstalling Few applications, a fast reinstall Many professional programs, licences that are hard to transfer, complex settings
Battery, screen and similar parts A single part with a clear price (see Chapter 13) Several parts ageing at once, with cumulative repair costs approaching a replacement
What the machine is used for Word processing and web browsing is enough New software or new system features are needed and the old machine cannot run them
The decision principle is that the repair price is not the only factor; the time to reinstall and set up again, the risk of it breaking again, and the data risk must all be counted. This framework is a compiled summary, not Microsoft official guidance, and is a reference framework only. Apart from the four prices in Chapter 13, every repair or replacement part price is confirmed only by written quotation after inspection.
14.2 The four-dimension framework
Dimension The question to ask yourself Favours repair Favours reinstallation Favours replacement
Cost How much money and time does each of repair, reinstallation and replacement cost? DISM, SFC and the repair reinstall are free, being built-in tools [B-S1][B-S13] An in-place upgrade or reset is free, but time must be allowed to reinstall programs [B-S14] A new machine costs the most; old machine part prices are on written quotation after inspection, except for the four confirmed items — battery, screen, chip-level motherboard and keyboard — in Chapter 13
Machine age How old is the machine? Does it still support Windows 11? Short age, for example within 3 years, and Windows 11 is supported [B-S16] Medium age, hardware healthy but the system badly damaged Long age, for example over 6 years, with a CPU or TPM that does not support Windows 11 [B-S16][B-S17], or hardware ageing in several places
Value of the data Is the data backed up? What is unbacked-up data worth? Data is backed up, or its value is low Data is backed up, but the system is too damaged to repair Data has no backup and is highly valuable — back up and rescue first; do not replace the machine or reinstall immediately
Downtime How long can the machine be out of use? Is there a deadline? DISM and SFC can finish in several minutes to an hour [B-S1] Half a day to a day can be allowed for reinstalling and setting programs up again Replacing the machine means moving data and settings, at least half a day to a day, but the long-term downtime risk is lower
14.3 Decision rules
1. High-value data with no backup means no irreversible operation. Back up first — to an external drive or the cloud — verify the BitLocker key, and only then discuss repair, reinstallation or replacement [B-S15].
2. A hardware test failure means hardware first. If chkdsk, SMART or memory testing shows a problem, do not waste time in a software repair loop; back up and then decide whether to replace the SSD or RAM or replace the machine, with prices on written quotation after inspection [B-S11][B-S21][B-S29].
3. Software-layer damage, clean hardware and a young machine means repair from light to heavy. DISM, then SFC, then the repair reinstall, then an in-place upgrade, then a reset keeping files [B-S13][B-S14].
4. Software-layer damage, clean hardware, an old machine and no Windows 11 support means consider replacement. Even if the system is repaired, the old machine still faces the end of Windows 10 support and future update risks [B-S16][B-S17].
5. Extremely short downtime — homework due today, a meeting to attend — means do not reinstall now. Do the lightest DISM and SFC pass first, back up, and book time for the heavier repair later; the risk of a power cut or interruption during reinstallation is greater than the benefit of fixing it immediately.
6. The same batch of damage reappearing means stop running SFC in a loop. It means there is an unresolved root cause — hardware, a driver or malware — and the diagnosis must move up a level, not the reinstallation level.
14.4 The final checklist before replacing a machine
- The backup is done and verified to open
- The BitLocker key has been verified (aka.ms/myrecoverykey) [B-S15]
- Data has been moved off the old machine, including the desktop, documents, downloads, browser bookmarks and passwords, and email
- Software licences have been noted down, including Office and Adobe
- The old machine has been signed out of accounts and had licences deactivated, where needed
- How the old machine will be dealt with has been decided — kept, sold or recycled; if it is to be sold or given away, a "Remove everything" reset is required [B-S13]
If you have worked through Chapter 9 to L5 or L6 and still have no resolution, or you find the machine has several hardware problems at once, the practical move is to stop and stop trying on your own. Check the pricing page first to compare the confirmed prices, then book a professional diagnostic so a technician can inspect the system files, disk, memory and the machine as a whole in one pass before deciding between repair, reinstallation and replacement.
15. A Practical Checklist: Doing the Right Things from Today
15.1 Five things to do now
1. Back up important files to an external drive or the cloud, and verify the backup opens. The Microsoft recovery options page states that some restore options cause data loss and that important files should be backed up first [A-S25].
2. Verify the BitLocker recovery key at aka.ms/myrecoverykey, matching the Key ID [B-S15]. Microsoft Support cannot retrieve a lost key [A-S26].
3. Install the latest Windows updates, restart, and then run DISM and SFC. Microsoft recommends updating and restarting before SFC [A-S1]; the correct order is DISM first, then SFC [A-S1][A-S2].
4. Read an AnalyzeComponentStore report once, to learn the true WinSxS overhead instead of guessing from File Explorer [A-S17].
5. If any step is uncertain, stop and ask someone. Do not run a reset, a clean installation or /ResetBase without a backup.
15.2 Five things not to do
1. Do not delete files inside WinSxS by hand, or the whole folder. Microsoft warns that this can leave the computer unable to boot and unable to update [A-S17][B-S7][B-S8].
2. Do not download individual DLLs or system files from the internet. There is no central official repository offering individual DLLs; the safest approach is Windows Update or the Microsoft Download Center [B-S34], second-hand.
3. Do not treat SFC and DISM as monthly routine maintenance. Microsoft Q&A states that they are troubleshooting tools, not routine maintenance tools, and that a normally running system has no need to run them on a schedule [A-S31].
4. Do not force a shutdown when DISM appears stuck. The official text only says it takes several minutes [A-S8][A-S9]; waiting at least an hour, checking process activity and watching the log grow is a second-hand consensus [A-S34][A-S40].
5. Do not run /ResetBase while updates are still waiting to be installed. After it completes, all existing update packages can no longer be uninstalled [A-S18][B-S8].
15.3 When to send the machine for repair
The following situations are best handed to a technician rather than attempted again on your own:
- DISM reports non-repairable, or the correct source still gives 0x800F081F.
- The problem returns immediately after a clean installation, pointing at the hardware layer.
- chkdsk finds new bad sectors every time, or SMART attributes keep getting worse.
- The memory diagnostic reports errors, or MemTest86 reports any error at all.
- The machine holds important data that has not been backed up, or the BitLocker key cannot be found.
- You are unsure which repair path to take next.
Shop details: Room 1209, Daly Plaza, Shek Mun, Sha Tin; telephone +852 2186 8010; WhatsApp +852 6558 6806; opening hours 12:00–19:00. On pricing: battery from HK$580, screen from HK$1,280, chip-level motherboard repair from HK$880, keyboard from HK$480; all other repair and part prices are on written quotation after inspection. The full charges can be seen on the pricing page, and diagnostic bookings are explained on the diagnostic page.
15.4 Command quick reference
All commands must be run in Command Prompt or Terminal as an administrator.
`
:: L1 Update and restart first (Settings, Windows Update), then the steps below
:: L2 Standard repair (the Microsoft Support recommended order [A-S1])
DISM.exe /Online /Cleanup-image /Restorehealth
sfc /scannow
:: L3 Diagnosis
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
:: L3 Offline-source repair (version-matched media; D: is the media letter, N is the correct index)
DISM /Get-WimInfo /WimFile:D:\sources\install.wim
DISM /Online /Cleanup-Image /RestoreHealth /Source:WIM:D:\sources\install.wim:N /LimitAccess
:: Or the Windows folder of a mounted image [A-S8]
DISM /Online /Cleanup-Image /RestoreHealth /Source:C:\test\mount\windows /LimitAccess
:: L4 Safe Mode / WinRE (offline)
sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows
:: Note: verify the offline syntax against the Microsoft Learn sfc command reference; see §2.7
:: A single file (when CBS.log names the damaged file)
sfc /scanfile=C:\Windows\System32\
sfc /verifyonly
:: WinSxS analysis and cleanup
Dism.exe /Online /Cleanup-Image /AnalyzeComponentStore
Dism.exe /online /Cleanup-Image /StartComponentCleanup
:: Dangerous: irreversible — see Chapter 5
Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase
:: Log extraction
findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log >"%userprofile%\Desktop\sfcdetails.txt"
:: L7 Hardware
chkdsk C: /f
chkdsk C: /r
mdsched
`
The PowerShell equivalent is
Repair-WindowsImage -Online -RestoreHealth [A-S9]. The official basis for the appendix commands is in each chapter; the /Source index N must be checked first with Get-WimInfo — never copy 6 blindly. The complete official manual steps for resetting SoftwareDistribution and catroot2 are in [B-S10]; do not skip the step of stopping the services.
16. Keeping a Repair Record: Why Writing It Down Saves the Next Repair
Most guides end at the repair itself. In practice, the repair is only half the job, because the same machine will very likely need attention again, and the person who looks at it next time — whether that is you in six months or a technician you have never met — will have to start from zero unless a record exists. A short repair record turns a one-off fix into a history that can be reasoned about, and it costs only a few minutes at the moment when everything is still fresh in your mind.
The record needs five entries, and nothing more. First, the date and the symptom in your own words: what you saw, when it started, and whether anything changed just before it, such as a Windows update, a new program, a knock, or a battery that ran flat during an update. Second, the exact commands you ran and their exact results: the DISM output, the SFC result message quoted word for word, and any error code that appeared. Third, the contents of the log lines that mattered: the component name, version and architecture from the
[SR] entries, and whether the entry said file is missing or hash mismatch, together with the Total Detected and Total Repaired` figures from the DISM summary. Fourth, the hardware checks: the chkdsk result, the SMART values that were not zero, and the memory diagnostic outcome, including the date each test was run. Fifth, what was done and what was decided: which layer fixed it, which parts were replaced, and what was deliberately left alone.
That record answers questions that otherwise get answered by guessing. If the same file breaks again a month later, the record shows whether it is the same component or a new one, and whether the previous repair was a DISM repair, an in-place upgrade, or a clean installation — three very different histories that point to three very different causes. If SFC reports the same damage after a clean installation, the record proves the pattern without relying on memory, and the conclusion is a hardware problem rather than another round of software repair. If a technician is asked to look at the machine, the record lets them skip the steps already tried and go straight to the layer that has not yet been tested, which saves time and avoids repeating a destructive step such as a reset that has already been done once.
There is a second, quieter benefit. The record is also the place where the two things that protect your data are kept together: the date of the last verified backup, and confirmation that the BitLocker recovery key was found and where it is stored. Microsoft Support states that it cannot retrieve, provide or recreate a lost key [A-S26][B-S15], so the key's location is not a detail to leave to memory. A backup that has never been tested by opening a file from it is a hope rather than a backup, and the record should say whether the backup was actually opened and checked [A-S25]. Keep the record somewhere other than the machine itself — a phone note, a second device, or a printed page — because a record stored only on a drive that later fails is no record at all. A repair without a record is a repair that has to be diagnosed all over again next time; a record of a few lines is what turns this guide from a single rescue into a method you can repeat.
Frequently Asked Questions
Q1: SFC says it found corruption but cannot fix it. Does that mean the hard drive is failing and the SSD must be replaced?
A1: No. The most common reason is that the component store itself is damaged, so SFC has no good files to use [A-S1][A-S2][A-S30]. The correct step is to run DISM /RestoreHealth to repair the store, then run sfc /scannow again [A-S1]. Only at the L7 hardware layer, where chkdsk or SMART confirms a disk problem, should an SSD replacement be considered, and the price of replacing an SSD is on written quotation after inspection. Do not conclude from one "cannot fix" message that the drive must be replaced.
Q2: DISM has been stuck at 62.3% for a long time. Has it frozen? Can I force a shutdown?
A2: It is very likely just slow, not frozen. Microsoft only says ScanHealth and RestoreHealth take several minutes and never mentions the figure 62.3% [A-S8][A-S9]; waiting at least an hour, checking whether DismHost.exe or TiWorker.exe is still active, and checking whether dism.log is still growing is a second-hand teaching consensus [A-S34][A-S40], — practical experience, not an official statement. Never force a shutdown, because a write interrupted mid-transaction is itself a way of creating new damage [A-S21][A-S13].
Q3: WinSxS is more than ten gigabytes. Can I delete the files inside it directly to save space?
A3: Absolutely not. Microsoft warns explicitly that deleting files from the WinSxS folder or deleting the entire WinSxS folder can seriously damage the system, leave the computer unable to boot, and make updates impossible [A-S17][B-S7][B-S8]. The size File Explorer reports is inflated, because many files are hard links counted more than once [A-S16][A-S19]; the official example is 4.98 GB reported against about 507 MB of real overhead [A-S17][B-S7]. The correct approach is to use AnalyzeComponentStore to see the true figures, then StartComponentCleanup to clean up [A-S17][A-S18].
Q4: DISM keeps reporting 0x800f081f, saying the source cannot be found. What should I do?
A4: The official definition of 0x800f081f is CBS_E_SOURCE_MISSING — the source for the package or file could not be found [A-S12][B-S5]. The three conditions are that the specified path does not contain the required files, the user lacks at least read permission, or the installation file set is damaged, incomplete, or does not match the running version of Windows [A-S14]. The fix is to provide installation media matching the version, language and architecture, use /Source:WIM to point at install.wim with /LimitAccess, and find the correct index first with Get-WimInfo [A-S14][A-S11]. If all three routes fail, move up to an in-place upgrade repair rather than retrying endlessly.
Q5: SFC says there is no problem, but the machine still misbehaves. Does that mean the machine is completely fine?
A5: No. SFC only verifies protected system files; drivers, applications, the unprotected parts of the registry, and hardware problems are all outside what SFC checks, and protected files that are not critical for restarting are not repaired even if they do not match [A-S4]. A clean SFC only means the system-file layer is clean; it does not mean the whole machine is healthy. The next step is to follow the layered exclusion in Chapter 9, checking the driver, application and hardware layers, or to get a professional diagnostic for a full check.
Q6: What must I do before resetting the machine?
A6: Two things, and neither can be skipped. First, back up important files, because some restore options cause data loss [A-S25]; even choosing Keep my files removes applications and settings [A-S24][B-S13]. Second, verify the 48-digit BitLocker recovery key at aka.ms/myrecoverykey, matching the Key ID [B-S15]; Microsoft Support cannot retrieve, provide or recreate a lost key [A-S26]. If the key cannot be found and the machine is reset, the data is lost entirely [B-S15]. Do both before moving to L6.
Sources
1. [A-S1] Using System File Checker in Windows — Microsoft Support — https://support.microsoft.com/en-us/windows/experience/backup-recovery/using-system-file-checker-in-windows
2. [A-S2] Use the System File Checker tool to repair missing or corrupted system files — Microsoft Support — https://support.microsoft.com/en-gb/windows/experience/backup-recovery/use-the-system-file-checker-tool-to-repair-missing-or-corrupted-system-files
3. [A-S3] sfc — Microsoft Learn — https://learn.microsoft.com/hr-hr/windows-server/administration/windows-commands/sfc
4. [A-S4] System File Checker — Microsoft Learn — https://learn.microsoft.com/en-us/windows/win32/wfp/system-file-checker
5. [A-S5] Windows Resource Protection — Microsoft Learn — https://learn.microsoft.com/en-us/windows/win32/wfp/windows-resource-protection-portal
6. [A-S6] Protected Resource List — Microsoft Learn — https://learn.microsoft.com/en-us/windows/win32/wfp/protected-file-list
7. [A-S7] Detecting Resource Replacement — Microsoft Learn — https://learn.microsoft.com/en-us/windows/win32/wfp/detecting-file-replacement
8. [A-S8] Repair a Windows Image — Microsoft Learn — https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/repair-a-windows-image?view=windows-11
9. [A-S9] Repair-WindowsImage (Dism) — Microsoft Learn — https://learn.microsoft.com/en-us/powershell/module/dism/repair-windowsimage?view=windowsserver2025-ps
10. [A-S10] DISM Operating System Package Servicing Command-Line Options — Microsoft Learn — https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-8.1-and-8/hh825265(v=win.10)
11. [A-S11] DISM Image Management Command-Line Options — Microsoft Learn — https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-8.1-and-8/hh825258(v=win.10)?redirectedfrom=MSDN
12. [A-S12] Fix Windows Update corruptions and installation failures — Microsoft Learn — https://learn.microsoft.com/cs-cz/troubleshoot/windows-server/installing-updates-features-roles/fix-windows-update-errors
13. [A-S13] Common Windows Update errors — Microsoft Learn — https://learn.microsoft.com/sk-sk/troubleshoot/windows-client/installing-updates-features-roles/common-windows-update-errors?toc=/windows/deployment/toc.json&bc=/windows/deployment/breadcrumb/toc.json
14. [A-S14] .NET Framework 3.5 installation errors: 0x800F0906, 0x800F081F, 0x800F0907, 0x800F0922 — Microsoft Learn — https://learn.microsoft.com/en-us/troubleshoot/windows-client/application-management/dotnet-framework-35-installation-error
15. [A-S15] .NET Framework 3.5 deployment errors and resolution steps — Microsoft Learn — https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/net-framework-35-deployment-errors-and-resolution-steps?view=windows-11
16. [A-S16] Manage the Component Store — Microsoft Learn — https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-8.1-and-8/dn251569(v=win.10)?redirectedfrom=MSDN
17. [A-S17] Determine the Actual Size of the WinSxS Folder — Microsoft Learn — https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/determine-the-actual-size-of-the-winsxs-folder?view=windows-11
18. [A-S18] Clean Up the WinSxS Folder — Microsoft Learn — https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/clean-up-the-winsxs-folder
19. [A-S19] Large WinSxS directory causes disk space issues — Microsoft Learn — https://learn.microsoft.com/en-us/previous-versions/troubleshoot/windows-client/address-disk-space-issues-caused-by-winsxs
20. [A-S20] chkdsk — Microsoft Learn — https://learn.microsoft.com/ar-sa/windows-server/administration/windows-commands/chkdsk
21. [A-S21] Understanding Component-Based Servicing — Microsoft Tech Community — https://techcommunity.microsoft.com/t5/ask-the-performance-team/understanding-component-based-servicing/ba-p/373012
22. [A-S22] Reinstall Windows with the installation media — Microsoft Support — https://support.microsoft.com/en-gb/windows/deployment/install-upgrade/reinstall-windows-with-the-installation-media
23. [A-S23] Fix issues by reinstalling the current version of Windows — Microsoft Support — https://support.microsoft.com/en-au/windows/deployment/install-upgrade/fix-issues-by-reinstalling-the-current-version-of-windows
24. [A-S24] Reset your PC — Microsoft Support — https://support.microsoft.com/en-us/windows/experience/backup-recovery/reset-your-pc
25. [A-S25] Recovery options in Windows — Microsoft Support — https://support.microsoft.com/en-au/windows/experience/backup-recovery/recovery-options-in-windows
26. [A-S26] Back Up Your BitLocker Recovery Key — Microsoft Support — https://support.microsoft.com/en-us/windows/security/encryption/back-up-your-bitlocker-recovery-key
27. [A-S27] Windows 11 requirements — Microsoft Learn — https://learn.microsoft.com/hr-hr/windows/whats-new/windows-11-requirements
28. [A-S28] Run Diagnostics to Check Your System for Memory Problems — Microsoft Learn — https://learn.microsoft.com/en-us/previous-versions/technet-magazine/ff700221(v=msdn.10)
29. [A-S29] Description of System File Checker (Sfc.exe) — Microsoft Learn — https://learn.microsoft.com/vi-vn/troubleshoot/windows-server/installing-updates-features-roles/system-file-checker
30. [A-S30] How to repair your system files using DISM and SFC — Microsoft Q&A — https://learn.microsoft.com/en-my/answers/questions/5543937/how-to-repair-your-system-files-using-dism-and-sfc
31. [A-S31] Inquiry regarding the routine use of SFC and DISM repair tools in Windows 11 — Microsoft Q&A — https://learn.microsoft.com/en-us/answers/questions/6033220/inquiry-regarding-the-routine-use-of-sfc-and-dism
32. [A-S32] Using DISM to Check and Repair Windows Image — woshub.com — http://woshub.com/dism-cleanup-image-restorehealth/
33. [A-S33] DISM: repair the Windows image when SFC fails — zaur.it — https://zaur.it/dism-windows-repair-image/
34. [A-S34] Windows Image Repair using dism /online /cleanup image /restorehealth (guide) — techdows.com — https://techdows.com/windows-image-repair-using-dism-online-cleanup-image-restorehealth-guide.html
35. [A-S35] How to Use SFC /SCANNOW — lazyadmin.nl — https://lazyadmin.nl/it/sfc-scannow-command/
36. [A-S36] Analyze and Clean Up Component Store (WinSxS folder) in Windows 11 — elevenforum.com — https://www.elevenforum.com/t/analyze-and-clean-up-component-store-winsxs-folder-in-windows-11.7597/
37. [A-S37] What or Where is CBS.log? How to read CBS.log file in Windows? — thewindowsclub.com — https://www.thewindowsclub.com/what-is-cbs-log-file
38. [A-S38] How to Collect Diagnostic Logs in Windows — winhelponline.com — https://www.winhelponline.com/blog/collect-diagnostic-logs-windows/
39. [A-S39] End of support for Windows 10, Windows 8.1 and Windows 7 — Microsoft Windows — https://www.microsoft.com/en-ph/windows/end-of-support
40. [A-S40] DISM Online Cleanup Image RestoreHealth Stuck? Causes and Fixes — diskgenius.com — https://www.diskgenius.com/resource/dism-online-cleanup-image-restorehealth-stuck.html
41. [B-S1] Use the System File Checker tool to repair missing or corrupted system files — Microsoft Support — https://support.microsoft.com/en-us/windows/use-the-system-file-checker-tool-to-repair-missing-or-corrupted-system-files-79aa86cb-ca52-166a-92a3-966e85d4094e
42. [B-S2] Using System File Checker in Windows — Microsoft Support — https://support.microsoft.com/en-us/windows/using-system-file-checker-in-windows-365e0031-36b1-6031-f804-8fd86e0ef4ca
43. [B-S3] Repair a Windows Image — Microsoft Learn — https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/repair-a-windows-image?view=windows-10&preserve-view=true
44. [B-S4] DISM Operating System Package Servicing Command-Line Options — Microsoft Learn — https://learn.microsoft.com/windows-hardware/manufacture/desktop/dism-operating-system-package-servicing-command-line-options
45. [B-S5] Fix Windows Update corruptions and installation failures (Original KB number: 947821) — Microsoft Learn — https://learn.microsoft.com/en-us/troubleshoot/windows-server/installing-updates-features-roles/fix-windows-update-errors
46. [B-S6] Troubleshoot problems updating Windows (Fix Windows Update errors) — Microsoft Support — https://support.microsoft.com/en-gb/kb/910336
47. [B-S7] Determine the Actual Size of the WinSxS Folder — Microsoft Learn — https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/determine-the-actual-size-of-the-winsxs-folder?view=windows-11
48. [B-S8] Clean Up the WinSxS Folder — Microsoft Learn — https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/clean-up-the-winsxs-folder?view=windows-10
49. [B-S9] Configure a Windows Repair Source — Microsoft Learn — https://learn.microsoft.com/he-il/windows-hardware/manufacture/desktop/configure-a-windows-repair-source?view=windows-11
50. [B-S10] Additional resources for Windows Update — Microsoft Learn — https://learn.microsoft.com/en-us/troubleshoot/windows-client/installing-updates-features-roles/additional-resources-for-windows-update
51. [B-S11] chkdsk — Microsoft Learn — https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/chkdsk
52. [B-S12] CBS.log file contains entries that some files aren't repaired after you successfully run the SFC utility — Microsoft Learn — https://learn.microsoft.com/vi-vn/troubleshoot/windows-server/installing-updates-features-roles/cbs-log-file-record-entries-not-repaired-run-sfc
53. [B-S13] Recovery options in Windows — Microsoft Support — https://support.microsoft.com/en-au/windows/experience/backup-recovery/recovery-options-in-windows
54. [B-S14] Reinstall Windows with the installation media — Microsoft Support — https://support.microsoft.com/en-gb/windows/deployment/install-upgrade/reinstall-windows-with-the-installation-media
55. [B-S15] Find your BitLocker recovery key — Microsoft Support — https://support.microsoft.com/en-us/windows/security/encryption/find-your-bitlocker-recovery-key
56. [B-S16] Windows 11 requirements — Microsoft Learn — https://learn.microsoft.com/sv-se/windows/whats-new/windows-11-requirements
57. [B-S17] Windows 11 Specs and System Requirements — Microsoft — https://www.microsoft.com/en-us/windows/windows-11-specifications?r=1
58. [B-S18] Description of System File Checker (Sfc.exe) — Microsoft Support — https://support.microsoft.com/kb/310747/cs
59. [B-S19] Windows 11: How to Use MemTest86 With UEFI — Expert Guide — solvemix.com — https://www.solvemix.com/computer/windows-11/windows-11-how-to-use-memtest86-with-uefi-expert-guide.html
60. [B-S20] Test RAM for Errors with Windows Memory Diagnostic — windowsforum.com — https://windowsforum.com/tutorials/test-your-ram-for-errors-with-windows-memory-diagnostic-and-event-viewer.441476/
61. [B-S21] How to Check SSD and Hard Drive Health on Windows — thetechfixguide.com — https://www.thetechfixguide.com/post/check-ssd-health-windows.html
62. [B-S22] How to Check SSD Health: Used Drive Wear, SMART, TBW (2026) — pcserverandparts.com — https://pcserverandparts.com/news/used-ssd-health-check-2026/
63. [B-S23] What Is a CBS Log File? A Practical Windows Servicing Guide — tutorialpedia.org — https://www.tutorialpedia.org/blog/what-is-a-cbs-log-file/
64. [B-S24] DISM Source Files Not Found: Causes, Fixes, and Prevention — tutorialpedia.org — https://www.tutorialpedia.org/blog/dism-source-files-not-found/
65. [B-S25] [Fix] Error 0x800F0954 Installing .NET Framework 3.5 or Any Optional Feature — winhelponline.com — https://www.winhelponline.com/blog/error-0x800f0954-net-framework-3-5-optional-feature-dism/
66. [B-S26] [Fix] .NET Framework 3.5 Error 0x800f0950 in Windows 10/11 — winhelponline.com — https://www.winhelponline.com/blog/net-framework-3-5-error-0x800f0950-windows-10-dism/
67. [B-S27] How to Fix Windows Update Error 0x800f0988 in Windows 11 — helpdeskgeek.com — https://helpdeskgeek.com/fix-windows-update-error-0x800f0988-windows-11/
68. [B-S28] Complete list of Windows Update error codes — techdows.com — https://techdows.com/complete-list-of-windows-update-error-codes.html
69. [B-S29] How to Run Windows Memory Diagnostics Tool in Windows 10 — ninjaone.com — https://www.ninjaone.com/blog/how-to-run-windows-memory-diagnostics-tool/
70. [B-S30] How to Safely Shrink the WinSxS Folder in Windows 11 — allthings.how — https://allthings.how/how-to-safely-shrink-the-winsxs-folder-in-windows-11/
71. [B-S31] "Component Store Cleanup Recommended: Yes" - decide with… — endpointweekly.com — https://www.endpointweekly.com/blog/dism-component-store-cleanup-recommended-resetbase-decision.html
72. [B-S32] SFC: Cannot Repair......Hash Mismatch — Microsoft Q&A — https://learn.microsoft.com/en-us/answers/questions/2666991/sfc-cannot-repair-hash-mismatch
73. [B-S33] This free tool shows if your SSD is quietly failing before it takes your files with it — makeuseof.com — https://www.makeuseof.com/this-free-tool-shows-if-your-ssd-is-failing-before-it-takes-your-files-with-it/
74. [B-S34] DLL Files: To Download or Not to Download? — softhandtech.com — https://softhandtech.com/is-it-okay-to-download-dll-files/
75. [B-S35] Repair Install Windows 11 with an In-place Upgrade — ninjaone.com — https://www.ninjaone.com/blog/repair-install-windows-11-with-an-in-place-upgrade/
76. [B-S36] Bit locker key recover — Microsoft Q&A — https://learn.microsoft.com/en-us/answers/questions/3858087/bit-locker-key-recover
Need Professional Laptop Repair?
Laptop King has 15+ years of repair experience in Shek Mun, Sha Tin. Free diagnosis, transparent pricing, no fix no fee. 180-day warranty for your peace of mind.
