The Windows 10 Deployment Image Servicing and Management (DISM) is designed to prepare, modify, and repair system images

https://www.windowscentral.com/how-use-dism-command-line-utility-repair-windows-10-image

QUOTE: ¬† In this Windows 10 guide, we’ll walk you through the steps to use the DISM and SFC tools with Command Prompt to bring your device back to a healthy system state.

On Windows 10, the Deployment Image Servicing and Management (DISM) is a tool designed for administrators to prepare, modify, and repair system images, including the Windows Recovery Environment, Windows Setup, and Windows PE. However, you can also use the tool with Command Prompt to fix common problems with the hidden recovery image on your device.

Warning:¬†Although these are non-destructive commands, you’ll be making system changes. This means that it’s recommended to create a temporary¬†full backup before proceeding.