(Press Win + X → Terminal (Admin) or CMD (Admin)).

Before you proceed with any deployment, ensure you have:

dism /Apply-Image /ImageFile:"C:\Path\To\install.wim" /Index:1 /ApplyDir:D:\

Since Microsoft now distributes consumer ISOs with install.esd instead of .wim , you must convert it using (Deployment Imaging and Servicing Management) – a built-in Windows tool.