You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting up a test deployment environment in VMWare Workstation
Turn off DHCP on the host-only network adapter in Virtual Network Editor. It uses 192.168.254.0/24, but you can use whatever IP or network you prefer.
Create a Windows Server VM to run a domain controller, DHCP, and WDS.
Create a VM using mostly normal settings. Make the main network adapter have NAT or however you connect VMs to the internet, and then add a second network adapter on the host-only network.
Set the NIC on the host only network to a static IP (no gateway, we will use the DC for routing. Don't do this in prod):
netsh int ip set address ethernet0 192.168.254.254 255.255.255.0
Install roles and DC
Install-WindowsFeature-Name AD-Domain-Services, DHCP, DNS -IncludeManagementTools
ipmo ADDSDeployment
Install-ADDSForest-DomainName "ad.lab.i.rm.vg"-InstallDNS -CreateDnsDelegation:$false-Force:$trueRestart-Coputer-Force
The computer will reboot and set up the domain controller. It would be advisable to snapshot or backup the VM at this time.
Copy the ipxe.zip files to C:\Remoteinstall\boot\ (this includes wimboot.x86_64.efi, x64\snponly_x64.efi, x64\snponly_usb_x64.efi, 2PXE\Boot, 2PXE\File\logo)
You need to open the WDS MMC, go to Properties (for the server) > "Boot" tab > Always continue the PXE boot (for both known and unknown clients).
Remove Option 60 from the DHCP server, this causes WDS to hijack the DHCP requests.