

To modify a Windows 10 image, use these steps: In this part of the process, you'll be using the DISM command line tool in PowerShell to open and apply the unattend.xml file to an install.wim image, which will enable S mode during a normal installation of Windows 10. Inside the unattend.xml file the settings portion for offlineServicing should look like in the example below: 1 How to modify image to enable S mode on Windows 10 Once you've completed the steps, the unattend.xml file will be created, which you can now use to integrate into the Windows 10 image to enable S mode.

Under "File name," use the unattend.xml file name.Navigate to the folder you want to save the file.The destination path should be the same as the source. Type the following command to create an install.wim file and press Enter: dism /Export-Image /SourceImageFile:C:\path\to\folder\sources\install.esd /SourceIndex:6 /DestinationImageFile:C:\path\to\folder\sources\install.wim /Compress:Max /CheckIntegrityIn the command make sure to change the path to the sources folder with the install.esd file on your device.For example, we're extracting Windows 10 Pro, which in this case has an index number of 6. Identify the index number for the edition you want.


Search for PowerShell, right-click the top result, select Run as administrator.If you don't have an install.wim file, you can use the DISM command tool to export the image files and create a. If you have an ISO that you created using the Media Creation Tool, you're likely to have an install.esd file, which you won't be able to open. In order to open and modify the image, you need an install.wim file.
