Add Windows install and boot images using WDSUTIL

Create image groups and load the images into the image groups using WDSUTIL commands.

  1. Log into the WDS server as a domain administrator.
  2. Map the Public folder on the Mgr computer to the Z drive on the WDS server.
  3. Open a DOS command shell.

Image group section

  1. Add these image groups:
    • wdsutil /add-imagegroup /imagegroup:Windows2008_x64 - Ignore if already added
    • wdsutil /add-imagegroup /imagegroup:Windows7_enterprise_x64 - Ignore if already added
    • wdsutil /add-imagegroup /imagegroup:Windows7_enterprise_x86 - Ignore if already added
    wdsutil /add-imagegroup /imagegroup:Windows2012_x64
    wdsutil /add-imagegroup /imagegroup:Windows2012r2_x64
    wdsutil /add-imagegroup /imagegroup:Windows8_enterprise_x64
    wdsutil /add-imagegroup /imagegroup:Windows8_enterprise_x86
    wdsutil /add-imagegroup /imagegroup:Window8.1_enterprise_x64
    wdsutil /add-imagegroup /imagegroup:Windows8.1_enterprise_x86
    Note: If the corresponding image group exists already, the command will fail with a message saying so. You can ignore the error.

Install images section

  1. To load a Windows 2008 R2 64-bit install image, enter the following command:
    wdsutil /add-image /imagefile:"Z:\Windows2008R2_enterprise\sources\install.wim" /imagetype:install /ImageGroup:Windows2008_x64 
  2. To load a Windows 7 64-bit install image, enter the following command:
    wdsutil /add-image /imagefile:"Z:\Windows7_enterprise_x64\sources\install.wim" /imagetype:install /ImageGroup:Windows7_enterprise_x64
  3. To load a Windows 7 32-bit install image, enter the following command:
    wdsutil /add-image /imagefile:"Z:\Windows7_enterprise_x86\sources\install.wim" /imagetype:install /ImageGroup:Windows7_enterprise_x86
  4. To load a Windows 8: 32-bit and 64-bit, Windows 8.1: 32-bit and 64-bit, Windows 2012 and Windows 2012R2 use respective images.
    wdsutil /add-image /imagefile:"Z:\Windows8_enterprise_x64\sources\install.wim" /imagetype:install /ImageGroup:Windows8_enterprise_x64
    wdsutil /add-image /imagefile:"Z:\Windows8_enterprise_x86\sources\install.wim" /imagetype:install /ImageGroup:Windows8_enterprise_x86
    wdsutil /add-image /imagefile:"Z:\Windows8.1_enterprise_x64\sources\install.wim" /imagetype:install /ImageGroup:Windows8.1_enterprise_x64
    wdsutil /add-image /imagefile:"Z:\Windows8.1_enterprise_x86\sources\install.wim" /imagetype:install /ImageGroup:Windows8.1_enterprise_x86
    wdsutil /add-image /imagefile:"Z:\Windows2012_standard\sources\install.wim" /imagetype:install /ImageGroup:Windows2012_x64
    wdsutil /add-image /imagefile:"Z:\Windows2012R2_standard\sources\install.wim" /imagetype:install /ImageGroup:Windows2012R2_x64

Boot images section

#a) To load a Windows 2008 R2 64-bit boot image, enter the following command:
wdsutil /add-image /imagefile:"Z:\BootImages\x64\boot.wim" /imagetype:boot
#b) To load a Windows 7 32-bit boot image, enter the following command:
wdsutil /add-image /imagefile:"Z:\BootImages\x86\boot.wim" /imagetype:boot
#c) To load a Windows 2012R2 64-bit, Windows 2012 64-bit, Windows8 enterprise 64 bit, 
Windows8.1 enterprise 64 bit boot image, enter the following command:
wdsutil /add-image /imagefile:"Z:\BootImages\x64\postwin8boot.wim" /imagetype:boot
#d) To load a Windows8 enterprise 32 bit, Windows8.1 enterprise 32 bit  boot image, enter the following command:
wdsutil /add-image /imagefile:"Z:\BootImages\x86\postwin8boot.wim" /imagetype:boot

  1. WDSUTIL commands have many options with several arguments for each option. Run the wdsutil command with /? to get detailed help on how to use each sub-command and its arguments.