Click the Start menu. Then type cmd in the search box. Right-click Command Prompt and choose Run as administrator.
When you get into Command Prompt, input sfc /scannow and press Enter.
Open the command prompt as administrator, type the command below and hit enter:
DISM /Online /Cleanup-Image /RestoreHealth /Source:ISOmountpath\install.wim
[source iso =win 11 iso]