Repair a Windows Image | Microsoft Learn For a quick check of an online image, you may be able to use the command: sfc scannow to scan and repair files For a more extensive check that can repair issues with the store, use DISM Cleanup-Image
Using DISM to Check and Repair Windows Image You can use the SFC (System File Checker) and DISM (Deployment Image Servicing and Management) commands to check and repair the integrity of system files and Component Store of your Windows (Windows Server) image
Use DISM to Repair Windows 10 Image | Tutorials - Ten Forums For example, you would use DISM to fix Windows component store corruption when a sfc scannow command is unable to repair corrupted or modified system files because the component store (source) is corrupted