Вы находитесь на странице: 1из 12

Hong Kong Institute of Vocational Education (Chai Wan)

Department of Information Technology


Servers and Services Security Management (ITP4406)

Lab 1 Install Windows Server 2012 R2

Learning Objectives

Upon completion of this lab, you will be able to:


Understand the basic architecture of a campus network
Identity the available Server Roles and Server Features of a Windows Server 2012 R2.
Understand how to use Powershell

Note:
The image files (ISO) for both Windows Server 2012 R2 and Windows 8.1 Enterprise are stored in

C:\iso_images

Windows Server 2012 R2 ISO: en_windows_server_2012_x65_dvd_2707964.iso

Scenario
The following network diagram shows a typical network/system setup of a small Windows-based
network. The major components include:

1. TWO Windows Server 2012 R2 servers (with specific roles)


2. Core router which provide connectivity to the Internet (using Port Address Translation (PAT))
3. TWO switches

Page 1
Server and Services Management (ITP4406)
Lab 1 Server Installation

Network Setup Information

Server IP : 192.168.YYY.100 (Your Windows Server 2012 R2 Server)


Subnet Mask : 255.255.YYY.0
DNS Server IP : 192.168.YYY.2
Default Gateway : 192.168.YYY.2
Note:
1. Check YYY in Virtual Network Editor of Vmware Workstation.
Select Edit Virtual Network Editor NAT Settings

Page 2
Server and Services Management (ITP4406)
Lab 1 Server Installation

2. Select Split Disk Option for your virtual hard disk

3. Select NAT for the network connection of your VM

4. Remove unnecessary Hardware

Page 3
Server and Services Management (ITP4406)
Lab 1 Server Installation

Task 1 Install Windows Server 2012 R2 (dc01)


1. Create a new Virtual Machine (Typical) under Vmware workstation

2. Select install from disc image file (iso).

3. Select Microsoft Window in Select a Guest Operating System

4. Username and password should be Administrator and P@ssw0rd123

5. Hardware configuration should be:

Memory: 8GB
Processor: 2
Hard Disk: 60GB
Network Adapter: NAT

6. Install the system and leave the Product Key blank. (Product key can be entered later)

7. Follow the instructions to complete the installation.

8. Finally Administrator has logged in.

CHANGING COMPUTER NAME

Note: New computer name: dc01

1. Log in as Administrator.

2. Click on Start button to get start menu.

3. Select This PC and then right click and from bottom menu bar select Properties.

4. On System window under Computer name, domain, and workgroup settings section click on
Change settings link.

Page 4
Server and Services Management (ITP4406)
Lab 1 Server Installation

5. On System Properties box make sure that you are on Computer Name tab and click on Change
button.

6. On Computer Name/Domain Changes box in Computer name text box type the new name for
Windows server 2012 R2 computer (i.e. dc01).

7. Click on Ok button.

8. On the appeared option box click on Restart Now button to restart the computer.

Questions

1. Identify the number of available Server Roles.


Hints: Server Manager => Deshboard => 2 Add Roles and features => Next
=> Role-based or feature-based installation => select a server from server pool => dc01
=> Next => Select Server Roles

Page 5
Server and Services Management (ITP4406)
Lab 1 Server Installation

2. Write down the name of available Server Roles.

Page 6
Server and Services Management (ITP4406)
Lab 1 Server Installation

3. Identify the number of available Server Features.


Hints: Server Manager => Deshboard => 2 Add Roles and features => Next
=> Role-based or feature-based installation => select a server from server pool => dc01
=> Next => Select Features

Page 7
Server and Services Management (ITP4406)
Lab 1 Server Installation

4. Find out the following security policy settings from your newly installed Windows Server (Hinsts:
Administrative Tools, Local Security Policies)

Items Security Setting


Enforce password history
Maximum password age
Minimum password age
Minimum password length
Password must meet complexity requirements
Store passwords using reversible encryption
Account lockout duration
Account lockout threshold
Reset account lockout counter after

5. What are the security setting items under the Windows Firewall with Advanced Security?

1.

2.

3.

6. Write down the built-in users of your server. (Hints: Start Administrative Tools Computer
Management.)

Page 8
Server and Services Management (ITP4406)
Lab 1 Server Installation

7. Write down the built-in groups of your server (Hints: Start Administrative Tools Computer
Management.)

Page 9
Server and Services Management (ITP4406)
Lab 1 Server Installation

Introduction to Powershell

Check Powershell Version

1. Click the Powershell icon as shown in the diagram below.

2. The command prompt of Powershell should be similar to the following diagram.

3. Type the following command.


$PSVersionTable

What is the Powershell version of your Windows server?

Powershell Commands

4. Try the following commands

Page 10
Server and Services Management (ITP4406)
Lab 1 Server Installation

Command Description
Get-Help Display information about Windows PowerShell cmdlets
and concepts.
Get-Command List all built-in Powershell commands
Get-Alias A full list of built-in alias
Get-PSdrive A list of currently loaded Powershell drive on local
system
Get-Module -ListAvailable List available Powershell module
Import-Module ServerManager Load the ServerManager module to Powershell
Get-WindowsFeature List all available server roles and features (a cmdlet from
ServerManager module)
Get-Process List all running process
Stop-Computer Shutdown the server

Page 11
Server and Services Management (ITP4406)
Lab 1 Server Installation

5. Try at least FIVE commands listed by Get-Command. Find out the functions of these FIVE
Powershell commands

1.

2.

3.

4.

5.

10. What Powershell command(s) should be used to install the print server role in your Windows server?
What Powershell module (import-module) is required (or simply what module should be
imported)?

Page 12

Вам также может понравиться