This lab provides basic information about:
1-Install and configure Hyper-V 2016 Server role.
2-Install Windows Server 2016 Core on Hyper-V and configure it locally and remtely.
Contents
- Lab Scenario
- Working with Hyper-V
- add Hyper-V role through PowerShell
- add Virtual Switch to Hyper-V
- Install Server Core 2016 on Hyper-V
- Manage server 2016 Core locally
- Windows Server 2016 Initial Configuration
- Add IIS Role
- Manage Server Core 2016 Remotely
- Using GUI
- Using PowerShell
- Using Remote Desktop
Unblocking The Main Thread Solving ANRs and Frozen Frames
Install and configure windows server 2016 core on hyper v 2016 step by step
1. Install and Configure Windows Server 2016 Core on Hyper-V 2016
Step by Step (V1.1)
Ahmed Abdelwahed
Microsoft Certified Trainer
Ahmed_abdulwahed@outlook.com
2. Windows Server 2016 Core on Hyper-V 2016
2 | P a g e
http://www.mycertprofile.com/Profile/3992184764
Contents
Lab Scenario ..............................................................................................................................................................................3
Working with Hyper-V...............................................................................................................................................................4
add Hyper-V role through PowerShell ..................................................................................................................................4
add Virtual Switch to Hyper-V...............................................................................................................................................4
Install Server Core 2016 on Hyper-V.........................................................................................................................................5
Manage server 2016 Core locally............................................................................................................................................14
Windows Server 2016 Initial Configuration ........................................................................................................................14
add IIS Role..........................................................................................................................................................................15
Manage Server Core 2016 Remotely ......................................................................................................................................16
Using GUI.............................................................................................................................................................................16
Using PowerShell.................................................................................................................................................................17
Using Remote Desktop........................................................................................................................................................17
3. Windows Server 2016 Core on Hyper-V 2016
3 | P a g e
http://www.mycertprofile.com/Profile/3992184764
Lab Scenario
This lab provides basic information about:
1- Install and configure Hyper-V 2016 Server role.
2- Install Windows Server 2016 Core on Hyper-V and configure it locally and remotely.
In this lab, we have Active Directory and DNS in Windows Server 2016 named ITPROLABS.XYZ, for
this lab we join another Windows Server 2016 machine named Hyper-V01 to our domain, this
server will play Hyper-V server Role which host Windows Server core 2016.
Domain: ITPROLABS.XYZ
DC IP: 192.168.153.10
DNS: 192.168.153.10
Hyper-V01: 192.168.153.50
For full Windows Server 2016 active directory lab check the following link:
https://gallery.technet.microsoft.com/Install-Windows-Server-f37e3c6d?redir=0
4. Windows Server 2016 Core on Hyper-V 2016
4 | P a g e
http://www.mycertprofile.com/Profile/3992184764
Working with Hyper-V
Login to server that will play Hyper-V role.
Server name: Hyper-V01
IP address: 192.168.153.50
Domain: ITProLab.xyz
add Hyper-V role through PowerShell
Install-WindowsFeature -Name Hyper-V -IncludeManagementTools -Restart
add Virtual Switch to Hyper-V
Add external virtual switch so we can connect VMs that hosted in Hyper-V with other VMs
5. Windows Server 2016 Core on Hyper-V 2016
5 | P a g e
http://www.mycertprofile.com/Profile/3992184764
Install Server Core 2016 on Hyper-V
from Hyper-V01 server manager access Hyper-V management console and follow the below figures to install
Server Core 2016 VM.
6. Windows Server 2016 Core on Hyper-V 2016
6 | P a g e
http://www.mycertprofile.com/Profile/3992184764
7. Windows Server 2016 Core on Hyper-V 2016
7 | P a g e
http://www.mycertprofile.com/Profile/3992184764
Browse and select Windows Server 2016 ISO image to use it as installation source
8. Windows Server 2016 Core on Hyper-V 2016
8 | P a g e
http://www.mycertprofile.com/Profile/3992184764
Connect to Server Core VM and start installation process
9. Windows Server 2016 Core on Hyper-V 2016
9 | P a g e
http://www.mycertprofile.com/Profile/3992184764
10. Windows Server 2016 Core on Hyper-V 2016
10 | P a g e
http://www.mycertprofile.com/Profile/3992184764
Select Windows Server 2016 Standard Core
11. Windows Server 2016 Core on Hyper-V 2016
11 | P a g e
http://www.mycertprofile.com/Profile/3992184764
12. Windows Server 2016 Core on Hyper-V 2016
12 | P a g e
http://www.mycertprofile.com/Profile/3992184764
13. Windows Server 2016 Core on Hyper-V 2016
13 | P a g e
http://www.mycertprofile.com/Profile/3992184764
After installation is done, change local administrator password (we need it to access our server for first time)
14. Windows Server 2016 Core on Hyper-V 2016
14 | P a g e
http://www.mycertprofile.com/Profile/3992184764
Manage server 2016 Core locally
Windows Server 2016 Initial Configuration
Login to server core using local administrator account, then use Sconfig to change server Initial Configuration like Server
name and network configuration, so we can join our server to ITPROLABS.XYZ domain.
Server Name: WebServer
IP address: 192.168.153.52
SM:255.255.255.0
DNS: 192.168.153.10
DG: 192.168.153.2
15. Windows Server 2016 Core on Hyper-V 2016
15 | P a g e
http://www.mycertprofile.com/Profile/3992184764
add IIS Role
Type 15 to exit sconfig to command line mode then type PowerShell to access PowerShell mode. Through
PowerShell use the following command to install IIS server role
Install-WindowsFeature -name Web-Server -IncludeManagementTools -verbose
After IIS installation is done, you can access WebServer through web as shown down
16. Windows Server 2016 Core on Hyper-V 2016
16 | P a g e
http://www.mycertprofile.com/Profile/3992184764
Manage Server Core 2016 Remotely
Also, we can manage server core remotely as explained down:
Using GUI
By adding server core to another GUI server manager as shown down, we added here through another server
that already joined to our domain ITPROLABS.XYZ.
now server core is added to another GUI server manager, so we can add and remove roles and features remotely
or configure some management tasks as shown down.
17. Windows Server 2016 Core on Hyper-V 2016
17 | P a g e
http://www.mycertprofile.com/Profile/3992184764
Using PowerShell
By selecting PowerShell from the following down list.
Using Remote Desktop
Also, you can contact and manage server core remotely through remote desktop, first we need to enable remote
desktop through Sconfig console as shown down:
18. Windows Server 2016 Core on Hyper-V 2016
18 | P a g e
http://www.mycertprofile.com/Profile/3992184764
From any server or PC run mstsc then access WebServer
19. Windows Server 2016 Core on Hyper-V 2016
19 | P a g e
http://www.mycertprofile.com/Profile/3992184764