--- tags: advanced-networking, comp701 --- # Wintec COMP701 lab 2 help ## download files go to `\\itsw1\Public\` to download iso files needs - en_windows_server_2012_r2_with_update_x64_dvd_6052708.iso - en_windows_10_consumer_edition_version_1809_updated_feb_2019_x64_dvd_258dbd0b.iso ## check your vmware environment click `Edit` > `Virtual Network Editor...` We are going to use NAT network without dhcp. Make sure you can find the default gateway IP address of NAT network. ![](https://i.imgur.com/wXWpW6o.png) - as example my NAT Gateway IP is **192.168.206.2**. - network address **192.168.206.0**/24 - uncheck **the local DHCP service to distribute IP address to VMs**. ## create Windows Server 2012 VM leave product key blank ![](https://i.imgur.com/bEnOISf.png) set Network Adapter to **NAT** ![](https://i.imgur.com/3G2NHCm.png) waiting until finishing installation ![](https://i.imgur.com/3x6evg1.png) After installation, make sure you login as an **Administrator**. use `cmd.exe` to config ip address ``` netsh interface ipv4 show config ``` address name is **Ethernet0** ![](https://i.imgur.com/bSHkC9I.png) config ip address **192.168.206.254**, subnet mask **255.255.255.0** and gateway **192.168.206.2**. ``` netsh interface ipv4 set address name="Ethernet0" static 192.168.206.254 255.255.255.0 192.168.206.2 ``` install `Active Directory Domain Service` ++only++ this time. After installation, reboot your Windows server 2012. :::danger notice: make sure you login as an **Administrator**. ::: ![](https://i.imgur.com/SXkB4wo.png) Promote this server to a domain controller ![](https://i.imgur.com/aOuTJCa.png) Add a new forest. ![](https://i.imgur.com/hbOI7YZ.png) password must meet the complexity. ![](https://i.imgur.com/6LLxd5F.png) After finishing AD setting up, you should see AD DS, DNS are installed. ![](https://i.imgur.com/uPDTV2I.png) install WDS, DHCP roles. ![](https://i.imgur.com/vIVM8m8.png) ![](https://i.imgur.com/e1RXOZs.png) Activate DHCP ,click next with defualt settings until finish. ![](https://i.imgur.com/8W2nBS8.png) Create a new DHCP scope and set up a default gateway and a DNS server. Add a new 60G hard drive for server. It will be used to store WDS images storage. ![](https://i.imgur.com/ueaxXQX.png) Bring new disk online and initialize the disk with GPT. ![](https://i.imgur.com/TdE4JZ4.png) ![](https://i.imgur.com/FqGeU8g.png) Then create a new volume and format the disk to NTFS. ![](https://i.imgur.com/MiaDtM2.png) Config WDS ![](https://i.imgur.com/oHPqam9.png) Use **E:** drive for remote installation folder. ![](https://i.imgur.com/aBaAREx.png) ![](https://i.imgur.com/iAmmOBc.png) ![](https://i.imgur.com/m4mjU5C.png) Start the WDS service. ![](https://i.imgur.com/ptYIlaA.png) Mount `en_windows_10_consumer_edition_version_1809_updated_feb_2019_x64_dvd_258dbd0b.iso` in the Windows Server. ![](https://i.imgur.com/pAyWRja.png) Copy install.win and boot.win to desktop from the mounted iso file(Windows 10 installation DVD). ![](https://i.imgur.com/1jHy3nq.png) Add Install Image. ![](https://i.imgur.com/2ZypQhH.png) ![](https://i.imgur.com/qa7KQ5p.png) Now you need the **install.win** file. ![](https://i.imgur.com/vIoT3sM.png) Pcik any of them. ![](https://i.imgur.com/EnJ99hU.png) ![](https://i.imgur.com/CTZlzEK.png) ![](https://i.imgur.com/091WdN4.png) ![](https://i.imgur.com/584NACZ.png) Done ![](https://i.imgur.com/8hzCfiu.png) ## create client VM Create a new VM for installing Windows 10 through WDS. You can give more RAM or CPU cores to the new VM. ![](https://i.imgur.com/1RlmBHi.png) Make sure network adapter is NAT. ![](https://i.imgur.com/ZhQYtKw.png) Boot from network card by pressing ESC. ![](https://i.imgur.com/iA4S83r.png) Press F12 to install. ![](https://i.imgur.com/2U8XBYO.png) Loading installation files. ![](https://i.imgur.com/tJ1gVxd.png) You need a account to login into WDS service. ![](https://i.imgur.com/AxKxkT9.png) Now you can see the two Windows 10 versions which you have choosen on the WDS install images. ![](https://i.imgur.com/Plmau9P.png) You will complete the installation of Windows 10 later. ## create captured image watch this [video](https://www.youtube.com/watch?v=Q4mWs-slUag&t=196s) before setting up. ![](https://i.imgur.com/9jwl3Qy.png) ![](https://i.imgur.com/fsrQOdv.png) press shift + F10 to invoke `cmd.exe` [network drive command line](https://www.getfilecloud.com/supportdocs/display/cloud/How+to+Mount+CIFS+Shares+from+Windows+Command+Line) see [video](https://youtu.be/Q4mWs-slUag). Setting up the network drive to store your new captured image. ![](https://i.imgur.com/084FVPj.png)