Deploy to a device (Industry 8.1)
Learn how to deploy a Windows Embedded 8.1 Industry (Industry 8.1) image from a reference device.
After you add features to your image, you are ready to deploy the Windows Embedded 8.1 Industry (Industry 8.1) operating system to your devices. To deploy it, we recommend that you use the Windows Assessment and Deployment Kit (Windows ADK) that describes how to install the Windows Preinstallation Environment and then deploy your image to your devices.
For more information on deployment with the Windows ADK, see Basic Windows Deployment Step-by-Step Guide in the Windows ADK.
Deploy an image from a reference device
The deployment process performs several verifications, which rely on the target device's date and time settings. For optimal performance, confirm before deployment that the target device is set to the correct date and time.
- The Windows Assessment and Deployment Kit (Windows ADK) is downloaded. For more information, see Windows Deployment with the Windows ADK on MSDN.
- You have access to Deployment Image Servicing and Management (DISM). For information about DISM, see Deployment Image Servicing and Management (DISM) Command-Line Options on MSDN.
- Windows Preinstallaton Environment 4.0 (Windows PE 4.0) is installed. For more information, see Step 1 in the Basic Windows Deployment Step-by-Step Guide on TechNet.
- A USB port.
- Is configured to start from a USB device.
- Your master image includes the features needed to meet your device requirements. For more information, see Edit an answer file.
- Your target device matches the reference device hardware. Any hardware deviations may cause problems.
An empty USB flash drive that has at least 4 gigabytes (GB) of free space. You will load Windows PE 4.0 on this USB drive.
An external storage device that uses the NTFS file system and has at least 8 GB of free space. This can be a second USB flash drive, an external hard drive, or a network location. These instructions assume that the external storage device is an external hard drive.
To use a network location as the external storage device, type the following command to map a drive to the network location before you perform each step that uses the external drive:
net use e: \\server\share
Install Windows PE and the image on the USB
Connect the USB flash drive to your development system.
To install Windows PE 4.0, at a command prompt, type the following command, where F is the drive letter for the USB flash drive:
Copy MakeWinPEMedia /UFD C:\winpe_amd64 F:
Capture the image from the reference device
Connect the USB flash drive to the reference device and then restart the device in Windows PE 4.0.
Connect the external hard drive to the reference device.
Prepare the image for deployment by using Sysprep to remove system-specific settings such as the computer security identifier (SID):
Sysprep /generalize /oobe /shutdown
When you deploy the image to a different device, the system regenerates the device-specific settings that were removed by Sysprep. For more information about Sysprep, see Sysprep Command-Line Settings on MSDN.
To capture your master image using DISM, type the following command, where D refers to the drive that contains your image and E is the drive letter for the external hard drive:
dism /Capture-Image /ImageFile:E:\MyImage.wim /CaptureDir:D:\ /Name:”Contoso"
The Deployment Image Servicing and Management (DISM) tool captures the Windows partition in a new image file.
Deploy and test the image
On the target device, connect the external hard drive and then start the device in Windows PE 4.0.
To apply your custom image by using DISM, type the following command, where E refers to the USB flash drive that contains your image and D is the drive on the target device:
Dism /Apply-Image /ImageFile:E:\MyImage.wim /ApplyDir:D:\ /Name:”Contoso"
To configure the device to start the OS, use the BCDBoot tool to update the BCD store:
bcdboot E:\Windows /l en-US
Restart the system.
Verify that your image is on the device and that it works as expected.