Přeskočit na hlavní obsah
  • Vkládejte objednávky snadno a rychle
  • Zobrazit objednávky a sledovat stav expedice
  • Vytvořte a přistupujte k seznamu svých produktů
Některá čísla článků se možná změnila. Pokud zde není to, co hledáte, zkuste vyhledat všechny články. Hledat články

How to Use DISM Deployment Image Servicing and Management to Repair the Windows System Store

Shrnutí: How to use the Deployment Image Servicing and Management (DISM) tool to repair issues with the Windows System Store. This guide covers DISM commands, modifiers, and steps to resolve corruption and ensure system stability. ...

Tento článek se vztahuje na Tento článek se nevztahuje na Tento článek není vázán na žádný konkrétní produkt. V tomto článku nejsou uvedeny všechny verze produktu.

Pokyny


The Deployment Image Servicing and Management (DISM) tool can be used to scan and repair issues with the .wim in Windows that may impact system files. This article provides information about the DISM tool and how to use it to scan and repair the .wim store.


Information on the Deployment Image Servicing and Management Tool (DISM)

The Deployment Image Servicing and Management Tool (DISM) is an administrator-level, command-line executable available in Windows that can be used to repair your Windows image or to modify Windows installation media. It can mount Windows images in .wim, .vhd, or .vhdx format, and can be used to address issues in the installed Windows operating system.


Using the Deployment Image Servicing and Management Tool (DISM) to repair the Windows System Store

The System File Checker tool can be used to repair corrupted system files. For more information about how to use the tool, see the following Microsoft article: Use the System File Checker tool to repair missing or corrupted system files External Link. The System File Checker tool compares those files against the .wim store that is saved on the system (not to be confused with the Windows Software Store app where you can purchase software for Windows). If this store is corrupted, the repairs may not resolve the problems that the system is having. The DISM tool has some modifiers that can scan and repair the .wim store based on parent copies stored on Microsoft’s update servers, making it useful to run with a system file check. Reference the table below for a list and description of DISM tool modifiers (Table 1):

Modifier Description
/online Signifies that you are modifying an online image (does not signify that a scan runs over the Internet)
/cleanup-image Triggers a more extensive check which can resolve issues with the store
/checkhealth Starts a basic check to see if corruption has been detected in the store.
/scanhealth Performs a more comprehensive scan of the store for corruption
/restorehealth Scans the store for corruption and also repairs corrupted files
Table 1: DISM modifier and description

Example, the following command would trigger a scan of an online image to check the Windows store for corruption and repair any that it finds:

  • dism /online /cleanup-image /restorehealth

The command does not always check the files with the parent copy stored on the Windows Update servers by default, and adding the /online modifier does not allow the computer to pull from the Windows Update server with it disabled. If the online functionality is disabled, you may run the command and get an error stating that it was unable to find the source file. With this option enabled, the repair takes longer depending on your Internet connection speed. To enable the option:

  1. Open the Local Group Policy Editor by typing gpedit.msc into the start menu search bar and pressing Enter.
  2. Navigate to Computer Configuration>Administrative Templates>System>Specify settings for optional component installation and component repair then double-click it to open up the settings window.
  3. Set the process to enable, and in the Option section look for the option labeled Contact Windows Update directly to download repair content instead of Windows Server Update Services (WSUS) and check the box.

Under good conditions, the command takes about 10-20 minutes to run, but depending on circumstances it can potentially take over an hour.


Extra Reference:


Vlastnosti článku
Číslo článku: 000122035
Typ článku: How To
Poslední úprava: 23 Sep 2024
Verze:  5
Najděte odpovědi na své otázky od ostatních uživatelů společnosti Dell
Služby podpory
Zkontrolujte, zda se na vaše zařízení vztahují služby podpory.