MCSE 2012 Lab Guide PDF
MCSE 2012 Lab Guide PDF
2
Windows Server 2012 - Theory & Lab Manual
3
Windows Server 2012 - Theory & Lab Manual
INDEX
4
Windows Server 2012 - Theory & Lab Manual
5
Windows Server 2012 - Theory & Lab Manual
Sr. Page
Topic
No. No.
12 Dynamic Host Configuration Protocol (DHCP) 299
Lab – 1: Installing DHCP Service 303
Lab – 2: Creating a Scope 309
Lab – 3: Creating DHCP Reservations 317
Lab – 4: DHCP Server Backup and Restore 319
Lab – 5: Configuring DHCP Server Failover 321
6
Windows Server 2012 - Theory & Lab Manual
16 Hyper – V 410
Lab – 1: Installing Hyper – V 417
Lab – 2: Configuring Virtual Machine on Hyper-V 424
Lab – 3: Creating Fixed size Virtual Hard Disk 430
Lab – 4: Creating Dynamically expanding Virtual Hard Disk 435
Lab – 5: Creating Differencing Virtual Hard Disk 440
Lab – 6: Configuring Virtual Networks 446
Lab – 7: Configuring Hyper-V Replica 452
17 Routing 460
Lab – 1: Assigning the IP Address to Configure Routing 464
Lab – 2: Installing Routing Service on Router1 & Router2 469
Lab – 3: Enabling Routing on Router1 & Router2 476
Lab – 4: Configuring Static Routes 479
Lab – 5: Configuring Network Address Translation 482
Lab – 6: Configuring DHCP Relay Agent 486
18 Remote Access Services, Remote Desktop 488
Services and HTTPS Web Sites
Lab – 1: Configuring VPN Server 493
Lab – 2: Establishing VPN Connection 498
Lab – 3: Configure Remote Desktop Server in Remote Admin Mode 504
Lab – 4: Creating Self-Signed Certificate for HTTPS Website 507
Lab – 5: Creating a HTTPS Web Site 510
19 iSCSI and Storage 518
Lab – 1: Configuring iSCSI Target Server 528
Lab – 2: Configuring iSCSI Initiator 537
Lab – 3: Creating Storage Pool and Simple Volume (RAID – 0) 552
Lab – 4: Creating Mirror Volume (RAID – 1) 563
Lab – 5: Creating Parity Volume (RAID – 5)
20 Windows Server Backup 575
Lab – 1: Configuring Windows Server Backup &Recovery 577
7
Windows Server 2012 - Theory & Lab Manual
• Network
– A Network is an Interconnection of devices.
• Networking
– Networking is the communication between the interconnected
devices.
What is Network ?
HUB
Types of Networks
8
Windows Server 2012 - Theory & Lab Manual
LAN
Banjara Hills
MAN
MAN
WAN
WAN
9
Windows Server 2012 - Theory & Lab Manual
Network Devices
• NIC
The Network interface card is frequently called a NIC. It forms an
interface between the networked device (Computer) and the Ethernet
(LAN).
• MAC ADDRESS
A Media Access Control address (MAC address) is a unique
identifier assigned to network interfaces for communications on the
physical network segment.
Example - 01-23-45-67-89-ab
Network Devices
• Hub
– It is generally used to connect all devices on a network so that
they can communicate with each other. It always do broadcasting
• Switch
– Like Hub, it is also used to connect all devices on a network so
that they can communicate with each other. But first time it will do
flooding and from second time onwards it will do unicast.
• Router
– Router is device which allows communication between two or
more different networks present in different geographical
locations.
10
Windows Server 2012 - Theory & Lab Manual
Operating System
Client OS
Server OS
Blade Server
11
Windows Server 2012 - Theory & Lab Manual
Editions
Component Requirement
Maximum: 64 processors.
Intel VT or AMD – V.
Memory Minimum: 512 MB RAM
Maximum: 4 TB RAM
Server Core
12
Windows Server 2012 - Theory & Lab Manual
• In-built GPMC
• Centralized deployment of applications
• Disk Quotas
• Distributed File System
• Windows Server Backup
• DNS Dependency
• Internet Information services
• Improved Virtualization Features
— Live Migrations of Virtual Machines and Storage.
— Hyper – V Replica.
— Dynamic Memory.
13
Windows Server 2012 - Theory & Lab Manual
Pre-requisites:
14
Windows Server 2012 - Theory & Lab Manual
15
Windows Server 2012 - Theory & Lab Manual
16
Windows Server 2012 - Theory & Lab Manual
17
Windows Server 2012 - Theory & Lab Manual
9. Select the edition Windows Server 2012Standard (Server with a GUI), click Next.
10. Check the box I accept the license termsand click Next.
18
Windows Server 2012 - Theory & Lab Manual
19
Windows Server 2012 - Theory & Lab Manual
14. Enter the size for the partition, and click Apply.
20
Windows Server 2012 - Theory & Lab Manual
21
Windows Server 2012 - Theory & Lab Manual
22
Windows Server 2012 - Theory & Lab Manual
19. Enter Password and Re-enter Password for Administrator account, click Finish.
23
Windows Server 2012 - Theory & Lab Manual
24
Windows Server 2012 - Theory & Lab Manual
Pre-requisites:
25
Windows Server 2012 - Theory & Lab Manual
26
Windows Server 2012 - Theory & Lab Manual
27
Windows Server 2012 - Theory & Lab Manual
28
Windows Server 2012 - Theory & Lab Manual
29
Windows Server 2012 - Theory & Lab Manual
30
Windows Server 2012 - Theory & Lab Manual
13. Enter the size for the partition, and click Apply.
31
Windows Server 2012 - Theory & Lab Manual
32
Windows Server 2012 - Theory & Lab Manual
18. Enter the User Name and Computer Name, click Next.
33
Windows Server 2012 - Theory & Lab Manual
34
Windows Server 2012 - Theory & Lab Manual
35
Windows Server 2012 - Theory & Lab Manual
25. Finally Operating System is installed and the User has logged in.
36
Windows Server 2012 - Theory & Lab Manual
Local Users and Groups right click Users and then click New User.
37
Windows Server 2012 - Theory & Lab Manual
4. Enter User Name and set Password, Confirm Password and click Create.
Verification:
38
Windows Server 2012 - Theory & Lab Manual
39
Windows Server 2012 - Theory & Lab Manual
40
Windows Server 2012 - Theory & Lab Manual
41
Windows Server 2012 - Theory & Lab Manual
42
Windows Server 2012 - Theory & Lab Manual
IP Addressing
IP Address Classes
– CLASS A
– CLASS C
– CLASS D Multicasting
43
Windows Server 2012 - Theory & Lab Manual
Class Ranges
• CLASS A Range
– 0.0.0.0 - 127.255.255.255
• CLASS B Range
– 128.0.0.0 - 191.255.255.255
• CLASS C Range
– 192.0.0.0 - 223.255.255.255
• CLASS D Range
– 224.0.0.0 - 239.255.255.255
• CLASS E Range
– 240.0.0.0 - 255.255.255.255
Octet Format
• Private IP Address
– CLASS A 10.0.0.0 - 10.255.255.255
– CLASS B 172.16.0.0 - 172.31.255.255
– CLASS C 192.168.0.0 - 192.168.255.255
• Public IP Address
– Apart from the above specified IP addresses all other IP addresses
are Public IP’s
44
Windows Server 2012 - Theory & Lab Manual
Windows PowerShell
Copyright (C) 2012 Microsoft Corporation. All rights reserved.
Logical Topologies
IN A WORKGROUP MODEL
• All computers are peers; no computer has control over
another computer.
• Each computer has a set of user accounts. To use any
computer in the workgroup, you must have an account on
that computer
IN A DOMAIN MODEL
• One or more computers are servers. Network administrators
use servers to control the security and permissions for all
computers on the domain. This makes it easy to make
changes because the changes are automatically made to all
computers.
45
Windows Server 2012 - Theory & Lab Manual
SAM SAM
xxxxx xxx
SAM SAM
Directory Server
46
Windows Server 2012 - Theory & Lab Manual
Domain
47
Windows Server 2012 - Theory & Lab Manual
AD DS Logon Process
48
Windows Server 2012 - Theory & Lab Manual
Windows PowerShell
Copyright (C) 2012 Microsoft Corporation. All rights reserved.
Windows PowerShell
Copyright (C) 2012 Microsoft Corporation. All rights reserved.
C:\Users\Administrator>
49
Windows Server 2012 - Theory & Lab Manual
ACTIVE DIRECTORY
Pre-requisites:
1. A Computer with Windows Server 2012 Operating System and connected in the
network.
SYS1
MICROSOFT.COM
SYS1
Domain Controller
IP Address 10.0.0.1
50
Windows Server 2012 - Theory & Lab Manual
51
Windows Server 2012 - Theory & Lab Manual
52
Windows Server 2012 - Theory & Lab Manual
7. Select Use the following IP addressand enter the IP address and click Subnet
mask, it will be entered automatically and select Use the DNS Server addresses
and enter the Preferred DNS Server address
53
Windows Server 2012 - Theory & Lab Manual
54
Windows Server 2012 - Theory & Lab Manual
55
Windows Server 2012 - Theory & Lab Manual
7. In Select destination server, from Server Pool select SYS1, click Next.
56
Windows Server 2012 - Theory & Lab Manual
9. Click Add Features, to install the required features for Active Directory Domain
Services. Click Next.
57
Windows Server 2012 - Theory & Lab Manual
12. Check the box Restart the destination server automatically if required. Click
Install.
58
Windows Server 2012 - Theory & Lab Manual
14. In Deployment Configuration wizard, select Add a new forest, enter the Root
domain name (Ex: Microsoft.com) and click Next.
59
Windows Server 2012 - Theory & Lab Manual
15. In Domain Controller Options, change Forest and Domain functional level to
Windows Server 2003, and Domain Name System server. Type the Directory
Services Restore Mode Password and Confirm Password and click Next.
60
Windows Server 2012 - Theory & Lab Manual
17. Verify the NetBIOS domain name (Ex: MICROSOFT), click Next.
18. Verify the location of the AD DS database, log files, and SYSVOL, click Next.
61
Windows Server 2012 - Theory & Lab Manual
62
Windows Server 2012 - Theory & Lab Manual
Verification:
2. In Server manager, select Local Server and verify for domain Microsoft.com.
63
Windows Server 2012 - Theory & Lab Manual
4. Expand Applications and Services Logs, select Directory Service, verify for the
Event ids 1394 and 1000.
64
Windows Server 2012 - Theory & Lab Manual
65
Windows Server 2012 - Theory & Lab Manual
CLIENTS
• A computer joined in the domain with Client Operating
system.
• Client Operating systems like
– Windows 8, Windows 7, Windows XP professional . . .
MEMBER SERVERS
• A computer joined in the domain with Server Operating
system.
• Server Operating systems like
– Windows server 2012, Windows server 2008, Windows server
2003....
66
Windows Server 2012 - Theory & Lab Manual
Local User
• A user account created in local database of a computer.
• Local users are generally used in WORKGROUP model.
• Local users can login only on the respective computer.
Domain User
• A user account created in ACTIVE DIRECTORY database.
• Domain users are used in DOMAIN model.
• Domain users can logon to any computer in the DOMAIN.
DS Commands
Command Description
DSadd Creates AD DS objects
Dsget Displays properties of AD DS objects
Dsquery Searches for AD DS objects.
DSmod Modifies AD DS objects
DSrm Removes AD DS objects
Dsmove Moves AD DS objects
67
Windows Server 2012 - Theory & Lab Manual
DS Commands - Example
Cmdlet Description
New-ADUser Creates user accounts
Set-ADUser Modifies properties of user accounts
Remove-ADUser Deletes user accounts
Set- Resets the password of a user
ADAccountPassword account
Set- Modifies the expiration date of a user
ADAccountExpiration account
Unlock-ADAccount Unlocks a user account after it has
become locked after too many
incorrect login attempts
68
Windows Server 2012 - Theory & Lab Manual
Pre-requisites:
SYS1 SYS2
MICROSOFT.COM
SYS1 SYS2
69
Windows Server 2012 - Theory & Lab Manual
2. Right click Computer Icon and click Properties and click Change settings.
70
Windows Server 2012 - Theory & Lab Manual
4. Select the Member of Domain and enter the Domain Name (Ex:Microsoft.com).
6. Welcome Message appears indicating that the computer was successful in joining
the Domain, clickOKand OK, It will ask for restart, click Restart Now.
Verification:
2. Click Computer Name, domain, and workgroup settings and verify for the Domain
NameMICROSOFT.COM.
71
Windows Server 2012 - Theory & Lab Manual
72
Windows Server 2012 - Theory & Lab Manual
73
Windows Server 2012 - Theory & Lab Manual
8. Welcome Message appears indicating that the computer was successful in joining
the Domain, click OK.
9. Click OK click OK, and click Close to close the System Properties dialog box. It
will ask for restart, click Yes.
Verification:
74
Windows Server 2012 - Theory & Lab Manual
2. Press Windows Key to go to Start, select Active Directory User and Computers.
3. In the console tree, expand your domain MICROSOFT.COM, and then right click
Users Container, select New User.
75
Windows Server 2012 - Theory & Lab Manual
4. Specify the First name and User Logon name and then click Next.
5. Enter the Password and Confirm Password for the User account, click Next.
6. Review the configuration settings for the User Account and then click Finish.
Verification:
76
Windows Server 2012 - Theory & Lab Manual
77
Windows Server 2012 - Theory & Lab Manual
78
Windows Server 2012 - Theory & Lab Manual
6. Change the length value from (7 to 0) and click Apply and OK.
79
Windows Server 2012 - Theory & Lab Manual
Verification:
80
Windows Server 2012 - Theory & Lab Manual
1. Go to Active Directory Users and Computers and Create a User with any
Password or without any Password.
81
Windows Server 2012 - Theory & Lab Manual
82
Windows Server 2012 - Theory & Lab Manual
83
Windows Server 2012 - Theory & Lab Manual
Verification:
1. Enter the password for user (User1) wrongly for 2 times while logging in and the
user account will be locked.
84
Windows Server 2012 - Theory & Lab Manual
Verification:
85
Windows Server 2012 - Theory & Lab Manual
86
Windows Server 2012 - Theory & Lab Manual
4. Select the following computers, Enter computer name (Ex: sys1), click Add and
OK.
87
Windows Server 2012 - Theory & Lab Manual
Verification:
88
Windows Server 2012 - Theory & Lab Manual
4. Click Add User or Group Click Browse Enter the Username Click OK.
89
Windows Server 2012 - Theory & Lab Manual
6. Go to Start, type Run Type Control Panel in Search Apps, and select Run, type
GPUPDATE and it refreshes the policy changes.
Verification:
1. Log on to Domain Controller as Domain User (User1).
90
Windows Server 2012 - Theory & Lab Manual
91
Windows Server 2012 - Theory & Lab Manual
Types of Permissions
92
Windows Server 2012 - Theory & Lab Manual
• When you copy files and folders within the same partition or
different partition they inherit the permissions of the
destination folder.
• When you move files and folders to a different partition, they
inherit the permissions of the destination folder
• When you move files and folders within the same partition,
they retain their previous permissions.
Cop
NTFS Partition y
C:\ Mov
NTFS Partition e
NTFS Partition Mov E:\
D:\ e
93
Windows Server 2012 - Theory & Lab Manual
PERMISSIONS
Pre-requisites:
SYS1 SYS2
MICROSOFT.COM
SYS1 SYS2
94
Windows Server 2012 - Theory & Lab Manual
2. Right click the folder (DATA) and select properties and click Security tab click
Advanced tab click Edit click Disable inheritance.
4. Click Edit
95
Windows Server 2012 - Theory & Lab Manual
Verification:
1. Login as User(User1) on the same computer, and Open Computer icon, and verify
the respective permissions by accessing the folder.
96
Windows Server 2012 - Theory & Lab Manual
3. Select the drop down arrow mark andselect Findenter the User name
(User1)click OKselect the User(User1)and assign Permissions (Ex:
Read/Write)click Shareclick Done.
97
Windows Server 2012 - Theory & Lab Manual
Verification:
Access the Shared folder
1. Logon to Member Server or Client as User (User1) Open Network.
3. Access the shared folder (SALES) & verify the permissions by creating some files.
2. Click Start click Run and type the Syntax \\Servername\Sharename. Example:
\\SYS1\SALES
98
Windows Server 2012 - Theory & Lab Manual
2. Access the shared folder Sales, Right click on sales folder, select Map network
drive.
Verification:
1. Open Computer Icon and verify for Mapped network Drive
99
Windows Server 2012 - Theory & Lab Manual
100
Windows Server 2012 - Theory & Lab Manual
4. Select user1 and set the permission Deny Read, click OK.
101
Windows Server 2012 - Theory & Lab Manual
Verification:
1. Logon to Member Server or Client as User (User1).
2. Open Network Icon, Select SYS1, access the shared folder Project and verify for
the files present.
102
Windows Server 2012 - Theory & Lab Manual
Profiles
Types of Profiles
• Local Profile
• Roaming Profile
103
Windows Server 2012 - Theory & Lab Manual
Local Profile
Roaming Profile
Home Folder
104
Windows Server 2012 - Theory & Lab Manual
What Is FSRM?
FSRM Functionality
105
Windows Server 2012 - Theory & Lab Manual
Quota Management
106
Windows Server 2012 - Theory & Lab Manual
Storage Reports
– List and filter files according to owner, file group, or a specific file
property
107
Windows Server 2012 - Theory & Lab Manual
Pre-requisites:
SYS1 SYS2
MICROSOFT.COM
SYS1 SYS2
108
Windows Server 2012 - Theory & Lab Manual
2. Go to Active Directory Users and Computers and create Users (Ex: user1, user2).
Verification:
109
Windows Server 2012 - Theory & Lab Manual
4. In Control Panel search bar, type user profile, select Configure advanced user
profile properties.
6. Create some files on desktop and go to C: drive Open Users Open the user
profile(user1) folder open desktop folder verify for the files created on
Desktop.
110
Windows Server 2012 - Theory & Lab Manual
Example: \\SYS1\roam\user1.
Verification:
1. login as useruser1 on Client or Member Server and create some files on the
Desktop.
111
Windows Server 2012 - Theory & Lab Manual
2. In Control Panel search bar, type user profile, select Configure advanced user
profile properties.
4. Logoff this user (user1) and login on another computer with the same user
(user1), we can see the files which we have created on first computer.
112
Windows Server 2012 - Theory & Lab Manual
2. Go to Active Directory Users and Computers select Users and right click User
user1 and click Properties.
3. Select the Profile tab Under the Home folder, select Connect and Select a drive
letter Z: and in To: enter\\Server Name\Share Name\User Name.
Example: \\SYS1\home\user1.
Verification:
1. Login as user (user1) on Client or Member Server.
113
Windows Server 2012 - Theory & Lab Manual
114
Windows Server 2012 - Theory & Lab Manual
115
Windows Server 2012 - Theory & Lab Manual
4. In Select destination server, from Server Pool select SYS1, click Next.
116
Windows Server 2012 - Theory & Lab Manual
5. In Roles, expand File and Storage Services, expand File and iSCSI Services, check
the box File Server Resource Manager, click Next.
6. Click Add Features, to install the required features for Active Directory Domain
Services. Click Next.
117
Windows Server 2012 - Theory & Lab Manual
8. Check the box Restart the destination server automatically if required. Click
Install.
118
Windows Server 2012 - Theory & Lab Manual
2. Expand Quota Management, right click Quotas, and select Create Quota.
119
Windows Server 2012 - Theory & Lab Manual
4. Select Auto apply template and create quotas on existing and new subfolders.
Select the limit and click Create.
120
Windows Server 2012 - Theory & Lab Manual
Verification
3. Login as other users and verify the size of the Home Folder.
121
Windows Server 2012 - Theory & Lab Manual
1. Go to Start, File Server Resource Manager, Right click on File Server Resource
Manager and select Configure Options.
2. Check the box Record file screening activity in auditing database, click OK.
122
Windows Server 2012 - Theory & Lab Manual
3. Expand File Screening Management, right click File Screens and select Create File
Screen.
4. Click Browse to select the File screen path, select option Block Image Files, and
click Create.
123
Windows Server 2012 - Theory & Lab Manual
5. Right click on the created file screen, select Edit File Screen Properties.
124
Windows Server 2012 - Theory & Lab Manual
Verification
2. Open Computer, Network drive Z: (Home Folder) and try to create a New Bitmap
Image file.
125
Windows Server 2012 - Theory & Lab Manual
126
Windows Server 2012 - Theory & Lab Manual
3. Select Scope, click ADDand select the home folder (Ex: D:\Home).
4. Select Wait for reports to be generated and then display them, click OK.
127
Windows Server 2012 - Theory & Lab Manual
6. Select the File Screening Audit Report and Open the report.
7. Verify the Report for Blocked image file creation by the users.
128
Windows Server 2012 - Theory & Lab Manual
Organizational Unit
129
Windows Server 2012 - Theory & Lab Manual
Domain
OU1 Admin1
OU2 Admin2
OU3 Admin3
Groups
• Distribution Group
130
Windows Server 2012 - Theory & Lab Manual
DFS
DFS - R
131
Windows Server 2012 - Theory & Lab Manual
Pre-requisites:
SYS1 SYS2
MICROSOFT.COM
SYS1 SYS2
132
Windows Server 2012 - Theory & Lab Manual
1. Press Windows Key to go to Start, select Active Directory User and Computers.
133
Windows Server 2012 - Theory & Lab Manual
134
Windows Server 2012 - Theory & Lab Manual
2. Click Next.
135
Windows Server 2012 - Theory & Lab Manual
4. Check the Box Create, delete and manage user accounts and Next.
5. Click Finish.
Verification:
136
Windows Server 2012 - Theory & Lab Manual
137
Windows Server 2012 - Theory & Lab Manual
Mention the Group name and Select the Group Scope as Domain Local and Group type
as Security.
5. To add any users to this group, Right click on User account and Select Add to a
group
138
Windows Server 2012 - Theory & Lab Manual
For Verification:
1. Go to Active Directory Users and Computers Right click on Group Select
Properties Select Members Tab Verify for the User.
139
Windows Server 2012 - Theory & Lab Manual
140
Windows Server 2012 - Theory & Lab Manual
141
Windows Server 2012 - Theory & Lab Manual
3. Installation.
142
Windows Server 2012 - Theory & Lab Manual
5. Expand File and Storage Services, Expand File and iSCSI Services, check box DFS
Namespaces.
6. Click Add Features, to install the required features for DFS Namespaces, Click
Next.
143
Windows Server 2012 - Theory & Lab Manual
8. Check the box Restart the destination server automatically if required. Click
Install.
9. Click Close.
144
Windows Server 2012 - Theory & Lab Manual
145
Windows Server 2012 - Theory & Lab Manual
3. Enter the Server Name in which DFS Installed and Select Next.
146
Windows Server 2012 - Theory & Lab Manual
5. Select the Permissions Administrators have full access, other users have read
and write permissions, and click Next.
147
Windows Server 2012 - Theory & Lab Manual
7. Click Create
8. Select Close
148
Windows Server 2012 - Theory & Lab Manual
149
Windows Server 2012 - Theory & Lab Manual
8. Similarly add another DFS Folder (Ex: Sales2) and folder target \\SYS2\Sales2.
150
Windows Server 2012 - Theory & Lab Manual
VERIFICATION:
1. In SYS2 (Member Server),Go to Start, type Run in Search Apps, and select Run,
type\\Domain name\Namespace Name (Ex: \\Microsoft.com\Sales)
151
Windows Server 2012 - Theory & Lab Manual
Tree
152
Windows Server 2012 - Theory & Lab Manual
Tree
(Parent Domain)
(Child Domain)
Forest
Forest
FOREST
(Child Domain)
153
Windows Server 2012 - Theory & Lab Manual
Pre-requisites:
SYS1 SYS2
MICROSOFT.COM
SYS1 SYS2
154
Windows Server 2012 - Theory & Lab Manual
155
Windows Server 2012 - Theory & Lab Manual
5. In Before you begin page, click Next, In Select installation type, select Role-based
or feature-based installation, click Next.
156
Windows Server 2012 - Theory & Lab Manual
8. Click Add Features, to install the required features for Active Directory Domain
Services. Click Next.
157
Windows Server 2012 - Theory & Lab Manual
158
Windows Server 2012 - Theory & Lab Manual
11. Check the box Restart the destination server automatically if required. Click
Install.
159
Windows Server 2012 - Theory & Lab Manual
160
Windows Server 2012 - Theory & Lab Manual
16. In Domain Controller Options, review the default settings, and type the Directory
Services Restore Mode Password and Confirm password and click Next.
161
Windows Server 2012 - Theory & Lab Manual
18. In Additional Options Page, select Replicate from Sys1.Microsoft.com, click Next.
19. Verify the location of the AD DS database, log files, and SYSVOL, click Next.
162
Windows Server 2012 - Theory & Lab Manual
163
Windows Server 2012 - Theory & Lab Manual
22. The computer restarts as a part of Active Directory Domain Services installation.
164
Windows Server 2012 - Theory & Lab Manual
Pre-requisites:
SYS1
MICROSOFT.COM
SYS3
MCITP.MICROSOFT.COM
SYS1 SYS3
165
Windows Server 2012 - Theory & Lab Manual
166
Windows Server 2012 - Theory & Lab Manual
5. In Before you begin page, click Next, In Select installation type, select Role-based
or feature-based installation, and click Next.
6. In Select destination server, from Server Pool select SYS2, click Next.
167
Windows Server 2012 - Theory & Lab Manual
8. Click Add Features, to install the required features for Active Directory Domain
Services. Click Next.
168
Windows Server 2012 - Theory & Lab Manual
169
Windows Server 2012 - Theory & Lab Manual
11. Check the box Restart the destination server automatically if required. Click
Install.
170
Windows Server 2012 - Theory & Lab Manual
171
Windows Server 2012 - Theory & Lab Manual
16. In Domain Controller Options, review the default settings, and type the Directory
Services Restore Mode Password and Confirm password and click Next.
172
Windows Server 2012 - Theory & Lab Manual
18. In Additional Options Page, Review the NetBIOS domain name (MCITP) click
Next.
19. Verify the location of the AD DS database, log files, and SYSVOL, click Next.
173
Windows Server 2012 - Theory & Lab Manual
174
Windows Server 2012 - Theory & Lab Manual
2. Go to Active Directory Domains and Trusts verify for parent and child domain.
Example: MICROSOFT.COM and MCITP.MICROSOFT.COM.
Pre-requisites:
SYS1
SYS4
MICROSOFT.COM
MCTS.COM
SYS1 SYS4
175
Windows Server 2012 - Theory & Lab Manual
176
Windows Server 2012 - Theory & Lab Manual
5. In before you begin page, click Next, In Select installation type, select Role-based
or feature-based installation, and click Next.
6. In Select destination server, from Server Pool select SYS4, click Next.
177
Windows Server 2012 - Theory & Lab Manual
8. Click Add Features, to install the required features for Active Directory Domain
Services. Click Next.
178
Windows Server 2012 - Theory & Lab Manual
179
Windows Server 2012 - Theory & Lab Manual
11. Check the box Restart the destination server automatically if required. Click
Install.
180
Windows Server 2012 - Theory & Lab Manual
181
Windows Server 2012 - Theory & Lab Manual
16. In Domain Controller Options, review the default settings, and type the Directory
Services Restore Mode Password and Confirm password and click Next.
182
Windows Server 2012 - Theory & Lab Manual
18. In Additional Options Page, Review the NetBIOS domain name (MCTS) click Next.
19. Verify the location of the AD DS database, log files, and SYSVOL, click Next.
183
Windows Server 2012 - Theory & Lab Manual
184
Windows Server 2012 - Theory & Lab Manual
OPERATION MASTERS
• Naming Master
• Schema Master
Flexible Single Master Operation
• RID Master Roles
(FSMO Roles)
• PDC Emulator
• Infrastructure Master
Naming Master
Naming
Master
New Domain
185
Windows Server 2012 - Theory & Lab Manual
Schema Master
– Attributes
• Attributes are Properties of an Object
Schema Master
Schema
Properties
Classes Attributes
•User Name
•Phone No
Objects •Address
•Profile path
•Logon Hours
U1 U2 U3
Schema Master
186
Windows Server 2012 - Theory & Lab Manual
OPERATION MASTERS
• Naming Master
Forest Wide
• Schema Master Roles
RID Master
RID
Master
Pool of
RIDs RID
allocation
PDC Emulator
187
Windows Server 2012 - Theory & Lab Manual
Infrastructure Master
OPERATION MASTERS
• Naming Master
Forest Wide
• Schema Master Roles
• RID Master
Domain Wide
• PDC Emulator
Roles
• Infrastructure Master
188
Windows Server 2012 - Theory & Lab Manual
Pre-requisites:
SYS1 SYS2
MICROSOFT.COM
SYS1 SYS2
189
Windows Server 2012 - Theory & Lab Manual
190
Windows Server 2012 - Theory & Lab Manual
191
Windows Server 2012 - Theory & Lab Manual
7. Type Connect to server SYS2 (ADC System name) and Press Enter.
8. Type: Quit
192
Windows Server 2012 - Theory & Lab Manual
193
Windows Server 2012 - Theory & Lab Manual
194
Windows Server 2012 - Theory & Lab Manual
195
Windows Server 2012 - Theory & Lab Manual
Verification:
1. Type Net accounts and Press Enter
196
Windows Server 2012 - Theory & Lab Manual
197
Windows Server 2012 - Theory & Lab Manual
8. Type Connect to server SYS1 (ADC System name) and Press Enter.
198
Windows Server 2012 - Theory & Lab Manual
9. Type: Quit
199
Windows Server 2012 - Theory & Lab Manual
200
Windows Server 2012 - Theory & Lab Manual
201
Windows Server 2012 - Theory & Lab Manual
202
Windows Server 2012 - Theory & Lab Manual
203
Windows Server 2012 - Theory & Lab Manual
Verification:
1. Type Net accounts and Press Enter
204
Windows Server 2012 - Theory & Lab Manual
Group Policy
Group Policy
Computer Icon
Desktop Settings Recycle Bin Icon
Internet Explorer
Allow or Deny
205
Windows Server 2012 - Theory & Lab Manual
Group Policy
206
Windows Server 2012 - Theory & Lab Manual
Domain
OU
Domain
GPO
Site Site
OU OU GPO
Organization
al Unit GPO
Organization
al Unit GPO
GPO 1
T Site
O
P
GPO 2
TO GPO 3
Domain
B
O
T GPO 4
T OU
O
M
OU OU
207
Windows Server 2012 - Theory & Lab Manual
Hide Computer
Icon
MS.com
INDIA
Site Group Policy
DC ADC
Hide Internet Explorer Icon
Clients
MS.COM
Domain Group Policy
OU Group Policy
Sys1 Sys2
OU Group Policy
208
Windows Server 2012 - Theory & Lab Manual
Domain
PRODUCTION
GPOs
IT-STAFF
No GPO
settings
apply
Software Deployment
Folder Redirection
209
Windows Server 2012 - Theory & Lab Manual
Auditing
– Logon
210
Windows Server 2012 - Theory & Lab Manual
GROUP POLICIES
Pre-requisites:
SYS1 SYS2
MICROSOFT.COM
SYS1 SYS2
211
Windows Server 2012 - Theory & Lab Manual
2. Right click OU (Sales) Create a GPO in this domain and Link it here.
212
Windows Server 2012 - Theory & Lab Manual
3. Enter any name to GPO Link (Ex: Remove Computer Icon) and click OK.
213
Windows Server 2012 - Theory & Lab Manual
6. Select a policy (Remove Computer icon on the Desktop) on right side of the
screen, Right Click and select Properties.
214
Windows Server 2012 - Theory & Lab Manual
Verification:
1. Logon to client system as sales OU user (s1) and verify the changes because of
the policy.
215
Windows Server 2012 - Theory & Lab Manual
2. Right click Domain name (MICROSOFT.COM) and select Create a GPO in this
domain and Link it here.
216
Windows Server 2012 - Theory & Lab Manual
3. Enter New GPO Link name Ex: Remove Network Icon and click OK.
4. Select the Created GPO Right Click Created GPO Select Edit.
6. Select a policy (Prohibit Access to Control Panel and PC Settings) right side of the
screen, Right Click and select Properties.
217
Windows Server 2012 - Theory & Lab Manual
Verification:
1. Login as User (S1) to Client or Member Server and try to access Control Panel.
218
Windows Server 2012 - Theory & Lab Manual
219
Windows Server 2012 - Theory & Lab Manual
2. Enter New GPO Link name Ex: Remove Recycle Bin and click OK.
3. Select the Created GPO Right Click Created GPO Select Edit.
220
Windows Server 2012 - Theory & Lab Manual
5. Right click Remove Recycle Bin icon from desktop Properties, select Enabled
OK Close.
221
Windows Server 2012 - Theory & Lab Manual
222
Windows Server 2012 - Theory & Lab Manual
Verification:
1. Login as a user to Client or Member Server, and Verify for the changes.
223
Windows Server 2012 - Theory & Lab Manual
2. Click Next.
224
Windows Server 2012 - Theory & Lab Manual
4. Select User and click Browse enter the Username (S1)click OK and Next.
225
Windows Server 2012 - Theory & Lab Manual
5. Select the site (Default-First-site-Name) and check skip to final page, click Next.
Verification:
1. Click Details on the summary page and verify the policies applied on the User.
226
Windows Server 2012 - Theory & Lab Manual
3. Right click OU (Sales1) Create a GPO in this domain and Link it here Enter
the name (Software Deployment) click OK, Right click the policy and click Edit.
227
Windows Server 2012 - Theory & Lab Manual
5. From the left pane, select Network, OpenSYS1 (Server containing shared folder).
228
Windows Server 2012 - Theory & Lab Manual
229
Windows Server 2012 - Theory & Lab Manual
Verification:
1. Go to Member Server and login as user1.
3. Click Install a Program from the Network, Select the Application and Install
230
Windows Server 2012 - Theory & Lab Manual
231
Windows Server 2012 - Theory & Lab Manual
232
Windows Server 2012 - Theory & Lab Manual
7. Click Add.
8. Enter the UNC path for the Script in the shared folder
\\SYS1\Userscripts\logon.vbe and click OK Apply and OK.
Verification:
1. Go to Member Server and login as USER1 and verify for the Message.
233
Windows Server 2012 - Theory & Lab Manual
234
Windows Server 2012 - Theory & Lab Manual
235
Windows Server 2012 - Theory & Lab Manual
236
Windows Server 2012 - Theory & Lab Manual
7. Select Basic Redirection, select Create a folder for each user under the root
path, click Browse select the shared folder from Network, \\SYS1\Folder
Redirection, click Apply and OK.
Verification:
2. Create a folder on desktop, Right Click on the folder properties and check the
path, it should show Network path (\\SYS1\FolderRedirection\S1\Desktop).
237
Windows Server 2012 - Theory & Lab Manual
238
Windows Server 2012 - Theory & Lab Manual
3. Enter name (Ex: Auditing User Account Management) and click OK.
239
Windows Server 2012 - Theory & Lab Manual
6. Check the box, Configure the following audit events and Select Success and
Failure.
Verification:
240
Windows Server 2012 - Theory & Lab Manual
3. Expand Windows Logs Security and select the Event Audit Success Properties.
241
Windows Server 2012 - Theory & Lab Manual
242
Windows Server 2012 - Theory & Lab Manual
3. Enter name (Ex: Preferences Map Network Drive) and click OK.
243
Windows Server 2012 - Theory & Lab Manual
7. Select Common tab and check box Item-level targeting, click Targeting…
244
Windows Server 2012 - Theory & Lab Manual
Verification:
245
Windows Server 2012 - Theory & Lab Manual
Trust Relationships
Trust Relationships
Trust
Transitive trusts
categorie
Nontransitive trusts
s
One-way incoming trust
Trust
One-way outgoing trust
directions
Two-way trust
246
Windows Server 2012 - Theory & Lab Manual
Types of Trusts
Transitive Trust
In this category,
DOMAIN
B
Transitive Transitive
Trust Trust
Non-Transitive Trust
In this category,
DOMAIN
Non-
B Transitive
Transitive
Trust
Trust
DOMAIN No DOMAIN
A Automati C
c Trust
247
Windows Server 2012 - Theory & Lab Manual
Default
Shortcut
Shortcut
Shortcut Trust
Trust
External
External
Trust
248
Windows Server 2012 - Theory & Lab Manual
FOREST
Forest Trust
Realm
Realm
Trust
249
Windows Server 2012 - Theory & Lab Manual
Functional Levels
250
Windows Server 2012 - Theory & Lab Manual
251
Windows Server 2012 - Theory & Lab Manual
252
Windows Server 2012 - Theory & Lab Manual
TRUST RELATIONSHIP
Pre-requisites:
SYS1 SYS2
MICROSOFT.COM IBM.COM
SYS1 SYS2
253
Windows Server 2012 - Theory & Lab Manual
254
Windows Server 2012 - Theory & Lab Manual
255
Windows Server 2012 - Theory & Lab Manual
6. In Trust Name, enter name of other Forest IBM.COM and click Next.
256
Windows Server 2012 - Theory & Lab Manual
257
Windows Server 2012 - Theory & Lab Manual
9. Select Both this domain and the specified domain and click Next.
10. Enter Administrator and Password of Specified domain:IBM.COM and click Next
258
Windows Server 2012 - Theory & Lab Manual
11. Select Forest-wide authentication for Local Forest and click Next.
12. Select Forest-wide authentication for Specified Forest and click Next.
259
Windows Server 2012 - Theory & Lab Manual
260
Windows Server 2012 - Theory & Lab Manual
15. Select Yes, confirm the outgoing trust and click Next.
16. Select Yes, confirm the incoming trust and click Next.
261
Windows Server 2012 - Theory & Lab Manual
262
Windows Server 2012 - Theory & Lab Manual
Verification:
1. Try to Logon on to MICROSOFT.COM domain computers or IBM.COM domain
computers as other Domain Users.
263
Windows Server 2012 - Theory & Lab Manual
264
Windows Server 2012 - Theory & Lab Manual
265
Windows Server 2012 - Theory & Lab Manual
9. Right click User (User1) and select Delete, click Yes to confirm the deletion.
266
Windows Server 2012 - Theory & Lab Manual
11. Select the User account (User1) to be restored, right click and select Restore.
Verification
1. Go to Start, Select Active Directory Users and Computers, and verify for the
restored user account.
267
Windows Server 2012 - Theory & Lab Manual
Directory Partitions
Global Catalog
268
Windows Server 2012 - Theory & Lab Manual
• Physical Structure
• Domain Controllers
• Sites
Sites
Sites
Comp
Sys Sys 1
1 2
Comp
2
Sys
3 Site Link
India USA
269
Windows Server 2012 - Theory & Lab Manual
Functionality of RODCs
• Read-only AD DS database
• Uni-directional replication
• Credential caching
4 2
Head Office 5
RODCBranch Office
6
1
6
6
5
4
3
2
1
RODC:
RODC
Forwards
Windows
Returns
User logsLooks
gives in DB:
and to "I
authentication
Server
Request
on the reply
2008 don't
Windows
to
DC have
response
User the users
authenticates
authenticates and
Server
back
RODC2008
to
secrets"
DC
request
the
will cache
RODCcredentials
270
Windows Server 2012 - Theory & Lab Manual
Read-only AD DS Database
Uni-directional Replication
Credential Caching
271
Windows Server 2012 - Theory & Lab Manual
272
Windows Server 2012 - Theory & Lab Manual
SYS1 SYS2
MICROSOFT.COM
SYS1 SYS2
273
Windows Server 2012 - Theory & Lab Manual
3. Right click NTDS Setting and Properties, If the checkbox Global Catalog is
checked, then it is a GlobalCatalogServer.
274
Windows Server 2012 - Theory & Lab Manual
275
Windows Server 2012 - Theory & Lab Manual
276
Windows Server 2012 - Theory & Lab Manual
3. Enter the site name (INDIA) and select DEFAULTIPSITELINK and click OK.
277
Windows Server 2012 - Theory & Lab Manual
278
Windows Server 2012 - Theory & Lab Manual
3. Enter the name (INDIA-USA Link), select INDIA and USA sites and click Addclick
OK.
279
Windows Server 2012 - Theory & Lab Manual
280
Windows Server 2012 - Theory & Lab Manual
2. Verify Domain and Forest Functional Levels to Windows Server 2008 or later.
281
Windows Server 2012 - Theory & Lab Manual
282
Windows Server 2012 - Theory & Lab Manual
9. Select the Site (USA) for the Read-only Domain Controllers and click Next.
283
Windows Server 2012 - Theory & Lab Manual
10. Verify the DNS, Global Catalog and Read-only Domain Controller (RODC)
checkboxes and click Next.
284
Windows Server 2012 - Theory & Lab Manual
12. Enter the User name (User1) and click OK and click Next.
285
Windows Server 2012 - Theory & Lab Manual
286
Windows Server 2012 - Theory & Lab Manual
16. To cache the user account password on RODC, Select the Users (User1, User2,
User3, User4, User5) Right click and select Add to a Group.
17. Enter the Group Name Allowed RODC Password Replication Group and click OK.
287
Windows Server 2012 - Theory & Lab Manual
4. Type Ntdsutil
288
Windows Server 2012 - Theory & Lab Manual
6. Type ifm.
7. Type createsysvolRODCC:\ifm
8. Verify for the snapshot generated successfully then type quit, and again quit.
289
Windows Server 2012 - Theory & Lab Manual
11. Access the shared folder (Ex: ifm) on Domain Controller and copy it to local hard
disk drive (Ex: C drive).
12. Click Server Manager
290
Windows Server 2012 - Theory & Lab Manual
14. In Before you begin page, click Next, In Select installation type, select Role-based
or feature-based installation, click Next.
291
Windows Server 2012 - Theory & Lab Manual
17. Click Add Features, to install the required features for Active Directory Domain
Services. Click Next.
292
Windows Server 2012 - Theory & Lab Manual
293
Windows Server 2012 - Theory & Lab Manual
20. Check the box Restart the destination server automatically if required. Click
Install.
294
Windows Server 2012 - Theory & Lab Manual
23. Click Change, enter User Name: [email protected] and Password, click
OKNext.
24. In Domain Controller Options, review the default settings, and type the Directory
Services Restore Mode Password and Confirm password and click Next.
295
Windows Server 2012 - Theory & Lab Manual
25. In Additional Options Page, check box Install from media, browse and select the
folder C:\ifmselect Replicate from Sys1.Microsoft.com, click Next.
26. Verify the location of the AD DS database, log files, and SYSVOL, click Next.
296
Windows Server 2012 - Theory & Lab Manual
297
Windows Server 2012 - Theory & Lab Manual
29. The computer restarts as a part of Active Directory Domain Services installation.
298
Windows Server 2012 - Theory & Lab Manual
Types of IP addresses
IP addresses can be
• Static IP address
– Addresses that are manually assigned and do not change over time
• Dynamic IP address
– Addresses that are automatically assigned for a specific period of time and
might change
What is DHCP?
299
Windows Server 2012 - Theory & Lab Manual
DHCP
AUTHORIZATION
SCOPE
DHCP
Server2
DHCP DHCP
Server1 Client
DHCP
Server2
DHCP Client
DHCP
Server1
50%
50% of
100%
87.5%ofoflease
of lease
lease
lease
duration
duration has
has
expired
expired
If 1
the DHCP
client client
fails tosends
Client renew
sends its
it’s lease,
lease,after
aa DHCPREQUEST
DHCPREQUEST after50%
87.5%
of of
packet
packet thethe
lease
lease
duration
has expired,
has then
expired,
the DHCP
then theleaseDHCP
generation
lease renewal
processprocess
starts
will begin
over
2 again
expired
DHCPagain
DHCPDISCOVER
with aafter
Server1 DHCP87.5%
client
sends ofbroadcasting
the lease
a DHCPACK duration
packeta has
300
Windows Server 2012 - Theory & Lab Manual
10.0.0.0 N/W
• DHCP Scope options are other server addresses given to clients along
with IP Configuration.
DHCP Client
DHCP Client IP Configuration Data
Client’s IP address
Client’s subnet mask
DHCP Scope options
DHCP Server
DHCP Failover
• With DHCP failover, two DHCP servers share DHCP scope and lease
information, enabling one server to provide DHCP leases to DHCP
clients if the other server is unavailable
• Load balance mode: This mode allocates DHCP client leases across
two servers.
301
Windows Server 2012 - Theory & Lab Manual
Prerequisites:
SYS1 SYS2
MICROSOFT.COM
SYS1 SYS2
302
Windows Server 2012 - Theory & Lab Manual
303
Windows Server 2012 - Theory & Lab Manual
304
Windows Server 2012 - Theory & Lab Manual
5. Select a server (sys1.Microsoft.com) from the server pool and click Next.
6. In select server roles, check the box DHCP Server and click Next.
305
Windows Server 2012 - Theory & Lab Manual
8. Click Next.
306
Windows Server 2012 - Theory & Lab Manual
9. Check Restart the destination server automatically if required and click Install.
307
Windows Server 2012 - Theory & Lab Manual
308
Windows Server 2012 - Theory & Lab Manual
2. Expand the System name right click IPv4 select New Scope
309
Windows Server 2012 - Theory & Lab Manual
4. Enter Name and a Description for the scope and click Next.
Note: Mention the scope range in the same network of DHCP server.
6. To exclude IP addresses, enter the Start and end IP address, click Add. Click Next.
310
Windows Server 2012 - Theory & Lab Manual
7. In the Lease Duration screen, you can Increase or Decrease the value, click Next.
8. In the Configure DHCP Options screen, choose Yes, to configure DHCP options for
this scope (such as routers, DNS, and WINS settings) now. Click Next.
9. In the Router (Default Gateway) screen, enter the IP address of the router that
will function as the default gateway for this scope clients and click Add. Or, if you
don’t have a Router in your network, just click Next.
311
Windows Server 2012 - Theory & Lab Manual
10. In the Domain Name and DNS Servers screen enter the name of the Parent
Domain & IP address of the DNS server, click Add click Next.
312
Windows Server 2012 - Theory & Lab Manual
11. In the WINS Servers screen enter the IP address of the WINS server, click Add
click Next, if you don’t have a WINS server on your network, just click Next.
12. In the Activate Scope screen, select YES and click Next.
Note: A DHCP server can’t assign IP addresses until the scope is activated.
313
Windows Server 2012 - Theory & Lab Manual
SYS2 - CONFIGURATION
Verification: In DHCP Client
1. Right click network Icon Select properties click View Status and select
properties Select Internet protocol Version 4 (TCP/IPv4) Properties and select
Obtain an IP Address automatically and Obtain an DNS Server Address
Automatically OK
314
Windows Server 2012 - Theory & Lab Manual
4. After that Right click on network Icon Select properties click View Status and
click Details.
315
Windows Server 2012 - Theory & Lab Manual
5. Verify the IP Address leased by the DHCP Server along with the lease duration
and DHCP Server and DNS Server details.
316
Windows Server 2012 - Theory & Lab Manual
2. In the left pane of the DHCP Console, expand the Scope Right click Reservation
Select New Reservation
317
Windows Server 2012 - Theory & Lab Manual
3. Type in a name for the reservation in the “Reservation name” text box. Then, in
the “IP address” text box, mention the IP address that you want to be reserved.
Then, enter the MAC address of the network adapter of the computer for which
the reservation is being made in the box provided click add click Close.
Note: To Know the MAC or Physical address of the client type Ipconfig /all or
getmac in command prompt of client computer.
318
Windows Server 2012 - Theory & Lab Manual
319
Windows Server 2012 - Theory & Lab Manual
6. Click Yes.
320
Windows Server 2012 - Theory & Lab Manual
321
Windows Server 2012 - Theory & Lab Manual
5. In Add Server, Browse and Select the server (sys2.microsoft.com), click OK.
322
Windows Server 2012 - Theory & Lab Manual
6. Select the Mode, Enable Message Authentication and enter Shared Secret, Next.
323
Windows Server 2012 - Theory & Lab Manual
SYS2 - CONFIGURATION
1. Go to Server Manager Dashboard, select notification flag, Complete DHCP
Configuration.
324
Windows Server 2012 - Theory & Lab Manual
325
Windows Server 2012 - Theory & Lab Manual
Verification:
1. Go to DHCP console and verify the scope replicated from sys1
326
Windows Server 2012 - Theory & Lab Manual
What is DNS
Name Resolution
Service
Sys1
1
Where is 2
the Sys1? 10.0.0.1
Sys1
327
Windows Server 2012 - Theory & Lab Manual
DNS
– Microsoft® Windows® NT 4
– UNIX
– Linux
– NetWare Etc.
DNS Namespace
.
.org .com .edu .au
corp.microsoft.com.
Am IRoot
Is name Hints:
authoritative?
Query: in cache?
server1.microsoft.com.
b.root-servers.net [128.9.0.107]
No Servers
10.1.1.1
10.1.1.1 To: Root
j.root-servers.net [198.41.0.10] Root Server
I don’t know.
k.root-servers.net [193.0.14.129] Is name
Am in cache?
I authoritative?
Ask:
l.root-servers.net [198.32.64.12] Delegation:
a.gtld-servers.net [192.5.6.30] No
m.root-servers.net [202.12.27.33]
Cache response .com. =
g-gtld-servers.net [192.42.93.30]
i.root-servers.net [192.36.148.17]
c.gtld-servers.net [192.26.92.30] [192.5.6.30]
a.gtld-servers.net
e.root-servers.net [192.203.230.10]
i.gtld-servers.netg-gtld-servers.net
[192.36.144.133][192.42.93.30]
d.root-servers.net [128.8.10.90]
b.gtld-servers.net
I don’t
a.root-servers.net know. Is
Am name
I in cache?
authoritative?
[203.181.106.5]
Ask:
c.gtld-servers.net
[198.41.0.4] [192.26.92.30]
d.gtld-servers.net [192.31.80.30] [192.36.144.133] TLD Server
h.root-servers.net [128.63.2.53]
dns2.cp.msft.net Delegation:
i.gtld-servers.net
[207.46.138.21]
l.gtld-servers.net No
[192.41.162.30]
b.gtld-servers.net
server1.microsoft.com=192.168.7.99
c.root-servers.net [192.33.4.12] [203.181.106.5]
dns1.cp.msft.net
server1.microsoft.com=192.168.7.99
g.root-servers.net
microsoft.com.
[207.46.138.20]
f.gtld-servers.net [192.35.51.30] =
d.gtld-servers.net [192.31.80.30]
[192.112.36.4]
dns1.tk.msft.net [207.46.232.37]
j.gtld-servers.net [210.132.100.101]
f.root-servers.net l.gtld-servers.net
[192.5.5.241] [192.41.162.30]
Query: server1.microsoft.com.
dns2.tk.msft.net [207.46.232.38]
dns2.cp.msft.net
k.gtld-servers.net [207.46.138.21]
[213.177.194.5] [192.35.51.30]
f.gtld-servers.net
dns3.uk.msft.net [213.199.144.151]
dns1.cp.msft.net
e.gtld-servers.net [192.12.94.30] [207.46.138.20]
j.gtld-servers.net
Am
Is name [210.132.100.101]
I authoritative?
in cache? Microsoft.com
Query: server1.microsoft.com.
dns4.uk.msft.net [213.199.144.152]
dns1.tk.msft.net
m.gtld-servers.net [207.46.232.37]
[202.153.114.101]
k.gtld-servers.net [213.177.194.5]
dns3.jp.msft.net [207.46.72.123]
dns2.tk.msft.net [207.46.232.38] DNS Servers
Yes
No
e.gtld-servers.net [192.12.94.30]
Cache response dns3.uk.msft.net
dns4.jp.msft.net [207.46.72.124]
m.gtld-servers.net
[213.199.144.151]
[202.153.114.101]
dns1.dc.msft.net [207.68.128.151]
dns4.uk.msft.net [213.199.144.152]
dns2.dc.msft.net [207.68.128.152]
dns3.jp.msft.net
Preferred DNS Server:
dns1.sj.msft.net
10.1.1.1 [207.46.72.123]
[207.46.97.11]
dns4.jp.msft.net [207.46.72.124]
dns1.dc.msft.net [207.68.128.151]
http/tcp session- 192.168.7.99
dns2.dc.msft.net [207.68.128.152]
dns1.sj.msft.net [207.46.97.11] 192.168.7.99
http://server1.microsoft.com
328
Windows Server 2012 - Theory & Lab Manual
• Example:
– Host name: Sys1 & Domain name: MS.com
Lookup Types
• Forward Lookup
– Requests Name-to-IP Address resolution
IP address = 192.168.1.50
DNS Server
• Reverse Lookup
– Requests IP Address-to-Name resolution
Name = sys1.MS.com
DNS Server
329
Windows Server 2012 - Theory & Lab Manual
ZONE
Types of Records
• SOA Record
– The first record in any zone file
• N S Record
– Identifies the DNS server for each zone
• Host Record
– Resolves a host name to an IP address
• Alias Record
– Resolves an alias name to a host name
Types of Records
• Pointer Record
– Resolves an IP address to a host name
• MX Record
– Used by the mail server
330
Windows Server 2012 - Theory & Lab Manual
Zone Types
• Standard Primary
– It is the Master Copy of all Zone Information. It is Read/Write copy
• Standard Secondary
– It is Backup to Primary zone. It is Read Only
• Stub Zone
– It contains only NS ,SOA & possibly Glue (A) Records which are used to
locate name servers
MS.com
DNS Server DNS Server
Sys10
Training.MS.com Support.MS.com
Support.MS.com
Sys30
Sys20
331
Windows Server 2012 - Theory & Lab Manual
.com
MS.com
Client
.com
MS.com
Client
ServerA
Client1
ServerA is at
Where’s
Client2 192.168.8.44
ServerA?
332
Windows Server 2012 - Theory & Lab Manual
Prerequisites:
SYS1 SYS2
MICROSOFT.COM
SYS1 SYS2
333
Windows Server 2012 - Theory & Lab Manual
334
Windows Server 2012 - Theory & Lab Manual
335
Windows Server 2012 - Theory & Lab Manual
5. Select a server (sys1.Microsoft.com) from the server pool and click Next.
336
Windows Server 2012 - Theory & Lab Manual
2. In the DNS dialog box, Expand the DNSServer name in the left pane, right click
the Forward Lookup Zones select New Zone
337
Windows Server 2012 - Theory & Lab Manual
4. Select “Primary Zone” and Remove the check box for "Store the zone in Active
Directory", click Next.
338
Windows Server 2012 - Theory & Lab Manual
5. In the Zone Name screen, type in the name of the zone you are creating. This
name is usually the FQDN of the DNS domain that the zone will contain, such as
YAHOO.COM click Next.
6. The Zone File screen appears. In this screen, you can either create a new zone file
for the new zone, or configure the new zone to use an existing file. Click Next.
339
Windows Server 2012 - Theory & Lab Manual
8. The Completing the New Zone Wizard screen appears. Click Finish.
9. In the DNS Console, the new zone you created appears in the right pane.
340
Windows Server 2012 - Theory & Lab Manual
3. Enter the Host name for which you are configuring the record Ex: SYS1, enter the
corresponding IP address of the host click Add Host OK Done.
341
Windows Server 2012 - Theory & Lab Manual
VERIFICATION:
1. Open Command Prompt type ping FQDN (Fully Qualified Domain Name)
Ex: Ping SYS1.YAHOO.COM (or) Ping WWW.YAHOO.COM
2. Name should be resolved into IP Address.
342
Windows Server 2012 - Theory & Lab Manual
3. Click Next
343
Windows Server 2012 - Theory & Lab Manual
4. Select “Primary Zone” and Remove the check box for "Store the zone in Active
Directory", click Next.
344
Windows Server 2012 - Theory & Lab Manual
7. Click Next
345
Windows Server 2012 - Theory & Lab Manual
346
Windows Server 2012 - Theory & Lab Manual
3. In the pointer record give the fourth octet click browse double click server
name (SYS1) double click Forward Lookup Zone double click the zone
name(Yahoo.com) double click the host name (SYS1) OK
Verification:
1. Open the command prompt and type nslookup 10.0.0.1
347
Windows Server 2012 - Theory & Lab Manual
348
Windows Server 2012 - Theory & Lab Manual
349
Windows Server 2012 - Theory & Lab Manual
350
Windows Server 2012 - Theory & Lab Manual
3. Select Zone Transfers Tab check the box for Allow zone transfers select
Only to the following servers.
4. Click Edit and mention the Computer IP Address of secondary zone. Click Notify
Select to the following servers and mention the Computer IP Address of
secondary zone.
351
Windows Server 2012 - Theory & Lab Manual
352
Windows Server 2012 - Theory & Lab Manual
353
Windows Server 2012 - Theory & Lab Manual
4. In AD Zone Replication Scope, Select the “To all DNS servers in Active directory
domain”click Next.
5. Give the Zone Name same as the Domain Name (Ex: Microsoft.com),click Next.
354
Windows Server 2012 - Theory & Lab Manual
355
Windows Server 2012 - Theory & Lab Manual
Verification:
1. Verify for the Service records in Microsoft.com zone.
NOTE: Service records are available only for the zone with the domain name.
2. In DC by default the service records are created in the DNS server in the zone
with domain name.
Note: To get the missing records restart the services Netlogon and DNS Server.
3. Go to Start, type Services in Search Apps, and select Services
4. Right click Netlogon and click Restart, Right click DNS Server and click Restart.
356
Windows Server 2012 - Theory & Lab Manual
1. In SYS1 create a zone with the name Ex: MCITP.COM with host and alias records.
2. In SYS1 open the command prompt and type ping www.MCITP.COM
3. There will be a reply from 10.0.0.1
4. In SYS2 assign the IP Address and Preferred DNS as 10.0.0.2
5. In SYS2 open the command prompt and type ping www.MCITP.COM
6. There will not be any reply because the information is in 10.0.0.1
7. If SYS2 has to resolve the query then configure forwarders in SYS2 properties.
8. Go to DNS dialog box in SYS2Right click conditional forwarders select New
conditional forwarders
357
Windows Server 2012 - Theory & Lab Manual
9. Mention the DNS Domain as MCITP.COM and add the IP address of primary zone.
10. In SYS2 open the command prompt and type ping www.MCITP.COM
11. There will be a reply from 10.0.0.1
Note: Only MCITP.COM names can be resolved with the above process.
Lab – 8: Forwarders
1. In SYS1 create a zone with the domain name Ex: Microsoft.com with host and
alias records.
2. In SYS1 open the command prompt and type ping www.Microsoft.com
3. There will be a reply from 10.0.0.1
4. In SYS2 assign the IP Address and Preferred DNS as 10.0.0.2
5. In SYS2 open the command prompt and type ping www.Microsoft.com
6. There will not be any reply because the information is in 10.0.0.1
7. If SYS2 has to resolve the query then configure forwarders in SYS2 properties.
8. Open DNS in SYS2 Right clickSYS2select properties select forwarders
click Edit.
358
Windows Server 2012 - Theory & Lab Manual
10. In SYS2 open the command prompt and type ping www.Microsoft.com
11. There will be a reply from 10.0.0.1
359
Windows Server 2012 - Theory & Lab Manual
360
Windows Server 2012 - Theory & Lab Manual
Versions of IIS
361
Windows Server 2012 - Theory & Lab Manual
• Supports IPv6
• Http service is used to publish data to World Wide Web quickly &
easily.
• Default Port No is 80
362
Windows Server 2012 - Theory & Lab Manual
Corporate
Office Network Web Server
Internet
Client
Web Server
Http://www.MS.com
Corporate
Office Network
Client
• Home Directory
• Required for each Web site
363
Windows Server 2012 - Theory & Lab Manual
Virtual Directory
• Virtual Directories are sub directories of the root of the web site.
FTP
• Default Port No is 21
Corporate
Office Network FTP Server
Internet
Client
364
Windows Server 2012 - Theory & Lab Manual
FTP Server
Ftp://10.0.0.1
Corporate
Office Network
Client
• Home Directory
365
Windows Server 2012 - Theory & Lab Manual
Prerequisites:
SYS1 SYS2
MICROSOFT.COM
SYS1 SYS2
366
Windows Server 2012 - Theory & Lab Manual
367
Windows Server 2012 - Theory & Lab Manual
368
Windows Server 2012 - Theory & Lab Manual
5. Select a server (sys1.Microsoft.com) from the server pool and click Next.
6. In select server roles, check the box Web Server and click Next.
7. In Add required features for Web Server (IIS), click Add Features.
369
Windows Server 2012 - Theory & Lab Manual
9. Click Next.
370
Windows Server 2012 - Theory & Lab Manual
10. Check the box HTTP Redirection, under Common HTTP Features.
371
Windows Server 2012 - Theory & Lab Manual
12. Check Restart the destination server automatically if required and click Install.
372
Windows Server 2012 - Theory & Lab Manual
2. In the left pane of the Internet Information Services, Expand the server Right
click on sites and select Add Web Site.
373
Windows Server 2012 - Theory & Lab Manual
3. Add Web Site wizard opens In the Site name type a Name for the Website
Ex:YAHOO.COM
4. In Physical path, browse and select the location of Home Directory (webpage)
374
Windows Server 2012 - Theory & Lab Manual
2. Select the Webpage Right click & select Rename Copy the webpage name
3. In IIS expand sites select website Open Default Document feature.
375
Windows Server 2012 - Theory & Lab Manual
4. Click Add, Mention (Paste) the html file name (with Extension of file)
Ex:Yahoo!.htm click OK.
376
Windows Server 2012 - Theory & Lab Manual
377
Windows Server 2012 - Theory & Lab Manual
3. Create a new primary zone in Forward Lookup Zone and mention the website
Domain Name (Ex:YAHOO.COM)
378
Windows Server 2012 - Theory & Lab Manual
5. Mention the Web Server name and IP Address Add Host OK Done.
6. Select the zone Right click select New Alias & Create an Alias (E.g: www) for
the host, which you specified in the host header for the site click OK.
379
Windows Server 2012 - Theory & Lab Manual
VERIFICATION:
1. Open Internet Explorer or any browser and access the website
380
Windows Server 2012 - Theory & Lab Manual
4. Select the check box Redirect requests to this destination give the destination as
http://www.MICROSOFT.com and click Apply in the actions Pane.
381
Windows Server 2012 - Theory & Lab Manual
5. Open Internet Explorer or any browser and access Yahoo (www.yahoo.com) and
it will be automatically redirected to MICROSOFT (www.MICROSOFT.com).
382
Windows Server 2012 - Theory & Lab Manual
3. Specify the Alias name to the Virtual Directory (Ex: mail), and Browse to select
the physical path Ex:(D:\Yahoomail) click OK.
383
Windows Server 2012 - Theory & Lab Manual
384
Windows Server 2012 - Theory & Lab Manual
385
Windows Server 2012 - Theory & Lab Manual
3. Click edit and change the IP address or port number or host name.
4. If the port number is changed then the website can be accessed only by
specifying the port number http://www.yahoo.com:port_number
386
Windows Server 2012 - Theory & Lab Manual
387
Windows Server 2012 - Theory & Lab Manual
3. In the left pane of the Internet Information Services dialog box Expand the
server Right click on Sites and select ADD FTP Site
4. In Site Information screen, enter the FTP site name, and enter the path to the
home folder (Content Directory)you want to assign to this FTP site. This can be
either a local path or a UNC path of the shared folder you can browse for this
folder if you need to click Next.
388
Windows Server 2012 - Theory & Lab Manual
5. In the Bindings and SSL Settings dialog box select the IP address and port no. and
select “NO SSL”.
6. In Authentication and Authorization Information dialog box, Check the box for
Anonymous and Basic, Select All Users, Check the box for Read and Write click
Finish.
389
Windows Server 2012 - Theory & Lab Manual
390
Windows Server 2012 - Theory & Lab Manual
• DHCP Server
• DNS Server
Searching WDS
WDS Client
391
Windows Server 2012 - Theory & Lab Manual
Types of Clients
• Known Clients
• A Known Client Computer is one whose computer account has been pre-
created (Pre-Staged) in Active directory.
• Un-Known Clients
• An un-known Client Computer is one whose computer account has not been
pre-staged in Active directory.
Types of Images
• Boot Image
• It is a WIM file you can use to boot a computer to begin the deployment of
an O.S to the computer.
• Install Image
• It is a image of Windows Vista or Windows server 2008 O.S itself that you
want to deploy onto the client computer.
Types of Images
• Capture Image
• It is a special boot image that you use to boot a master computer and
upload an image to a WDS server.
• Discover Image
• It is a boot image that you use to deploy an install image onto a computer
that is not PXE enabled.
392
Windows Server 2012 - Theory & Lab Manual
Prerequisites:
1. A computer running windows 2012 server Domain Controller, DHCP with Scope,
DNS with Services records.
SYS1 SYS2
MICROSOFT.COM
SYS1 SYS2
393
Windows Server 2012 - Theory & Lab Manual
SYS1 – CONFIGURATION
1. Go to Start, click Server Manager
394
Windows Server 2012 - Theory & Lab Manual
395
Windows Server 2012 - Theory & Lab Manual
5. Select a server (sys1.Microsoft.com) from the server pool and click Next.
6. In select server roles, check the box Windows Deployment Services, click Next.
396
Windows Server 2012 - Theory & Lab Manual
8. Click Next.
397
Windows Server 2012 - Theory & Lab Manual
9. In Select role services, Deployment and Transport Server is selected, click Next.
10. Check Restart the destination server automatically if required and click Install.
398
Windows Server 2012 - Theory & Lab Manual
399
Windows Server 2012 - Theory & Lab Manual
400
Windows Server 2012 - Theory & Lab Manual
4. In Install Options, in Domain Model select Integrated with Active Directory, click
Next.
401
Windows Server 2012 - Theory & Lab Manual
5. Browse and select any empty drive to store Image Folder (or) change the Drive
letter click Next.
Note: If the WDS server is a DHCP server also then one more wizard will be
displayed indicating that the WDS service should not listen on port 67.
So, we have to check the boxes, Do not listen on port 67 and Configure DHCP
option tag 60 in all DHCP scope options to PXE Client.
402
Windows Server 2012 - Theory & Lab Manual
6. Select Respond to all Known and Unknown Client Computers, and click Next.
403
Windows Server 2012 - Theory & Lab Manual
2. Browse and Select boot.wim file from 2012 OS DVD (Ex: D:\Sources\boot.wim)
404
Windows Server 2012 - Theory & Lab Manual
3. Click Next.
405
Windows Server 2012 - Theory & Lab Manual
5. Click Next.
406
Windows Server 2012 - Theory & Lab Manual
2. Give Name to Image Group Ex: Server Group and click Next.
407
Windows Server 2012 - Theory & Lab Manual
3. Browse and select Install.wim file from 2012 OS DVD (Ex: D:\Sources\install.wim)
click Next.
5. Click Next
408
Windows Server 2012 - Theory & Lab Manual
6. Click Finish.
Verification:
1. Boot the Client system with PXE NIC Card
2. Press F12key when prompted to start the Installation.
3. Then mention the Administrator Credential.
4. Select the Operating System which you want to install.
5. Select the Partition to install the O.S and follow the instructions.
409
Windows Server 2012 - Theory & Lab Manual
Hyper-V
Type-I Hypervisor
Microsoft Hyper-V
VM Ware vSphere
Citrix XenServer
410
Windows Server 2012 - Theory & Lab Manual
Type-II Hypervisors
• Hosted virtualization.
• Slow
• Testing and lab.
Microsoft Virtual PC
VM Ware Workstation
Hardware Requirements
• The server must have enough CPU capacity to meet the requirements
of the guest virtual machines.
– A virtual machine hosted on Hyper-V in Windows Server 2012 can support
up to 64 virtual processor
Hardware Requirements
• The server must have enough memory to support all of the virtual
machines that must run concurrently, plus enough memory to run the
host Windows Server 2012 operating system.
– The server must have at least 4 GB of RAM.
411
Windows Server 2012 - Theory & Lab Manual
Hardware Requirements
Hardware Requirements
412
Windows Server 2012 - Theory & Lab Manual
Startup RAM
Dynamic Memory
Minimum RAM
Maximum RAM
Memory buffer
Memory weight
What Is a VHD?
• A virtual hard disk is a file that represents a traditional hard disk drive
• VHDX format has the following benefits over the VHD format:
– The disks can be larger (64 TB versus 2 TB)
– The format supports better alignment when deployed to a large sector disk
– The format supports larger block size for dynamic and differencing disks
• Fixed-size VHDs
• Differencing VHDs
413
Windows Server 2012 - Theory & Lab Manual
Differencing VHDs
Virtual Switch
• External
Used to map a network to a specific network adapter or network
adapter team
• Internal
Used to communicate between the virtual machines on the host and
between the virtual machines and the host itself
• Private
Used to communicate between virtual machines, but not between the
virtual machines and the host itself
414
Windows Server 2012 - Theory & Lab Manual
Hyper-V Replica
415
Windows Server 2012 - Theory & Lab Manual
HYPER – V
Pre-requisites:
2. A Computer with Windows Server 2012 Operating System and connected in the
network.
SYS1
MICROSOFT.COM
SYS1
Domain Controller
IP Address 10.0.0.1
416
Windows Server 2012 - Theory & Lab Manual
417
Windows Server 2012 - Theory & Lab Manual
418
Windows Server 2012 - Theory & Lab Manual
13. In Select destination server, from Server Pool select SYS1.Microsoft.com, click
Next.
419
Windows Server 2012 - Theory & Lab Manual
15. Click Add Features, to install the required features for Hyper-V. Click Next.
420
Windows Server 2012 - Theory & Lab Manual
18. Check the box Ethernet 2 to work as Virtual Switch. Click Next.
421
Windows Server 2012 - Theory & Lab Manual
422
Windows Server 2012 - Theory & Lab Manual
21. Check box Restart the destination server automatically if required, click Install.
423
Windows Server 2012 - Theory & Lab Manual
2. In Hyper-V Manager, right click on Server Name (SYS1) and select New Virtual
Machine.
424
Windows Server 2012 - Theory & Lab Manual
4. Enter Name and Location for the Virtual Machine (Ex: Win 2012) and click Next.
425
Windows Server 2012 - Theory & Lab Manual
5. In Assign Memory Page, Enter the amount of RAM for the virtual machine (Ex:
1024 MB) and select Use Dynamic Memory for this virtual machine.
426
Windows Server 2012 - Theory & Lab Manual
7. In Connect Virtual Hard Disk Page, select Create a virtual hard disk and enter the
Name, Location and Size of the virtual hard disk. Click Next.
427
Windows Server 2012 - Theory & Lab Manual
10. In Hyper-V Manager console, right click virtual machine (Ex: win 2012), click Start.
428
Windows Server 2012 - Theory & Lab Manual
11. Right click virtual machine (Ex: win 2012), click Connect.
429
Windows Server 2012 - Theory & Lab Manual
2. In Hyper-V Manager, right click on Server Name (SYS1) and select New Hard Disk.
430
Windows Server 2012 - Theory & Lab Manual
431
Windows Server 2012 - Theory & Lab Manual
6. Enter Name, Browse and select Location for virtual hard disk, click Next.
432
Windows Server 2012 - Theory & Lab Manual
7. Select Createa new blank virtual hard disk, Sizeofvirtual hard disk. Click Next.
433
Windows Server 2012 - Theory & Lab Manual
Verification:
1. Go to the location of the Fixed size virtual hard disk (Ex: E:\Virtual Hard Disks),
select Fixed Disk.vhdx file Properties and verify the Size and Size on disk.
434
Windows Server 2012 - Theory & Lab Manual
2. In Hyper-V Manager, right click on Server Name (SYS1) and select New Hard Disk.
435
Windows Server 2012 - Theory & Lab Manual
436
Windows Server 2012 - Theory & Lab Manual
6. Enter Name, Browse and select Location for virtual hard disk, click Next.
437
Windows Server 2012 - Theory & Lab Manual
7. Select Create a new blank virtual hard disk, Size of virtual hard disk. Click Next.
438
Windows Server 2012 - Theory & Lab Manual
Verification:
1. Go to the location of the Dynamically expanding virtual hard disk (Ex: E:\Virtual
Hard Disks), select Dynamically expanding Disk.vhdx file Properties and verify
the Size and Size on disk.
439
Windows Server 2012 - Theory & Lab Manual
2. In Hyper-V Manager, right click on Server Name (SYS1) and select New Hard Disk.
440
Windows Server 2012 - Theory & Lab Manual
441
Windows Server 2012 - Theory & Lab Manual
6. Enter Name, Browse and select Location for virtual hard disk, click Next.
442
Windows Server 2012 - Theory & Lab Manual
7. In Configure Disk Page, Browse and select the Parent Disk, click Next.
443
Windows Server 2012 - Theory & Lab Manual
Verification:
2. Browse and select the Differencing Disk from (E:\Virtual Hard Disks).
444
Windows Server 2012 - Theory & Lab Manual
4. Verify the Parent Virtual Hard Disk Properties and click Close.
445
Windows Server 2012 - Theory & Lab Manual
2. In Hyper-V Manager, right click Server(SYS1) and select Virtual Switch Manager.
446
Windows Server 2012 - Theory & Lab Manual
3. In Virtual Switch Manager Page, select New virtual network switch, select
Internal, and click Create Virtual Switch.
4. Select Internal Network, enter the Name (Ex: Internal Network) and in
Connection type select Internal network, click OK.
447
Windows Server 2012 - Theory & Lab Manual
5. In Virtual Switch Manager Page, select New virtual network switch, select Private,
and click Create Virtual Switch.
6. Select Private Virtual Network, enter the Name (Ex: Private Virtual Network) and
in Connection type select Private network, click OK.
448
Windows Server 2012 - Theory & Lab Manual
7. Go to Hyper-V Manager, right click Virtual Machine (Ex: win 2012) select Settings.
449
Windows Server 2012 - Theory & Lab Manual
450
Windows Server 2012 - Theory & Lab Manual
Verification:
451
Windows Server 2012 - Theory & Lab Manual
3. Select Inbound Rules, Right click Hyper-V Replica HTTP Listener (TCP-In), Enable
Rule and Hyper-V Replica HTTPS Listener (TCP-In) and Enable Rule.
452
Windows Server 2012 - Theory & Lab Manual
5. In Hyper-V Manager, right click on Server Name (SYS2) and select Hyper-V
Settings
453
Windows Server 2012 - Theory & Lab Manual
8. Click OK.
454
Windows Server 2012 - Theory & Lab Manual
SYS1 – CONFIGURATION
1. Go to Start, Hyper-V Manager, right click on virtual machine (Win 2012) and
select Enable Replication.
455
Windows Server 2012 - Theory & Lab Manual
3. Click Browse.
456
Windows Server 2012 - Theory & Lab Manual
6. Click Next.
457
Windows Server 2012 - Theory & Lab Manual
8. Click Finish.
458
Windows Server 2012 - Theory & Lab Manual
Verification:
2. To Test Failover, right on the virtual machine select Replication and click Test
Failover.
459
Windows Server 2012 - Theory & Lab Manual
Definition
ROUTER
ROUTING
DEFAULT GATEWAY
It gives the exit point (or) entry point to reach the destination.
Types of Routing
Static Routing
Dynamic Routing
460
Windows Server 2012 - Theory & Lab Manual
Types of Routers
Software Router
It is a computer which performs routing task as one of its multiple tasks.
Hardware Router
It is a Dedicated HARDWARE DEVICE which works only as a router.
LAN1 LAN2
NAT
• Translates Private IP’s to Public IP’s & vice-versa for outgoing and
incoming traffic
461
Windows Server 2012 - Theory & Lab Manual
IP = 10.0.0.3
IP = 10.0.0.4
2. The computer running NAT changes the packet header and sends
the packet over the Internet to the Web server
IP = 10.0.0.5 3. The Web server sends a reply to the computer running NAT
DHCP Server
Router &
DHCP Relay Agent
Client2 Client3
Client1
462
Windows Server 2012 - Theory & Lab Manual
ROUTING
Prerequisites:
Before working on this lab, you must have
1. A computer running windows 2012 server Domain Controller.
2. 2 computer running windows 2012 server with minimum 2 NIC cards.
3. A computer running windows 2012 server web server.
SYS4
MICROSOFT.COM
SYS1 SYS2
Domain Controller / DNS Server Router - I
IP Address 10.0.0.2 IP Address 10.0.0.1, 11.0.0.1
Subnet Mask 255.0.0.0 Subnet Mask 255.0.0.0
Gateway 10.0.0.1 Gateway ----------
DNS Server 10.0.0.2, 12.0.0.2 DNS Server 10.0.0.2
SYS3 SYS4
Router – II Web server / DNS Server
IP Address 11.0.0.2,12.0.0.1 IP Address 12.0.0.2
Subnet Mask 255.0.0.0 Subnet Mask 255.0.0.0
Gateway ---------- Gateway 12.0.0.1
DNS Server 12.0.0.2 DNS Server 12.0.0.2, 12.0.0.1
463
Windows Server 2012 - Theory & Lab Manual
464
Windows Server 2012 - Theory & Lab Manual
3. Right click NIC card click Properties Internet Protocol Version4 (TCP/IPv4)
Properties Define the IP address as mentioned below.
ON ROUTER 1:
1. Logon to Router1
465
Windows Server 2012 - Theory & Lab Manual
On ROUTER 2:
1. Log on to Router2
466
Windows Server 2012 - Theory & Lab Manual
On PUBLIC:
1. Logon to Public
467
Windows Server 2012 - Theory & Lab Manual
3. Right click on NIC card click Properties Internet Protocol Version 4 (TCP/IPv4)
Properties Define the IP address as mentioned below.
468
Windows Server 2012 - Theory & Lab Manual
469
Windows Server 2012 - Theory & Lab Manual
470
Windows Server 2012 - Theory & Lab Manual
5. Select a server (SYS2.Microsoft.com) from the server pool and click Next.
471
Windows Server 2012 - Theory & Lab Manual
7. Click Add Features, to install the required features for Remote Access. Click Next.
472
Windows Server 2012 - Theory & Lab Manual
473
Windows Server 2012 - Theory & Lab Manual
12. Check the box Restart the destination server automatically if required. Click
Install.
474
Windows Server 2012 - Theory & Lab Manual
475
Windows Server 2012 - Theory & Lab Manual
2. Right click on system name Configure and Enable Routing and Remote Access.
476
Windows Server 2012 - Theory & Lab Manual
3. Click Next
477
Windows Server 2012 - Theory & Lab Manual
6. Click Finish
478
Windows Server 2012 - Theory & Lab Manual
479
Windows Server 2012 - Theory & Lab Manual
SYS3 – CONFIGURATION
ON ROUTER 2:
1. Go to Routing and Remote access Expand System name Expand IPv4
Select Static Routes Right click and select New Static Route
480
Windows Server 2012 - Theory & Lab Manual
Verification:
1. Check the connectivity between 10.0.0.0 and 12.0.0.0 Networks.
2. Log on to SYS4(12.0.0.2)open command prompt, Ping 10.0.0.2 –t and verify for
reply
3. Log on to SYS1 (10.0.0.2)Open the Internet Explorer and access the website
http://www.whatismyip.com(Website is present on 12.0.0.2), to verify the
communication between both networks.
481
Windows Server 2012 - Theory & Lab Manual
482
Windows Server 2012 - Theory & Lab Manual
483
Windows Server 2012 - Theory & Lab Manual
Verification:
484
Windows Server 2012 - Theory & Lab Manual
Before NAT:
On PrivateOpen Internet Explorer & access http://www.whatismyip.comthe
IP address is shown as 10.0.0.2 Private IP.
After NAT
On PrivateOpen Internet Explorer & access http://www.whatismyip.comthe
IP address is shown as 11.0.0.1 Public IP.
485
Windows Server 2012 - Theory & Lab Manual
486
Windows Server 2012 - Theory & Lab Manual
6. Right click on DHCP Relay Agent Properties Enter the IP Address of DHCP
Server (10.0.0.2)click Add Apply and OK
Verification:
SYS4-CONFIGURATION
1. Log on as Administrator to DHCP Client (SYS4) and set the IP address to obtain
the IP address automatically.
2. Start Run Cmd Ipconfig /release.
3. Type Ipconfig /renew.
4. An IP address will be assigned by DHCP server.
5. Check the IP Address by typing Ipconfig /all.
487
Windows Server 2012 - Theory & Lab Manual
VPN Server
Domain
Controller
VPN Client
VPN Tunnel
VPN Server Tunneling Protocols
DHCP
Server Address and Name Server Allocation
488
Windows Server 2012 - Theory & Lab Manual
Terminal Server
489
Windows Server 2012 - Theory & Lab Manual
• Disconnect Session
• If the Session is disconnected all the programs will continue to run in the
background & the user can reconnect to same session
• Logoff Session
• If the Session is logged off then all programs will be closed and next time
new session will be established.
HTTPS
• SSL transactions are encrypted between the client and the server, this
is usually 40 or 128 bit encryption (the higher the number of bits the
more secure the transaction).
490
Windows Server 2012 - Theory & Lab Manual
HTTPS
• You have an online store or accept online orders and credit cards
• You process sensitive data such as address, date of birth, license etc
491
Windows Server 2012 - Theory & Lab Manual
Prerequisites:
SYS1 SYS2
SYS3
MICROSOFT.COM
SYS1 SYS2
SYS3
VPN Client
IP Address 11.0.0.2
492
Windows Server 2012 - Theory & Lab Manual
2. Right click on system name Configure and Enable Routing and Remote Access.
493
Windows Server 2012 - Theory & Lab Manual
4. Select Virtual private network (VPN) access and NAT click Next.
494
Windows Server 2012 - Theory & Lab Manual
6. Select From a specified range of address (if DHCP is not configured in the private
network, select automatically if DHCP is configured), click Next.
495
Windows Server 2012 - Theory & Lab Manual
8. Select No, use Routing and Remote Access to authenticate connection requests
(if VPN Server is Member Server), click Next.
496
Windows Server 2012 - Theory & Lab Manual
9. Click Finish
497
Windows Server 2012 - Theory & Lab Manual
SYS3 – CONFIGURATION
1. Log on to RAS Client (SYS3), Right click on Network icon Properties.
498
Windows Server 2012 - Theory & Lab Manual
499
Windows Server 2012 - Theory & Lab Manual
500
Windows Server 2012 - Theory & Lab Manual
501
Windows Server 2012 - Theory & Lab Manual
10. Go to Command prompt & type Ipconfig /all to view the IP Address of the Client
computer.
11. Now try to access the LAN Network.
12. Go to Start Run type \\LAN computer IP address\Drive$ or Share folder
name
Ex:\\10.0.0.2\c$
502
Windows Server 2012 - Theory & Lab Manual
Prerequisites:
SYS1 SYS2
MICROSOFT.COM
SYS1 SYS2
503
Windows Server 2012 - Theory & Lab Manual
504
Windows Server 2012 - Theory & Lab Manual
4. Check the box “Allow Connections from computers running any version”.
505
Windows Server 2012 - Theory & Lab Manual
506
Windows Server 2012 - Theory & Lab Manual
507
Windows Server 2012 - Theory & Lab Manual
5. Click OK.
508
Windows Server 2012 - Theory & Lab Manual
6. Certificate is created
509
Windows Server 2012 - Theory & Lab Manual
2. In the left pane of the Internet Information Services, Expand the server Right
click on sites and select Add Web Site.
510
Windows Server 2012 - Theory & Lab Manual
3. Add Web Site wizard opens In the Site name type a Name (Ex: Microsoft.com)
In Physical path, browse and select the location of Home Directory (Webpage’s
Folder)
4. Select the protocol as HTTPS
511
Windows Server 2012 - Theory & Lab Manual
3. Web site is displayed, verify for Yellow Lock beside Address bar.
512
Windows Server 2012 - Theory & Lab Manual
513
Windows Server 2012 - Theory & Lab Manual
514
Windows Server 2012 - Theory & Lab Manual
7. Click Next
8. Select Place all certificates in the following store Click Browse.
515
Windows Server 2012 - Theory & Lab Manual
516
Windows Server 2012 - Theory & Lab Manual
12. Web site is displayed, Click on the Yellow Lock beside Address bar, to see the
website security status
517
Windows Server 2012 - Theory & Lab Manual
As performance increases,
so does cost
SSD
SAS
Performance
SCSI
SATA
EIDE Cost
– Storage pools.
– Disk Management.
518
Windows Server 2012 - Theory & Lab Manual
MBR
• Standard Partition table format since early 1980s
• Supports a maximum of 4 primary partitions per drive
• Can partition a disk up to 2 TB
GPT
• GPT is the successor of MBR partition table format
• Supports a maximum of 128 partitions per drive
• Can partition a disk up to 18 EB
What is a Partition?
Primary
• A physical disk is sectioned into separate
partitions
C:
• A physical disk can have up to three primary
D:
partitions and one extended partition
E:
• Extended partitions are subdivided into F:
logical drives G:
H:
Extended with
logical drives
When selecting a file system, consider the differences between FAT, NTFS,
and ReFS
FAT provides:
• Basic file system
• Partition size limitations
• FAT32 to enable larger disks
• exFAT developed for flash drives
NTFS provides:
• Metadata
• Auditing and journaling
• Security (ACLs and encryption)
ReFS provides:
• Backward compatibility support for NTFS
• Enhanced data verification and error correction
• Support for larger files, directories, volumes, etc.
519
Windows Server 2012 - Theory & Lab Manual
Advantages: Disadvantages:
• Easy to configure • Isolated because it attaches
• Inexpensive solution only to a single server
• Slower
Advantages:
NAS Device
• Relatively inexpensive
• Easy to configure
What Is a SAN?
Advantages:
• Fastest access times
Servers
• Easily expandable
• Centralized storage
• High level of redundancy
Switches
Disadvantages:
• More expensive
• Requires specialized skills
Storage Devices
520
Windows Server 2012 - Theory & Lab Manual
Component Description
iSCSI client that
Provides high performance and runs the iSCSI
IP network
redundancy Initiator
TCP/IP protocol
521
Windows Server 2012 - Theory & Lab Manual
What Is RAID?
522
Windows Server 2012 - Theory & Lab Manual
• Spanning is available
523
Windows Server 2012 - Theory & Lab Manual
123456
1
3 Disk 1
5
Volume
2
4 Disk 2
6
Administrator
• Any volume can be mirrored including the system and boot volumes
• 50% overhead
123
1
2 Disk 1
3
Volume
1
2 Disk 2
3
Administrator
524
Windows Server 2012 - Theory & Lab Manual
123456
1
3 Disk 1
P=5&6
2
P = 3 Volume
& 4
Disk 2
5
P=1&2
4 Disk 3
6
Administrator
525
Windows Server 2012 - Theory & Lab Manual
New Disk
Disk
Generate
Data
2 – Fails
Recovered
Data
Data
Loss
1
3 Disk 1
P=5&6
2
Volume P=3& 4
Disk 2
5
P=1&2
4 Disk 3
6
Administrator
526
Windows Server 2012 - Theory & Lab Manual
STORAGE MANAGEMENT
Prerequisites:
SYS1 SYS2
MICROSOFT.COM
SYS1 SYS2
527
Windows Server 2012 - Theory & Lab Manual
SYS1 – CONFIGURATION
1. Go to Server Manager, click File and Storage Services.
2. Click To install iSCSI Target Server, start the Add roles and Features Wizard.
528
Windows Server 2012 - Theory & Lab Manual
3. In Select server roles page, check the box iSCSI Target Server, click Next.
529
Windows Server 2012 - Theory & Lab Manual
5. Check box Restart the destination server automatically if required, click Install.
6. Go to Server Manager, select File and Storage Services, and select iSCSI, click To
create an iSCSI virtual disk, start the New iSCSI Virtual Disk Wizard.
530
Windows Server 2012 - Theory & Lab Manual
8. Enter the iSCSI virtual disk size (Ex: 4 GB), click Next.
531
Windows Server 2012 - Theory & Lab Manual
532
Windows Server 2012 - Theory & Lab Manual
11. Select Enter a value for the selected type, select IP Address in Type, enter the
Value (Ex: 10.0.0.1), click OK.
12. To allow other computers to access the iSCSI Target Server, Select Enter a value
for the selected type, select IP Address in Type, enter the Value (Ex: 10.0.0.1),
click OK.
13. Only the specified servers can access the iSCSI Target Server, click Next.
533
Windows Server 2012 - Theory & Lab Manual
534
Windows Server 2012 - Theory & Lab Manual
535
Windows Server 2012 - Theory & Lab Manual
18. Similarly create multiple iSCSI Virtual Disk that can be accessed from SYS2.
536
Windows Server 2012 - Theory & Lab Manual
3. Enter the IP Address of Target Server (Ex: 10.0.0.1), click Quick Connect.
537
Windows Server 2012 - Theory & Lab Manual
538
Windows Server 2012 - Theory & Lab Manual
7. Click Yes
539
Windows Server 2012 - Theory & Lab Manual
540
Windows Server 2012 - Theory & Lab Manual
4. Check the boxes to select the physical disk for storage pool, click Next.
541
Windows Server 2012 - Theory & Lab Manual
5. Click Create.
6. Click Close.
542
Windows Server 2012 - Theory & Lab Manual
7. In Storage Pools, select Pool1, and click To create a virtual disk, start the New
Virtual Disk Wizard.
543
Windows Server 2012 - Theory & Lab Manual
544
Windows Server 2012 - Theory & Lab Manual
545
Windows Server 2012 - Theory & Lab Manual
546
Windows Server 2012 - Theory & Lab Manual
15. Click Close, verify the check box Create a volume when wizard closes.
547
Windows Server 2012 - Theory & Lab Manual
548
Windows Server 2012 - Theory & Lab Manual
549
Windows Server 2012 - Theory & Lab Manual
550
Windows Server 2012 - Theory & Lab Manual
Verification
1. Go to Start, select Computer Icon and verify for the Simple volume.
551
Windows Server 2012 - Theory & Lab Manual
552
Windows Server 2012 - Theory & Lab Manual
3. Check the boxes and select the physical disks for the Storage pool, click Next.
4. Click Create.
553
Windows Server 2012 - Theory & Lab Manual
5. Click Close.
6. In Server Manager, Storage Pools, select Pool2, and click To create a virtual disk,
start the New Virtual Disk Wizard.
554
Windows Server 2012 - Theory & Lab Manual
555
Windows Server 2012 - Theory & Lab Manual
556
Windows Server 2012 - Theory & Lab Manual
557
Windows Server 2012 - Theory & Lab Manual
558
Windows Server 2012 - Theory & Lab Manual
559
Windows Server 2012 - Theory & Lab Manual
560
Windows Server 2012 - Theory & Lab Manual
561
Windows Server 2012 - Theory & Lab Manual
Verification
1. Go to Start, select Computer Icon and verify for the Mirror volume.
562
Windows Server 2012 - Theory & Lab Manual
563
Windows Server 2012 - Theory & Lab Manual
4. Check the boxes, to select the physical disks for the storage pool, click Next.
564
Windows Server 2012 - Theory & Lab Manual
5. Click Create.
6. Click Close.
565
Windows Server 2012 - Theory & Lab Manual
7. In Server Manager, Storage Pools, select Pool3, and click To create a virtual disk,
start the New Virtual Disk Wizard.
566
Windows Server 2012 - Theory & Lab Manual
567
Windows Server 2012 - Theory & Lab Manual
568
Windows Server 2012 - Theory & Lab Manual
569
Windows Server 2012 - Theory & Lab Manual
15. Click Close, verify for the check box Create a volume when this wizard closes.
570
Windows Server 2012 - Theory & Lab Manual
571
Windows Server 2012 - Theory & Lab Manual
572
Windows Server 2012 - Theory & Lab Manual
573
Windows Server 2012 - Theory & Lab Manual
Verification
1. Go to Start, select Computer Icon and verify for the Parity volume.
574
Windows Server 2012 - Theory & Lab Manual
What is Backup?
Backup
575
Windows Server 2012 - Theory & Lab Manual
Prerequisites:
SYS1
MICROSOFT.COM
SYS1
Domain Controller
IP Address 10.0.0.1
576
Windows Server 2012 - Theory & Lab Manual
577
Windows Server 2012 - Theory & Lab Manual
578
Windows Server 2012 - Theory & Lab Manual
6. In Select features page, check the box Windows Server Backup and click Next.
579
Windows Server 2012 - Theory & Lab Manual
7. Check box Restart the destination server automatically if required, click Install.
580
Windows Server 2012 - Theory & Lab Manual
2. Select Windows Server Backup, (or) to use online backup click Continue under
Online backup.
581
Windows Server 2012 - Theory & Lab Manual
582
Windows Server 2012 - Theory & Lab Manual
583
Windows Server 2012 - Theory & Lab Manual
7. In Select Items window, check the box imp data folder, click OK.
584
Windows Server 2012 - Theory & Lab Manual
10. In Select Backup Destination, select Backup destination Backup Drive, click Next.
585
Windows Server 2012 - Theory & Lab Manual
586
Windows Server 2012 - Theory & Lab Manual
587
Windows Server 2012 - Theory & Lab Manual
4. Select Date and Time of the Backup file to be restored, click Next.
588
Windows Server 2012 - Theory & Lab Manual
589
Windows Server 2012 - Theory & Lab Manual
9. Click Close.
Verification:
590
Windows Server 2012 - Theory & Lab Manual
ACTIVE DIRECTORY
• No dependency on DNS
• Each AD LDS server can host multiple directory stores (i.e. instances)
591
Windows Server 2012 - Theory & Lab Manual
• Configuration partition
• E-mail forwarding
• Web applications
• Benefits:
• Safeguards sensitive internal information
592
Windows Server 2012 - Theory & Lab Manual
593
Windows Server 2012 - Theory & Lab Manual
Policy Servers
such as: Patch, AV
1 2
Not policy
compliant
4 Remediation
Servers
Windows VPN Restricted Example: Patch
Switch/Router NPS
Client Network
Policy
compliant
594
Windows Server 2012 - Theory & Lab Manual
• Windows Server 2012 NLB clusters can have between 2 and 32 nodes.
595
Windows Server 2012 - Theory & Lab Manual
596
Windows Server 2012 - Theory & Lab Manual
ADVANCED TOPICS
Prerequisites:
Before working on this lab, you must have
1. A computer running windows 2012 server Domain Controller.
2. A computer running windows 2012 server or Member Server.
SYS1 SYS2
MICROSOFT.COM
SYS1 SYS2
Domain Controller Member Server
IP Address 10.0.0.1 IP Address 10.0.0.2
Subnet Mask 255.0.0.0 Subnet Mask 255.0.0.0
Preferred DNS 10.0.0.1 Preferred DNS 10.0.0.1
597
Windows Server 2012 - Theory & Lab Manual
598
Windows Server 2012 - Theory & Lab Manual
599
Windows Server 2012 - Theory & Lab Manual
6. In Select features page, check the box Network Load Balancing and click Next.
600
Windows Server 2012 - Theory & Lab Manual
7. Check box Restart the destination server automatically if required, click Install.
601
Windows Server 2012 - Theory & Lab Manual
10. Enter the host name Sys1.microsoft.com and click Connect and Next.
602
Windows Server 2012 - Theory & Lab Manual
13. Enter Cluster IP Address (Ex: 10.0.0.100) and Subnet (Ex: 255.0.0.0)
603
Windows Server 2012 - Theory & Lab Manual
604
Windows Server 2012 - Theory & Lab Manual
17. Right click on the Cluster (Ex: www.microsoft.com), select Add Host to Cluster.
605
Windows Server 2012 - Theory & Lab Manual
606
Windows Server 2012 - Theory & Lab Manual
607
Windows Server 2012 - Theory & Lab Manual
LIVE SETUP
608
Windows Server 2012 - Theory & Lab Manual
Prerequisite:
Internal Network
Servers:
Clients:
Router I
External Network:
Router II
609
Windows Server 2012 - Theory & Lab Manual
Clients:
Client – 61.0.0.6
CONFIGURATION STEPS
Configure 192.168.1.101 as Domain Controller along with DNS with the name
Microsoft.com
Windows 7)
Configure the Separate DNS server for Domain {obtain SRV Records} on
192.168.1.105
o Scope
o Create DNS zone for this site on DNS server only {192.168.1.105}.
610
Windows Server 2012 - Theory & Lab Manual
o Turn off the DC & login as user from Client or Member Server.
server{61.0.0.7}
Maintain 61.0.0.6 as public client to access Remote Desktop Server, VPN Server &
Web sites.
611