How to make your VM use a static IP when booting an MDT WinPE image.

By | March 17, 2016
Share

When VMs exist in static IP environments and a VM is being used to capture a thin image with MDT, the boot image must be instructed to use a static IP during the capture process.  Here is my method of achieving this.

  1. Download the “SetStaticIP.vbs” and updated “Unattend.xml” file, using the following link: https://drive.google.com/open?id=0BwHI1r8k8A75S2w0UkZUeWM3NzA
  2. Update the “SetStaticIP.vbs” to assign your desired static IP.
  3. Add both files to an empty folder.
  4. Add the folder to your MDT boot image “Extra Files”.
  5. Lastly, Update your Deployment Share.

 

Script on GitHub:
https://github.com/brianfgonzalez/Scripts/blob/master/Static%20IP/SetStaticIP.vbs
https://github.com/brianfgonzalez/Scripts/blob/master/Static%20IP/Unattend.xml

/Brian G

Leave a Reply

Your email address will not be published.

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.