---
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.

- 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

set Network Adapter to **NAT**

waiting until finishing installation

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**

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**.
:::

Promote this server to a domain controller

Add a new forest.

password must meet the complexity.

After finishing AD setting up, you should see AD DS, DNS are installed.

install WDS, DHCP roles.


Activate DHCP ,click next with defualt settings until finish.

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.

Bring new disk online and initialize the disk with GPT.


Then create a new volume and format the disk to NTFS.

Config WDS

Use **E:** drive for remote installation folder.



Start the WDS service.

Mount `en_windows_10_consumer_edition_version_1809_updated_feb_2019_x64_dvd_258dbd0b.iso` in the Windows Server.

Copy install.win and boot.win to desktop from the mounted iso file(Windows 10 installation DVD).

Add Install Image.


Now you need the **install.win** file.

Pcik any of them.




Done

## 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.

Make sure network adapter is NAT.

Boot from network card by pressing ESC.

Press F12 to install.

Loading installation files.

You need a account to login into WDS service.

Now you can see the two Windows 10 versions which you have choosen on the WDS install images.

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.


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.
