0% found this document useful (0 votes)
344 views230 pages

Windows Server 2008 Setup

Windows Server 2008 Setup

Uploaded by

Pravin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
344 views230 pages

Windows Server 2008 Setup

Windows Server 2008 Setup

Uploaded by

Pravin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 230

Supporting Windows Server 2008 for Setup

Supporting Windows Server


2008 for Setup
[Subject]
Instructor Lab Manual
This Lab Manual describes the lab environment and provides exercises to accompany course
presentations.

The Instructor version of the Lab Manual contains endnotes to assist in delivery.
Instructor Notes: Superscript endnote numbers embedded in the document text refer to numbered
notes in the Instructor Notes section.

Released: [Select Current or Release Date]

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 1
About This Lab

Conditions and Terms of Use


Microsoft Confidential - For Internal Use Only
This training package content is proprietary and confidential, and is intended only for users
described in the training materials. This content and information is provided to you under a Non-
Disclosure Agreement and cannot be distributed. Copying or disclosing all or any portion of the
content and/or information included in this package is strictly prohibited.
THE CONTENTS OF THIS PACKAGE ARE FOR INFORMATIONAL AND TRAINING PURPOSES ONLY AND ARE PROVIDED "AS
IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.

Training package content, including URL and other Internet Web site references, is subject to
change without notice. Because Microsoft must respond to changing market conditions, the
content should not be interpreted to be a commitment on the part of Microsoft, and Microsoft
cannot guarantee the accuracy of any information presented after the date of publication. Unless
otherwise noted, the companies, organizations, products, domain names, e-mail addresses, logos,
people, places, and events depicted herein are fictitious, and no association with any real company,
organization, product, domain name, e-mail address, logo, person, place, or event is intended or
should be inferred.

Copyright and Trademarks


© [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual
property rights covering subject matter in this document. Except as expressly provided in written
license agreement from Microsoft, the furnishing of this document does not give you any license to
these patents, trademarks, copyrights, or other intellectual property.
Complying with all applicable copyright laws is the responsibility of the user. Without limiting the
rights under copyright, no part of this document may be reproduced, stored in or introduced into a
retrieval system, or transmitted in any form or by any means (electronic, mechanical,
photocopying, recording, or otherwise), or for any purpose, without the express written
permission of Microsoft Corporation.
For more information, see Use of Microsoft Copyrighted Content at
http://www.microsoft.com/about/legal/permissions/.
Microsoft®, Internet Explorer, and Windows® are either registered trademarks or trademarks of
Microsoft Corporation in the United States and/or other countries. Microsoft products mentioned
herein may be either registered trademarks or trademarks of Microsoft Corporation in the United
States and/or other countries. All other trademarks are property of their respective owners.

2 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

About the Authors


Author:
Bio:
Project Lead:
Bio:

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 3
About This Lab

Table of Contents
About This Lab................................................................................................................................. 12
Lab Sessions ..................................................................................................................................................... 14

Setting Up Your Lab Environment .................................................................................................... 16


Hardware ..................................................................................................................................................... 16
Software ...................................................................................................................................................... 16
Network Layout ........................................................................................................................................... 17
Computer Names and IP Addresses ............................................................................................................ 18
Configuring Your Computer(s)..................................................................................................................... 19
Accounts and Group Membership .............................................................................................................. 20
Domain Membership................................................................................................................................... 20
Shares on Instructor Computer(s) ............................................................................................................... 21

Document Conventions ................................................................................................................... 22


Program Code and Commands.................................................................................................................... 22
Margin Notes ............................................................................................................................................... 23
Tables and Figures ....................................................................................................................................... 23
Course Content Numbering ........................................................................................................................ 23
Instructor Notes .......................................................................................................................................... 23

Using the Keyboard and Mouse in a Virtual Machine ....................................................................... 25


Using the Keyboard ..................................................................................................................................... 25
Special Keys ................................................................................................................................................. 26
Using the Mouse ......................................................................................................................................... 26

Lab 1: Installing and Upgrading to Windows Server 2008 ................................................................. 27


Before You Begin ......................................................................................................................................... 27
What You Will Learn .................................................................................................................................... 27
Configuring Your Computer(s)..................................................................................................................... 27
Configuring Your Virtual Machine Environment ......................................................................................... 27
Accounts and Group Membership .............................................................................................................. 28
Domain Membership................................................................................................................................... 28
Exercise 1: Install Virtual Server 2005 R2 SP1 ................................................................................................. 30
Scenario ....................................................................................................................................................... 30
Tasks ............................................................................................................................................................ 30
Exercise 2: Create Virtual Machines ................................................................................................................ 32

4 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

Scenario ........................................................................................................................................................32
Tasks .............................................................................................................................................................32
Exercise 3: Install Windows Server 2008 ..........................................................................................................34
Scenario ........................................................................................................................................................34
Tasks .............................................................................................................................................................34
Review ..........................................................................................................................................................38
Exercise 4: Upgrade to Windows Server 2008 .................................................................................................39
Scenario ........................................................................................................................................................39
Tasks .............................................................................................................................................................39
Review ..........................................................................................................................................................46

Lab 2: Examining the Servicing Stack ............................................................................................... 47


Before You Begin ..........................................................................................................................................47
What You Will Learn.....................................................................................................................................47
Configuring Your Computer(s) .....................................................................................................................47
Configuring Your Virtual Machine Environment ..........................................................................................47
Accounts and Group Membership ...............................................................................................................47
Domain Membership ...................................................................................................................................48
Exercise 1: Preparing for Update Testing .........................................................................................................49
Scenario ........................................................................................................................................................49
Tasks .............................................................................................................................................................49
Exercise 2: Examining Update Contents ...........................................................................................................51
Scenario ........................................................................................................................................................51
Tasks .............................................................................................................................................................51
Review ..........................................................................................................................................................53
Exercise 3: Applying Updates ...........................................................................................................................54
Scenario ........................................................................................................................................................54
Tasks .............................................................................................................................................................54
Review ..........................................................................................................................................................56
Exercise 4: Installing a New Feature .................................................................................................................57
Scenario ........................................................................................................................................................57
Tasks .............................................................................................................................................................57
Review ..........................................................................................................................................................59

Lab 3: Configuring and Managing Windows Server 2008 ................................................................. 60


Configuring Your Computer(s) .....................................................................................................................60

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 5
About This Lab

Configuring Your Virtual Machine Environment ......................................................................................... 60


Accounts and Group Membership .............................................................................................................. 61
Domain Membership................................................................................................................................... 61
Exercise 1: Complete Initial Configuration Tasks............................................................................................. 62
Scenario ....................................................................................................................................................... 62
Tasks ............................................................................................................................................................ 62
Review ......................................................................................................................................................... 65
Exercise 2: Adding Roles with Server Manager ............................................................................................... 66
Scenario ....................................................................................................................................................... 66
Tasks ............................................................................................................................................................ 66
Review ......................................................................................................................................................... 68
Exercise 3: Adding and Removing Roles and Features with ServerManagerCmd ........................................... 69
Scenario ....................................................................................................................................................... 69
Tasks ............................................................................................................................................................ 69
Review ......................................................................................................................................................... 71
Exercise 4: Review Server Manager Logs ........................................................................................................ 72
Scenario ....................................................................................................................................................... 72
Tasks ............................................................................................................................................................ 72
Review ......................................................................................................................................................... 74

Lab 4: Installing and Managing Server Core ..................................................................................... 75


Before You Begin ......................................................................................................................................... 75
What You Will Learn .................................................................................................................................... 75
Configuring Your Computer(s)..................................................................................................................... 75
Configuring Your Virtual Machine Environment ......................................................................................... 75
Accounts and Group Membership .............................................................................................................. 76
Domain Membership................................................................................................................................... 76
Exercise 1: Install Windows Server 2008 Server Core Editions ....................................................................... 77
Scenario ....................................................................................................................................................... 77
Tasks ............................................................................................................................................................ 77
Review ......................................................................................................................................................... 80
Exercise 2: Complete Initial Configuration ...................................................................................................... 81
Scenario ....................................................................................................................................................... 81
Tasks ............................................................................................................................................................ 81
Review ......................................................................................................................................................... 86

6 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

Exercise 3: Add a Feature and Perform a Backup ............................................................................................87


Scenario ........................................................................................................................................................87
Tasks .............................................................................................................................................................87
Review ..........................................................................................................................................................91
Exercise 4: Locally and Remotely Administer Server Core ...............................................................................92
Scenario ........................................................................................................................................................92
Tasks .............................................................................................................................................................92
Review ..........................................................................................................................................................97

Lab 5: Deploying Windows Server 2008 ........................................................................................... 98


Before You Begin ..........................................................................................................................................98
What You Will Learn.....................................................................................................................................98
Configuring Your Computer(s) .....................................................................................................................98
Configuring Your Virtual Machine Environment ..........................................................................................98
Accounts and Group Membership ...............................................................................................................99
Domain Membership ...................................................................................................................................99
Exercise 1: Create Virtual Machines ...............................................................................................................101
Scenario ......................................................................................................................................................101
Tasks ...........................................................................................................................................................101
Exercise 2: Unattended Setup of Windows Server 2008 Standard Edition ....................................................104
Scenario ......................................................................................................................................................104
Tasks ...........................................................................................................................................................104
Review ........................................................................................................................................................115
Exercise 3: Deploy using Multicast Transmission ...........................................................................................116
Scenario ......................................................................................................................................................116
Tasks ...........................................................................................................................................................116
Review ........................................................................................................................................................119
Exercise 4: Deploy using Multicast Transmission with WDSMCAST ...............................................................120
Scenario ......................................................................................................................................................120
Tasks ...........................................................................................................................................................120
Review ........................................................................................................................................................123
Exercise 5: Enable Logging and Netmon Trace ...............................................................................................124
Scenario ......................................................................................................................................................124
Tasks ...........................................................................................................................................................124
Review ........................................................................................................................................................128

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 7
About This Lab

Lab 6: Examining File Systems........................................................................................................ 129


Configuring Your Computer(s)................................................................................................................... 129
Configuring Your Virtual Machine Environment ....................................................................................... 129
Accounts and Group Membership ............................................................................................................ 129
Domain Membership................................................................................................................................. 130
Exercise 1: Working with the exFAT File System ........................................................................................... 131
Scenario ..................................................................................................................................................... 131
Tasks .......................................................................................................................................................... 131
Review ....................................................................................................................................................... 134
Exercise 2: Managing NTFS Self Healing ........................................................................................................ 135
Scenario ..................................................................................................................................................... 135
Tasks .......................................................................................................................................................... 135
Review ....................................................................................................................................................... 136
Exercise 3: Resetting the TxF Log File ............................................................................................................ 137
Scenario ..................................................................................................................................................... 137
Tasks .......................................................................................................................................................... 137
Review ....................................................................................................................................................... 139
Exercise 4: Using Icacls .................................................................................................................................. 140
Scenario ..................................................................................................................................................... 140
Tasks .......................................................................................................................................................... 140
Review ....................................................................................................................................................... 143

Lab 7: Examining Storage Systems ................................................................................................. 144


Before You Begin ....................................................................................................................................... 144
What You Will Learn .................................................................................................................................. 144
Configuring Your Computer(s)................................................................................................................... 144
Configuring Your Virtual Machine Environment ....................................................................................... 144
Accounts and Group Membership ............................................................................................................ 145
Domain Membership................................................................................................................................. 145
Exercise 1: Managing Volumes ...................................................................................................................... 146
Scenario ..................................................................................................................................................... 146
Tasks .......................................................................................................................................................... 146
Review ....................................................................................................................................................... 150
Exercise 2: Configuring the iSCSI Target and Initiator ................................................................................... 151
Scenario ..................................................................................................................................................... 151

8 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

Tasks ...........................................................................................................................................................151
Review ........................................................................................................................................................155
Exercise 3: Installing Microsoft Multipath I/O................................................................................................156
Scenario ......................................................................................................................................................156
Tasks ...........................................................................................................................................................156
Review ........................................................................................................................................................159
Exercise 4: Installing iSNS ...............................................................................................................................160
Scenario ......................................................................................................................................................160
Tasks ...........................................................................................................................................................160
Review ........................................................................................................................................................161
Exercise 5: Managing iSCSI with Storage Explorer .........................................................................................162
Scenario ......................................................................................................................................................162
Tasks ...........................................................................................................................................................162
Review ........................................................................................................................................................165
Exercise 6: Creating LUNs with DiskRAID .......................................................................................................166
Scenario ......................................................................................................................................................166
Tasks ...........................................................................................................................................................166
Review ........................................................................................................................................................168
Exercise 7: Managing iSCSi with Storage Manager for SANs ..........................................................................169
Scenario ......................................................................................................................................................169
Tasks ...........................................................................................................................................................169
Review ........................................................................................................................................................171
Exercise 8: Installing File Server Resource Manager ......................................................................................172
Scenario ......................................................................................................................................................172
Tasks ...........................................................................................................................................................172
Review ........................................................................................................................................................174
Exercise 9: Creating Quotas with File Server Resource Manager...................................................................175
Scenario ......................................................................................................................................................175
Tasks ...........................................................................................................................................................175
Review ........................................................................................................................................................177
Exercise 10: Creating File Screens and Storage Reports with File Server Resource Manager .......................178
Scenario ......................................................................................................................................................178
Tasks ...........................................................................................................................................................178
Review ........................................................................................................................................................180

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 9
About This Lab

Lab 8: Examining Backup and Recovery ......................................................................................... 181


Configuring Your Computer(s)................................................................................................................... 181
Configuring Your Virtual Machine Environment ....................................................................................... 181
Accounts and Group Membership ............................................................................................................ 182
Domain Membership................................................................................................................................. 182
Exercise 1: Prepare for Backup Testing ......................................................................................................... 183
Scenario ..................................................................................................................................................... 183
Tasks .......................................................................................................................................................... 183
Exercise 2: Install Windows Server Backup ................................................................................................... 187
Review ....................................................................................................................................................... 189
Exercise 3: Performing Manual Backups ....................................................................................................... 190
Scenario ..................................................................................................................................................... 190
Tasks .......................................................................................................................................................... 190
Review ....................................................................................................................................................... 197
Exercise 4: Examine Windows Server Backup Integration with VSS .............................................................. 199
Scenario ..................................................................................................................................................... 199
Tasks .......................................................................................................................................................... 199
Review ....................................................................................................................................................... 200
Exercise 5: Scheduling Backups ..................................................................................................................... 201
Scenario ..................................................................................................................................................... 201
Tasks .......................................................................................................................................................... 201
Review ....................................................................................................................................................... 204
Exercise 6: Restoring Folders and Files from Backup .................................................................................... 205
Scenario ..................................................................................................................................................... 205
Tasks .......................................................................................................................................................... 205
Review ....................................................................................................................................................... 207
Exercise 7: Performing a Full System Recovery ............................................................................................. 208
Scenario ..................................................................................................................................................... 208
Tasks .......................................................................................................................................................... 208
Review ....................................................................................................................................................... 211
Exercise 8: Backing Up and Restoring SystemState ....................................................................................... 212
Scenario ..................................................................................................................................................... 212
Tasks .......................................................................................................................................................... 212
Review ....................................................................................................................................................... 215

10 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

Exercise 9: Using WBDIAG ..............................................................................................................................216


Scenario ......................................................................................................................................................216
Tasks ...........................................................................................................................................................216
Review ........................................................................................................................................................218
Exercise 10: Creating a WinRE Image .............................................................................................................219
Scenario ......................................................................................................................................................219
Tasks ...........................................................................................................................................................219
Review ........................................................................................................................................................221
Exercise 11: Installing WinRE Manually to Hard Disk .....................................................................................222
Scenario ......................................................................................................................................................222
Tasks ...........................................................................................................................................................222
Review ........................................................................................................................................................223
Exercise 12: Using System File Checker ..........................................................................................................224
Scenario ......................................................................................................................................................224
Tasks ...........................................................................................................................................................224
Review ........................................................................................................................................................226
Exercise 13: Using Regedit in WinRE ..............................................................................................................227
Scenario ......................................................................................................................................................227
Tasks ...........................................................................................................................................................227
Review ........................................................................................................................................................229

Instructor Notes ............................................................................................................................ 230

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 11
About This Lab

About This Lab


This lab manual describes the environment required to perform practice exercises in this
course and lab sessions included in this manual.

Before You Begin


Practice exercises are performed on physical and virtual machines on one computer per
participant. To complete the exercises, your computer hardware and software must be
configured as described in this section.
For additional details, refer to the Classroom Setup Guide that accompanies this course.

Lab sessions that accompany this course use a preconfigured virtual machine
Warning:
environment. If you start or modify VMs in any way prior to use in lab exercises,
exercise tasks and steps will not work as intended. DO NOT start or modify any VM until
instructed to do so in the lab exercises.
Preconfigured VMs use lab environment scripts to complete certain steps at first launch
based on the computer name entered in mini-setup. Failure to enter computer names
specified in the lab exercises exactly as shown will incorrectly configure VMs, which will
cause lab exercise tasks and steps to fail. 1

What You Will Learn


After completing the lab sessions in this course, you will be able to:
 Perform Windows Server® 2008 and Server Core for Windows Server 2008 clean
installations, upgrade domain controllers, monitor Setup progress, and review logs
to resolve errors.
 Use new servicing stack features to apply hotfixes and Windows Vista® Service
Pack 1 and analyze results.
 Complete Windows Server 2008 and Server Core for Windows Server 2008 Initial
Configuration Tasks and manage server roles, role services, and features.
 Create answer files for unattended setup and customize image selection in WDS
Client.
 Implement Multicast Transmissions using the Windows Deployment Services
Management Console and the command line utility WDSMCAST.EXE.
 Obtain and analyze client install logs to resolve deployment issues.
 Format and use exFAT on a new Hard Disk Drive.
 Use Diskpart to shrink and extend a volume.
 Use Software Fault Tolerance to create and manage RAID configurations.
 Use iCACLS to manage file system permissions.

12 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

 Install, configure, and manage Microsoft® MPIO storage environments using the
MPIO Console and File Server Resource Manager.
 Back up and restore computer systemstate, data files, and operating system files
using GUI components, WBADMIN, WBDIAG, and WinRE.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 13
About This Lab

Lab Sessions
This course includes the following lab sessions:

LAB 1: Installing and Upgrading to Windows Server 2008


During this lab, you will install or verify Virtual Server 2005 R2 SP1, create two virtual
machines, perform a clean installation of Windows Server 2008 Enterprise Edition, and
upgrade an existing Windows Server 2003 domain controller to Windows Server 2008.
During the installation and upgrade processes, you will access the WinPE command shell
and setup logs to examine the installation process.
Estimated time to complete this lab: 1.50 hours

LAB 2: Examining the New Servicing Stack


During this lab, you will update a Windows Vista installation with a hotfix and add an
operating system component. Since Windows Server 2008 and Windows Vista share the
same component based architecture, these tasks will be similar for both operating
systems.
Estimated time to complete this lab: 1.25 hours

LAB 3: Managing Server Roles and Features


During this lab, you will complete Initial Configuration Tasks, use the Server Manager
graphical user interface and command line utilities to add and remove roles and features,
and examine log files created by role and feature installation and removal.
Estimated time to complete this lab: 1.00 hours

LAB 4: Installing Server Core for Windows Server 2008


During this lab, you will perform a Server Core installation of Windows Server 2008, use
command line tools and remote management features to complete initial configuration
and install roles and features.
Estimated time to complete this lab: 2.00 hours

LAB 5: Examining Deployment Technologies


During this lab, you will use various methods to deploy Windows Server 2008 using
Unattend answer files and Microsoft Windows® Deployment Services (WDS).
Estimated time to complete this lab: 4.00 hours

14 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

LAB 6: Examining File Systems


During this lab, you will use the Windows Server 2008 Disk Management Console, and the
Diskpart, FSUtil, and iCACLs command line utilities to examine and manage exFAT, TxF,
NTFS Self-healing, and RAID file system features and functions.
Estimated time to complete this lab: 0.90 hours

LAB 7: Examining Storage Systems


During this lab, you will add Microsoft Multipath Input/Output (MPIO) in Windows
Server 2008, configure a connection to an iSCSI target, create an iSNS Server, and add the
Storage Manager for SANs feature to manage targets. You will also add the File Server
Resource Manager feature to administer quota limits and run reports on user files located
on the server.
Estimated time to complete this lab: 1.00 hours

LAB 8: Examining Backup and Recovery


During this lab, you will perform manual backups, schedule automatic backups, recover
files and folders, and use the Windows Recovery Environment (WinRE) to prepare for
and recover from system failures.
Estimated time to complete this lab: 5.75 hours

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 15
Setting Up Your Lab Environment

Setting Up Your Lab Environment


To complete this lab, you will need the hardware and software configuration described in
this section.

Hardware
Practice exercises assume that all lab hardware is listed on the Hardware Compatibility
List (HCL) as compatible with operating systems and applications described later in this
section.
The following table describes minimum hardware requirements for practice exercises.
Table 1: Minimum Hardware Requirements

Minimum System Requirements


Computer/Processor Computer with a 2.4 GHz processor or higher
(If available, disable hyperthreading and enable hardware
virtualization)
Operating System <Host OS>; see Classroom Setup Guide for details
Memory <1 | 2 | 4> GB RAM
Storage <80 | 160> GB hard drive
CD or DVD drive (DVD drive recommended)
Display Super VGA (800 x 600) or higher-resolution monitor with 256
color
(Recommended: 1024 x 768 with 16-bit or higher color)
Peripherals Microsoft Mouse or compatible pointing device
Microsoft or compatible keyboard

Software
Operating systems and applications listed in the following table must be installed on all
computers.
Table 2. Installed Software

Software Version tested and notes


Windows Server 2003, Enterprise Edition Retail
Current Windows Server 2003 Service Pack and Critical Updates
Microsoft Office 2007 Standard Retail
Office 2007 OneNote® Retail

16 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

Software Version tested and notes


Current Office 2007 Service Pack and Critical Updates
Microsoft Virtual Server 2005 R2 Retail
Current Virtual Server 2005 R2 Service Pack and Critical Updates
Microsoft .NET Framework Version 3.0 Retail
Current .NET Framework 3.0 Service Pack and Critical Updates
.NET Framework Version 3.0 Retail
Current .NET Framework 3.0 Service Pack and Critical Updates
Adobe Reader 8 Retail
Current Adobe Reader 8 Critical Updates

Network Layout
The following figure illustrates the lab network. The lab network must be isolated from
production networks.
Figure 1. Network Layout

<HOST>-1 <HOST>-3 <HOST>-5 <HOST>-7


VLAN CorpNet
See diagram

<HOST>-INSTR-1

<HOST>-2 <HOST>-4 <HOST>-6 <HOST>-8


VLAN
See diagram
Monitor

Switch
Projector

<HOST>-9 <HOST>-11 <HOST>-13 <HOST>-15

<HOST>-INSTR-2

<HOST>-10 <HOST>-12 <HOST>-14 <HOST>-16

Member Server Domain


LEGEND Server
or Client Controller

Individual computer configurations are described in detail in the next section.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 17
Setting Up Your Lab Environment

Computer Names and IP Addresses

This computer naming convention eliminates potential issues when multiple


Important: classrooms are connected to the same subnet during classroom configuration or
course delivery.

Table 3. Lab Computer Names and IP Addresses below lists computer configurations for
the classroom lab network.
 Replace <Host> in Computer Name with <site>-<room> as follows:
<site> = Site name abbreviation (Example: For Las Colinas, use LC1 or LC2)
<room> = Room number (Example: For Rio Grande classroom, use 1693)
For example, participant computer 1 in the Rio Grande classroom in Las Colinas
Building 2 would be named LC2-1693-1 or LC2-1693-1A (see table).
 Replace x in IP address with the classroom number or any representative number
that is unique on the overall classroom subnet and reference this number in all lab
exercises.

This computer naming convention eliminates potential issues when multiple classrooms
Important: are connected to the same subnet during classroom configuration or course delivery.

Table 3. Lab Computer Names and IP Addresses

Computer IP Address Preferred DNS Server Role


Name
<Host>- Instr-1 172.168.1.200 192.168.x.200 Stand-alone Server
<Host>-Instr-2 172.168.x.201 192.168.x.200 Stand-alone Server
<Host>-1 172.168.x.101 192.168.x.200 Stand-alone Server
<Host>-2 172.168.x.102 192.168.x.200 Stand-alone Server
<Host>-3 172.168.x.103 192.168.x.200 Stand-alone Server
<Host>-4 172.168.x.104 192.168.x.200 Stand-alone Server
<Host>-5 172.168.x.105 192.168.x.200 Stand-alone Server
<Host>-6 172.168.x.106 192.168.x.200 Stand-alone Server
<Host>-7 172.168.x.107 192.168.x.200 Stand-alone Server
<Host>-8 172.168.x.108 192.168.x.200 Stand-alone Server
<Host>-9 172.168.x.109 192.168.x.200 Stand-alone Server

18 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

Computer IP Address Preferred DNS Server Role


Name
<Host>-10 172.168.x.110 192.168.x.200 Stand-alone Server
<Host>-11 172.168.x.111 192.168.x.200 Stand-alone Server
<Host>-12 172.168.x.112 192.168.x.200 Stand-alone Server
<Host>-13 172.168.x.113 192.168.x.200 Stand-alone Server
<Host>-14 172.168.x.114 192.168.x.200 Stand-alone Server
<Host>-15 172.168.x.115 192.168.x.200 Stand-alone Server
<Host>-16 172.168.x.116 192.168.x.200 Stand-alone Server

Configuring Your Computer(s)


Each student requires one physical machine with a fully configured virtual machine
environment. Before starting this lab, make sure your computer is configured as follows:
 Windows Server 2003 ENT installed and started
 Virtual Server 2005 R2 SP1 (may be preinstalled on classroom computers)

Virtual Server 2005 R2 SP1 may already be installed on your computer. If these
Note: applications are not installed, you may obtain a free download of the installation files
from:
http://www.microsoft.com/downloads/details.aspx?FamilyID=bc49c7c8-4840-4e67-
8dc4-1e6e218acce4&DisplayLang=en

 Windows Server 2008 DVD media or installation ISO file in C:\VS\Win.ISO.


 Virtual machines installed or created on the computer:
o Student-2003-DC1: Preconfigured Windows Server 2003 Domain Controller

o Student-2008-01 – Student-2008-03: Preconfigured Windows Server 2008


(RC0 version)

o Student-VISTA-RTM-01: Preconfigured Windows Vista client (RTM version)

o Student-2008-F1: Blank VM for Windows Server 2008 Full installation


(may be created in lab exercise)

o Student-2008-C1: Blank VM for Windows Server 2008 Server Core


installation
(may be created in lab exercise)

o Student-2008-D1: Blank VM for unattended installation


(may be created in lab exercise)

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 19
Setting Up Your Lab Environment

o Student-2008-D2: Blank VM for PXE Boot


(may be created in lab exercise)

o Student-2008-D3: Blank VM for Multicast


(may be created in lab exercise)

o Student-2008-BMR: Blank VM for Recovery


(may be created in lab exercise)

 Course files located in the C:\Labfiles and C:\VS folders on your computer or
accessible from a network share on the instructor computer.

Accounts and Group Membership


You must log on as an administrative user in order to perform some of the tasks in this
Important: lab.

 The following user accounts and passwords must be configured on the physical
computer and in all virtual machines:
 Administrative username and password
o Username: Administrator
o Password: LS1setup!
o Member of: Local Administrators
 Normal username and password
o Username: Studentn
o Password: LS1setup!
o Member of: Local Users
Replace n in Studentn with the number assigned to your classroom computer by the
instructor.

Domain Membership
Your physical computer is not joined to a domain.
Lab exercises may require you to join the following virtual domain(s):
 Contoso.com
Virtual machines joined to a virtual domain require group and account configurations as
shown in the following table.

20 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

Table 4. Groups and Accounts

Group Members
Domain Groups
Domain Administrators Administrator
Domain Users Studentn
Local Groups
Administrators Administrator, Domain Administrators
Users Studentn, Domain Users

Shares on Instructor Computer(s)


During lab exercises, you may be required to access the following shares on the instructor
computer(s):
 \\<HOST>-Instr-1\Labfiles
Includes lab files installed on participant host computers
 \\<HOST>-Instr-1\VS
Includes files required for virtual machine environment

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 21
Document Conventions

Document Conventions
The following conventions are used in all course materials:
 Acronyms appear in all uppercase letters.
 Path and file names may appear in a combination of uppercase and lowercase
letters. Unless otherwise indicated, you can use all lowercase letters when you type
paths and file names in dialog boxes or at a command prompt.
 File extensions without a file name appear in all lower-case letters.
 Book titles and URLs appear in Italic.
 Window, dialog box, and menu titles, menu items, and course section titles appear in
Bold.
Other document conventions are described below.

Program Code and Commands


Program code listings, diagnostic output, entries typed at a command prompt or in scripts
or initialization files, and other text mode content appear in a console font with a grey
background formatted as shown in the following example. Descriptive comments may be
inserted in line with the listing.
d:\%systemroot%>dir /ad

where:
d: is the drive letter where the operating system is installed.
%systemroot% is the folder where the operating system is installed.
Volume in drive C is Main
Volume Serial Number is 000A-BCDE

Directory of C:\Windows

12/19/2004 11:56 AM <DIR> .


12/19/2004 11:56 AM <DIR> ..
07/07/2003 06:57 AM <DIR> addins
11/17/2004 02:45 PM <DIR> Application Compatibility Scripts
11/17/2004 02:47 PM <DIR> AppPatch
11/17/2004 02:42 PM <DIR> Cache
...

The ellipsis (...) on the last line indicates a partial listing.


The following conventions apply to all commands and program code listings:
 Type command statement elements that appear in Bold exactly as they appear in
the example, including quotation marks.

22 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

 Italic elements in command statements indicate placeholders for variable


information.
 Braces ({ }) enclose required items as shown by {parameter1, parameter2, “title”} in
the example. Commas separate multiple items. Type quotation marks as shown; do
not type the braces.
 Square brackets ([ ]) enclose optional items as shown by [option1 | option2] in the
example. Pipe symbols ( | ) indicate alternate choices. If multiple options are listed,
only type one option. Do not type the brackets or pipe symbols.

Margin Notes
Left margin icons and labels shown call attention to informational notes and reader alerts
as shown in the following table.
Table 5. Note Icons and Labels

Icon Label Description


Note Provides supplemental information about related actions or results

Tip Suggests alternate methods of performing tasks

Important Provides information that is critical to completing a task

Warning! Warns about potential data loss or other undesirable results Commented [JLSR1]: I updated this table to reflect the
callouts used in this template.

Tables and Figures


Each table and figure is preceded by Caption. Captions are numbered sequentially
throughout each module. Table and figure captions are also listed in the Table of Contents
section of each module.

Course Content Numbering


Modules may be numbered sequentially within a course. Lessons and demonstrations
may be numbered sequentially within each module. Lab sessions are numbered
sequentially within a course and lab exercises are numbered sequentially within each lab
session. Topic and subtopic headings are not numbered.

Instructor Notes
Instructor versions of course documents may include superscript endnote numbers that
reference numbered paragraphs in the Instructor Notes section at the end of the
document. These Instructor Notes provide additional information to assist in course
delivery.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 23
Document Conventions

Instructors may find it helpful to print the Instructor Notes section separately for
reference or view the document online in a separate window and use the hyperlinked
endnote numbers to navigate between document paragraphs and corresponding endnote
paragraphs.

24 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

Using the Keyboard and Mouse in a Virtual


Machine
This course includes virtual machines for lab exercises. You use the keyboard and a
mouse to control a virtual machine much as you would a physical computer. This section
explains how to use the keyboard and mouse in virtual machines and describes special
keys and menu items.

Using the Keyboard


In general, the keyboard works the same for a virtual machine as it does for a physical
computer. However, some keyboard shortcuts such as Ctrl+Alt+Delete do not work
within a virtual machine because of the interaction between the host operating system
and the guest operating system. Virtual Server 2005 provides much of the required
keyboard functionality with a Host key and keyboard shortcuts. By default, the Host key
is the Right-Alt key.
You can use the Host key in two ways:
 If a virtual machine has captured the pointer, press the Host key to return control of
the mouse to the host operating system.
 Use the Host key in combination with other keys for specific functions as described
in the following table.
Table 6. Keyboard Shortcuts for Virtual Machines

Key Combination Description


Host Key+Delete Sends Ctrl+Alt+Delete functionality to the virtual machine operating system.
Host Key+C Connects the Remote Control or VMRC to the VMRC server.
Host Key+A Switches the Remote Control or VMRC to the Administrator Display.
Host Key+I Displays connection information.
Host Key+V Sets the virtual machine so that the guest operating system cannot be
manipulated. You can only view the virtual machine window.
Host Key+H Displays the control to set the Host key.
Host Key+Enter Switches the virtual machine window to full-screen display. This option is
available only when you connect to a virtual machine using the VMRC client.
Host Key+Left Switches to the previous virtual machine. This option is available only when
Arrow you connect to a virtual machine using the VMRC client.
Host Key+Right Switches to the next virtual machine. This option is available only when you
Arrow connect to a virtual machine using the VMRC client.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 25
Using the Keyboard and Mouse in a Virtual Machine

As shown in the preceding table, you can use Host Key+Delete to send the functionality
Note: of the Ctrl+Alt+Delete keyboard shortcut to a guest operating system running in a
virtual machine. You can also use Send Ctrl+Alt+Del from the Remote Control menu of
either the VMRC or Remote View page.

Special Keys
Virtual Server Remote Control includes menu options to send the following special
keyboard shortcuts to the virtual machine:
 CTRL+ALT+DELETE  PRINT SCREEN
As with a physical computer, some keyboard functionality for the virtual machine, such as
whether NUM LOCK is on by default when the virtual machine starts, is controlled by the
BIOS setup utility. To access the BIOS, press the Delete key as the virtual machine is
starting.

Using the Mouse


The way you use the mouse depends on whether Virtual Machine Additions is installed.
 If Virtual Machine Additions is installed on the virtual machine, you can move the
pointer freely between the virtual machine window and the host operating system.
This simplifies switching among virtual machines and the host operating system.
 If Virtual Machine Additions is not installed on the virtual machine, the virtual
machine must capture the pointer before the mouse can be used within the virtual
machine window. The virtual machine captures the pointer when you click the
pointer inside the virtual machine window.
If a pointer is captured by a virtual machine on which Virtual Machine Additions is not
installed, the virtual machine must release it before you can use the mouse on the host
operating system or in another virtual machine window. You can use the Host key to
return the use of the mouse to the host operating system.

26 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

Lab 1: Installing and Upgrading to Windows


Server 2008
During this lab, you will install or verify Virtual Server 2005 R2 SP1, create two virtual
machines, perform a clean installation of Windows Server 2008 Enterprise Edition, and
upgrade an existing Windows Server 2003 domain controller to Windows Server 2008.
During the installation and upgrade processes, you will access the WinPE command shell
and setup logs to examine the installation process.
Estimated time to complete this lab:
 2 hours if Virtual Server is not installed
 1.5 hours if Virtual Server is already installed

Before You Begin


Before starting this lab, you should:
 Have experience supporting Windows Server 2003 in an enterprise environment.
 Complete the module Introducing Windows Server 2008 in this course, including
any module prerequisites.

What You Will Learn


After completing this lab session, you will be able to:
 Boot from the Windows Server 2008 media and perform a clean, attended
installation of Windows Server 2008.
 Upgrade a Windows Server 2003 domain controller to Windows Server 2008.
 Monitor Setup progress from a command prompt during installation and upgrade.

Configuring Your Computer(s)


Each student requires one physical computer with a fully configured virtual machine
environment. Before starting this lab, make sure your computer is configured as
described in the About This Lab section of this Lab Manual.

Configuring Your Virtual Machine Environment


Lab exercises require Virtual Server 2005 R2 SP1 and the following virtual machines
installed or created on the computer:
 Student-2003-DC1: Preconfigured Windows Server 2003 Domain Controller
 Student-2008-F1: Blank VM for Windows Server 2008 Full installation
(may be created in lab exercise)

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 27
Lab 1: Installing and Upgrading to Windows Server 2008

 Student-2008-C1: Blank VM for Windows Server 2008 Server Core installation


(may be created in lab exercise)
Lab exercises also require files located in the C:\Labfiles and C:\VS folders on your
computer or accessible from a network share on the instructor computer.

Accounts and Group Membership


You must log on as an administrative user in order to perform some of the tasks in this
Important: lab.

The following user accounts and passwords must be configured on the physical computer
and in all virtual machines:
 Administrative username and password
o Username: Administrator
o Password: LS1setup!
o Member of: Local Administrators
 Normal username and password
o Username: Usern
o Password: Pass0word1
o Member of: Local Users
Replace n in Usern with the number assigned to you by the instructor.

Domain Membership
Lab exercises may require you to join the following virtual domain(s):
 Contoso.com
Your physical computer is not joined to a domain. Virtual machines joined to a virtual
domain require group and account configurations as shown in the following table.

28 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

Table 7. Groups and Accounts

Group Members
Domain Groups
Domain Administrators Administrator
Domain Users Usern
Local Groups
Administrators Administrator, Domain Administrators
Users Usern, Domain Users

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 29
Lab 1: Installing and Upgrading to Windows Server 2008

Exercise 1: Install Virtual Server 2005 R2 SP1


During this exercise, you will ensure that Virtual Server 2005 R2 SP1 is installed on your
host computer and Virtual Machine Remote Control is enabled.
Estimated time to complete this exercise: 20 minutes

Scenario
Your organization uses virtual environments to test software prior to production
deployment. To perform tests, you must install Virtual Server on your workstation.

Tasks
1. Enable Internet Information Services (IIS) on your host computer:

Virtual Server 2005 R2 SP1 requires that IIS is installed. If Virtual Server is already
Note: installed on your host computer, you may skip this task.

a. Click Start, Control Panel, Add or Remove Programs, then click


Add/Remove Windows Components.

b. Select Application Server, and then click Details.

c. Select the Internet Information Services (IIS) check box.

You need to install only the default components of IIS.


Note:

d. Click OK and then Next, provide the Windows Server 2003 media if
prompted.

2. Install Virtual Server 2005 R2 SP1:

If Virtual Server is already installed on your host computer, you may skip this task.
Note:

a. Obtain the installation files for the latest version of Virtual Server 2005 R2
SP1.

b. Browse to the installation folder and double-click Setup.exe.

c. Follow the Setup wizard instructions to complete the installation of Virtual


Server 2005 R2 SP1.

d. If warnings about unsigned drivers appear, choose to continue installation.

30 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

3. Enable the Virtual Machine Remote Control:

To work with virtual machines in these exercises, we recommend using the Virtual
Note: Machine Remote Control Client. To use the Virtual Machine Remote Control Client, you
first must enable it in Virtual Server Properties.

a. On the Virtual Server 2005 R2 Master Status page, in the left pane under
Virtual Server, click Server Properties.

b. Click Virtual Machine Remote Control (VMRC) Server.

c. In the VMRC server section only, click the Enable check box.

d. Accept all other default settings and click OK.

4. Open the remote control client and verify connectivity:

a. Open the remote control client by clicking Start, pointing to All Programs,
Microsoft Virtual Server, and clicking Virtual Machine Remote Control
Client.

b. In the Connect to server window, enter localhost and then click Connect.

c. If prompted regarding Unencrypted Connection, check Don’t ask me again


and then click Yes.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 31
Lab 1: Installing and Upgrading to Windows Server 2008

Exercise 2: Create Virtual Machines


During this exercise, you will create and configure two virtual machines for use in
subsequent lab exercises.
Estimated time to complete this exercise: 15 minutes

Scenario
Before deploying Windows Server 2008 to all servers in your office, company policy
states that any new operating system undergoes test deployments. Begin by creating two
virtual machines for use in your tests.

Tasks
1. Start Virtual Server 2005 R2 SP1:

a. Click Start, point to All ProgramsMicrosoft Virtual Server, and then click
Virtual Server Administration Website.

b. Add the specified ISO folders to the virtual server search path:

1) On the Virtual Server Administration Website page, in the left pane


under Virtual Server, click Server Properties.

2) Under Properties, click Search paths.

3) Under Virtual Server Search Paths in the Search paths section, enter
the following paths on separate lines and then click OK.

C:\Labfiles
C:\Labfiles\ISO
C:\VS\Win.ISO

2. Create a virtual machine for Windows Server 2008 Full installation:

Check to see if Student-2008-F1 has been created. If virtual machine Student-2008-F1


Note: has already been created, you may skip the rest of the steps in this task.

a. On the Virtual Server Administration Website page, in the left pane under
Virtual Machines, click Create.

b. For Virtual machine name, enter the following name:

Student-2008-F1

where F1 indicates the virtual machine that will be used for Full installation.
c. For Memory, change the amount of RAM to 512 MB.

32 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

d. For Virtual Hard disk, leave the default settings selected.

e. For Virtual network adapter, open the drop-down menu and select the
virtual network for your location as specified by your instructor.

f. Confirm settings for the new virtual machine, and then click Create to
complete virtual machine creation.

3. Mount the Windows Server 2008 installation media in the DVD Drive:

a. When the screen refreshes, under configuration, click CD/DVD.

b. Under Virtual CD/DVD Drive 1, select Known image files.

c. Open the drop-down menu, select 2008-server-GTR.iso, and then click OK.

4. Create a virtual machine for Windows Server 2008 Server Core installation:

a. On the Virtual Server Administration Website page, in the left pane under
Virtual Machines, click Create.

b. For Virtual machine name, enter the following name:

Student-2008-C1

where C1 indicates the virtual machine that will be used for Server Core
installation.
c. For Memory, change the amount of RAM to 512 MB.

d. For Virtual Hard disk, leave the default settings selected.

e. For Virtual network adapter, open the drop-down menu and select the
virtual network for your location as specified by your instructor.

f. Confirm settings for the new virtual machine, and then click Create to
complete virtual machine creation.

5. Mount the Windows Server 2008 installation media in the DVD Drive:

a. When the screen refreshes, under Configuration, click CD/DVD.

b. Under Virtual CD/DVD Drive 1, select Known image files.

c. Open the drop-down menu, select 2008-server-GTR.iso, and then click OK.

Both virtual machines should indicate that Virtual machine status is Off.
Note:

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 33
Lab 1: Installing and Upgrading to Windows Server 2008

Exercise 3: Install Windows Server 2008


In this exercise, you will perform a clean installation of Windows Server 2008 in a virtual
machine.
Estimated time to complete this exercise: 30 minutes

Scenario
Begin testing the installation of Windows Server 2008 by performing a clean attended
installation in a virtual machine and reviewing installation information for any signs of
failure.

Tasks
1. Start virtual machine(s):

a. Open the Virtual Machine Remote Control Client by clicking Start, pointing
to All programs, clicking Microsoft Virtual Server, and then clicking
Virtual Machine Remote Client.

b. In the Connect to server window, enter localhost and then click Connect.

c. Press Right-Alt+A to view the list of available VMs in the Administration


Console and then double-click Student-2008-F1.

To release control of a virtual machine and allow use of the mouse outside of the virtual
Important: machine windows, press the Right-Alt key on the keyboard.
For the remainder of this lab exercise, all steps are performed within the Student-2008-
F1 virtual machine.

2. Complete the “Collecting Information” phase:

a. On the Install Windows screen for Windows Server 2008, select the desired
options for language, timezone and currency format, and keyboard layout,
and then click Next.

b. On the setup options screen, click Install now.

c. On the product key screen, uncheck Automatically activate Windows


when I’m Online, leave the product key box blank, and then click Next.

d. When prompted for Do you want to enter your product key now?,
click No.

34 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

e. On the operating system selection screen, select Windows Server 2008


Enterprise (Full Installation), select the checkbox for I have selected the
edition of Windows that I purchased, and then click Next.

f. On the end user license agreement (EULA) screen, select I accept the
license terms and then click Next.

Setup will not continue if the EULA is not accepted.


Important:

g. On the type of installation screen, click Custom installation.

h. On the install location screen, create a drive partition for use in later lab
sessions:

1) Note that Disk 0 is shown as Unallocated Space.

2) Click Drive Options (Advanced) and observe available options.

3) Click New to display partition size options.

4) In the Size box, enter 1500, click Apply, and observe the addition of
Disk 0 Partition 1 in the list of available install locations,

You can use New to partition your hard disk as desired prior to installation. In these lab
Note: exercises, you will create a 1500 MB partition that will be used in lab exercises that
accompany the Backup and Recovery module on Day 5 of this course.

If you are using Virtual Machine Remote Control Client Plus, you may receive one of the
Tip: following errors:
This computer's hardware may not support booting to this
disk. Ensure that the disk's controller is enabled in the
computer's BIOS menu.

Failed to create a new partition on the selected unused


space. [Error: 0x80070013]

If you receive either of these errors, shut down the virtual machine, remove the second
hard drive, and repeat these steps.

5) Select Disk 0 Partition 1 and observe that the Delete, Extend, and
Format options are enabled. Also, note the warning that at least 5095
MB of free space is required for operating system installation.

6) Select Disk 0 Unallocated Space and then click Next to begin the
installation.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 35
Lab 1: Installing and Upgrading to Windows Server 2008

3. During the “Installing Windows” phase, access the WinPE Command Shell and
answer the review questions at the end of this exercise:

a. As the installation begins, press SHIFT +F10 to access the WinPE command
shell.

b. Switch to the root of Drive C and observe new directories and files created as
files are copied and expanded.

c. Following the first reboot, open the WinPE command shell, switch to the root
of Drive C, and observe new directories that have been created and
populated.

d. Following the second reboot, open the WinPE command shell, switch to the
root of Drive C, and observe changes in files and directories listed.

e. In the WinPE shell, type exit.

4. Complete installation by logging in:

a. On the user password must be changed screen, click OK.

b. On the Administrator password screen, enter the administrative password


for these labs, confirm the password, and then press Enter.

c. On the password has been changed screen, click OK.

d. When the Initial Configuration Tasks window appears, minimize the


window.

5. Install Virtual Machine Additions:

a. Open the Virtual Server 2005 R2 Administration Website.

b. On the “Student-2008-F1” Status page, under StatusVirtual Machine


Additions, click Install Virtual Machine Additions.

c. If VM Addition Setup does not launch, in Windows Explorer, verify that the
DVD drive indicates that the VMADDITIONS.iso is installed, and then
double-click the DVD drive to open in Windows Explorer.

d. Navigate to the Windows folder and double-click Setup to launch VM


Additions Setup.

e. In the Virtual Machine Additions setup window, click Next, and when the
installation is completed, click Finish.

f. When prompted to restart, click Yes.

g. Following restart, logon using the administrative credentials for these lab
sessions and verify that Virtual Machine Additions are installed.

36 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

6. Modify folder and search options to show file extensions and operating system
files:

a. Click StartComputer.

b. In the Computer window, click OrganizeFolder and Search Options.

c. On the View tab, under Advanced settings, locate and uncheck the options
to Hide extensions for known file types and Hide protected operating
system files.

d. When prompted with the warning regarding displayed protected system


files, click Yes, and click OK.

e. Close the Computer window.

7. Review actions logged by Setup:

a. Navigate to %windir%\logs\CBS and double-click CBS.log to open the log


file in Notepad.

b. Briefly browse the log file and note the verbose detail provided for servicing
activities.

In the Examining Servicing Enhancements module in this course, you will learn how
Note: Component Based Servicing (CBS) enhancements in Windows Server 2008 are used to
stage and install components and updates and log the results in CBS.log.

c. Close Notepad, and then close Windows Explorer.

8. After completing the review questions, suspend virtual machine(s) to release


host resources:

a. On Student-2008-F1, open a command prompt window.

b. Enter the following command:

shutdown /t 0 /s

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 37
Lab 1: Installing and Upgrading to Windows Server 2008

Review
1. Where are errors logged during Setup?

By default, Setup writes information to the CBS.log file.

Note: Setup activities are also recorded in setupact and setupapi log files as you will
observe in the next exercise.

2. How many Setup phases are there in a clean installation of Windows Server 2008?

Two: Collecting information and installing Windows

3. Where are the important logs located after Setup completes?

The CBS.log file is located in the %WinDir%\Logs\CBS folder.

38 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

Exercise 4: Upgrade to Windows Server 2008


During this exercise, you will upgrade an existing Windows Server 2003 domain
controller to Windows Server 2008. During the upgrade, you will open a command shell
and access the installation volume and RAMDISK to review log files for specific
information.
Estimated time to complete this exercise: 60 minutes

Scenario
Servers in your office must be upgraded to Windows Server 2008. Company policy
specifies that all servers must be upgraded and prepared to handle the increased
workload and productivity. You want to make sure that the upgrade process will work on
an existing Windows Server 2003 domain controller you have mirrored in your virtual
machine environment.

Tasks
1. Verify that your DC meets RAM requirements for Windows Server 2008:

a. On the Virtual Server Administration Web site Master Status page, in the left
pane under Virtual Machines, point to Configure and select Student-2003-
DC1.

The virtual machine must be turned off to perform the remaining steps in this task.
Note:

b. Under Student-2003-DC1 Configuration, click Memory.

c. In Memory Properties, note that Virtual machine memory is set to 256.

d. To prepare for upgrade, change the setting from 256 to 512 and then click
OK.

Windows Server 2008 requires a minimum of 512 MB of RAM to begin installation. If


Warning:
you do not change the Memory setting, the installation will fail.

e. Under Student-2003-DC1 Configuration, click Network Adapters.

f. For Connected to, choose Student-northamerica.

2. Mount the Windows Server 2008 installation media in the DVD Drive:

a. Under Student-2003-DC1 Configuration, click CD / DVD.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 39
Lab 1: Installing and Upgrading to Windows Server 2008

b. Select Known image files, open the drop-down menu and select 2008-
server-GTR.iso, and then click OK.

3. Start virtual machine(s):

a. In the Virtual Machine Remote Control Client, if required connect to


localhost, press Right-Alt+A to show available VMs, and then double-click
Student-2003-DC1.

b. Do not boot from CD.

c. If prompted for a computer name, supply the name 2003-DC1.

4. Start Setup and select upgrade options:

a. Click StartMy Computer, and then double-click the DVD drive to launch
Windows Server 2008 Setup.

b. On the Install Windows screen, click Install Now.

If the Install Windows screen is not displayed, navigate to the DVD and launch
Note: Setup.exe.

c. On the important updates screen:

1) Uncheck the box for I want to help make Windows installation


better.

2) Click Do not get the latest updates for installation.

d. On the product key screen:

1) Uncheck the box for Automatically activate Windows when I’m


online, leave the product key box blank, and then click Next.

2) When prompted Do you want to enter your product key now?, click
No.

e. On the Select the edition screen:

1) Select Windows Server 2008 Enterprise (Full Installation).

2) Check the box for I have selected the edition of Windows that I
purchased.

3) Click Next.

f. On the end user license agreement (EULA) screen, select I accept the
license terms and then click Next.

40 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

Setup will not continue if the EULA is not accepted.


Important:

g. On the next screen, click Install now.

h. On the type of installation screen, note the message:

Upgrade has been disabled.

Active Directory® on this domain controller does not contain Windows Server
2008 ADPREP /FORESTPREP updates. See
http://go.microsoft.com/fwlink/?LinkID=91679.

i. Press Esc and when prompted Are you sure you want to cancel Windows
installation?, click Yes.

j. Minimize the Windows Server 2008 Setup window.

k. Close the My Computer window.

5. Set the domain functional level to Windows Server 2003 to prepare for
upgrade:

You can only upgrade Windows Server 2003 domain controllers running in Windows
Warning:
2000 native or higher mode. If your domain controller is running in the default mixed
mode, you must first switch to Windows 2000 native or higher mode by performing the
steps in this task.
Mixed mode supports Windows NT® 4.0, Windows 2000, and Windows Server 2003
domain controllers. Once the domain functional level has been changed to native mode,
Windows NT 4.0 domain controllers cannot be added to the domain.

a. Click Start, point to Administrative Tools, and click Active Directory Users
and Computers.

b. In the Active Directory Users and Computers window, in the left pane,
right-click Contoso.com and select Raise Domain Functional Level.

c. In the Raise Domain Functional Level window, note that the Current
domain functional level indicates Windows 2000 mixed.

d. Open the drop-down menu and select Windows Server 2003, and then click
Raise.

e. When prompted to confirm, click OK.

f. When prompted that the functional level was raised successfully, click OK.

g. Close the Active Directory Users and Computers console.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 41
Lab 1: Installing and Upgrading to Windows Server 2008

6. Prepare the Forest and Domain for upgrade to Windows Server 2008.

a. Open a command prompt window and change the directory to:

<CD\DVD>\sources\adprep

b. Prepare the forest by entering the following command:

adprep /forestprep

c. When prompted for confirmation, type c and then press Enter.

Forest preparation should require approximately five minutes to complete.


Note:

d. Note the following message indicating successful completion:

Adprep successfully updated the forest-wide information.


e. Prepare the domain by entering the following command:

adprep /domainprep

f. Note the following message indicating successful completion:

Adprep successfully updated the domain-wide information.


g. After completing domainprep, type exit and press Enter to close the
Command Prompt window.

7. Repeat the upgrade:

a. Restore the Windows Server 2008 Setup window.

b. On the Install Windows screen, click Install Now.

c. On the important updates screen:

1) Uncheck the box for I want to help make Windows installation


better.

2) Click Do not get the latest updates for installation.

d. On the product key screen:

1) Uncheck the box for Automatically activate Windows when I’m


online.

2) Leave the product key box blank and click Next.

3) When prompted Do you want to enter your product key now?, click
No.

42 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

e. On the Select the edition screen:

1) Select Windows Server 2008 Enterprise (Full Installation).

2) Check the box for I have selected the edition of Windows that I
purchased.

3) Click Next.

f. On the end user license agreement (EULA) screen, select I accept the
license terms and then click Next.

Setup will not continue if the EULA is not accepted.


Important:

g. On the installation type screen, note that the Upgrade option is now
available. To continue, click Upgrade.

h. On the Compatiblity Report screen, review the information and then click
Next.

For the purpose of these labs, you may disregard any reported compatibility issues.
Note:

i. Observe progress and actions performed during the upgrade process.

8. Examine the Copy Files process:

a. During the file copy process, press SHIFT +F10 to access the WinPE
command shell.

b. At the shell prompt, enter the following commands to switch to the root of
Drive C and list the contents:

cd \
dir

c. Write down your observations regarding file and folder contents in the root
of Drive C.

The upgrade process may take quite a bit of time to complete. During this time, your
Note: instructor will review installation troubleshooting tips and may recommend a break
before completing the remainder of the tasks in this exercise.

9. Complete the upgrade process:

a. After the first reboot, press SHIFT +F10 to access the WinPE command
shell.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 43
Lab 1: Installing and Upgrading to Windows Server 2008

b. At the shell prompt, enter the following commands to switch to the root of
Drive C and list the contents:

cd \
dir

c. Write down your observations regarding file and folder contents in the root
of Drive C.

d. Logon using the administrative credentials for these lab exercises.

10. Reinstall Virtual Machine Additions:

Following upgrade, Virtual Machine Additions will be disabled. Perform the steps in this
Note: task to uninstall and reinstall Virtual Machine Additions.

a. Open the Virtual Server 2005 R2 Administration Website.

b. On the “Student-2003-DC1” Status page, under Configuration, click Virtual


Machine Additions.

c. On the Virtual Machine Additions Properties page, click the box for Install
Virtual Machine Additions and then click OK.

d. In the Virtual Machine Remote Control Client, in the AutoPlay dialog box,
click Run setup.exe.

e. Remove the Virtual Machine Additions, restart the virtual machine, and logon
using the administrative credentials for these lab exercises.

f. To launch Virtual Machine Additions Setup for reinstallation, click


StartComputer, and then double-click DVD Drive.

g. Complete the Setup screens to install Virtual Machine Additions, and then
when prompted to restart, click Yes.

h. Logon using the administrative credentials for these lab sessions and verify
that Virtual Machine Additions are installed.

11. Check the Time and Time Zone:

a. Verify the Time and Time Zone match your locale. If not, correct it to match
the Time and Time Zone for your locale. If this is not correct, it will
potentially cause later labs to fail.

44 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

12. Examine the SetupAct.log file:

a. In the Server Manager console, review the information displayed in the


Server Summary, Roles Summary, and Features Summary tiles.

b. Click StartComputer.

c. Double-click Local Disk C: and then double-click the Windows folder.

d. Scroll down to and right-click SetupAct.log, select Open With, and then
select WordPad to open the file.

e. On the Edit menu, click Find, enter Monitor in the Find what box, and then
click Find next to view all instances of Monitor in the file.

f. Review Monitor information in the log file and note the DLL used to install
the display device.

13. Examine the setupapi.dev Device Install Log file:

a. With the Windows folder still open, double-click the INF folder.

b. Scroll down to and right-click setupapi.dev.log, select Open With, and then
select WordPad to open the file.

c. On the Edit menu, click Find, enter [CD-ROM Drive] in the Find what box,
and click Find next.

d. Review files referenced in the [CD-ROM Drive] section of the log file and
record the information for later use.

14. Examine the structure of Drive C:

a. With the Windows\INF folder still open, click the Back button at the top left
of the window twice.

b. This will bring you back to the root of Drive C.

c. Examine files and folders located at the root of Drive C and record the
information for later use.

15. After completing the review questions, suspend virtual machine(s) to release
host resources:

a. On Student-2003-DC1, click StartRun.

b. In the Run dialog box, type the following command and then click OK:

shutdown /t 0 /s

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 45
Lab 1: Installing and Upgrading to Windows Server 2008

Review
1. In Task 9, which folders did you see listed in the root of Drive C?

PerfLogs
Program Files
Users
Windows

2. What happened to the C:\Documents and Settings folder?

In Windows Server 2008, user documents and settings are stored in subfolders under
Users.

3. Which DLL file is associated with the monitor?

disp_ci.dll
montr_ci.dll

4. Which INF file(s) is/are used to install the [CDROM] device?

c:\windows\system32\driverstore\filerepository\cdrom.inf_bc2a1371\cdrom.inf
C:\Windows\INF\cdrom.inf
Note: This is an example of file projection, which will be discussed later in this course.
The INF file in the driver store is projected to C:\Windows\INF

46 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

Lab 2: Examining the Servicing Stack


During this lab, you will update a Windows Vista installation with a hotfix and add an
operating system component. Since Windows Server 2008 and Windows Vista share the
same component based architecture, these tasks will be similar for both operating
systems.
Estimated time to complete this lab: 1 hour 15 minutes

Before You Begin


Before starting this lab, you should:
 Have experience supporting Windows Server 2003 in an enterprise environment.
 Complete the module Examining Servicing Enhancements in this course,
including any module prerequisites.

What You Will Learn


After completing this lab, you will be able to:
 Apply a hotfix and analyze servicing actions.
 Add a feature and analyze servicing actions.

Configuring Your Computer(s)


Each student requires one physical computer with a fully configured virtual machine
environment. Before starting this lab, make sure your computer is configured as
described in the About This Lab section of this Lab Manual.

Configuring Your Virtual Machine Environment


Lab exercises require Virtual Server 2005 R2 SP1 and the following virtual machines
installed or created on the computer:
 Student-Vista-RTM-01: Preconfigured Windows Vista client (RTM version)
Lab exercises also require files located in the C:\Labfiles and C:\VS folders on your
computer or accessible from a network share on the instructor computer.

Accounts and Group Membership


You must log on as an administrative user in order to perform some of the tasks in this
Important: lab.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 47
Lab 2: Examining the Servicing Stack

The following user accounts and passwords must be configured on the physical computer
and in all virtual machines:
 Administrative username and password
o Username: Administrator
o Password: LS1setup!
o Member of: Local Administrators
 Normal username and password
o Username: Usern
o Password: Pass0word1
o Member of: Local Users
Replace n in Usern with the number assigned to you by the instructor.

Domain Membership
Lab exercises may require you to join the following virtual domain(s):
 Contoso.com
Your physical computer is not joined to a domain. Virtual machines joined to a virtual
domain require group and account configurations as shown in the following table.
Table 8. Groups and Accounts

Group Members
Domain Groups
Domain Administrators Administrator
Domain Users Usern
Local Groups
Administrators Administrator, Domain Administrators
Users Usern, Domain Users

48 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

Exercise 1: Preparing for Update Testing


In this exercise, you will prepare a virtual machine for update testing.
Estimated time to complete this exercise: 15 minutes

Scenario
You are an administrator and need to apply an update to Windows Vista computers in
your enterprise environment. To begin testing for deployment, you need to prepare a
Windows Vista virtual machine for testing.

Tasks
1. Mount the hotfix in a virtual CD/DVD:

a. On your host computer, open the Virtual Server Administration Website.

b. In the left pane under Virtual Machines, point to Configure and select
Student-Vista-RTM-01.

Due to the amount of Virtual Machines used during this training, Student-Vista-RTM-01
Note: may be listed on page 2 of the Virtual Server Administration page.

c. Under Configuration, click CD / DVD.

d. Under Virtual CD/DVD Drive 1, select Known image files.

e. In the Fully qualified path to file box, enter the following path and then
click OK.

C:\Labfiles\ISO\KB929735.iso

2. Start virtual machine(s):

a. Open the Virtual Machine Remote Control Client, if required connect to


localhost, press Right-Alt+A to view available VMs, and then double-click
Student-Vista-RTM-01.

b. When the virtual machine opens, observe mini-setup startup.

c. Complete mini-setup as follows:

1) On the Locale page, accept the defaults and click Next.

2) On the Product Key page, click next without entering a Product Key.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 49
Lab 2: Examining the Servicing Stack

3) On the Computer name page, enter Vista-RTM-01 and then click


Next.

4) On the Time and date page, select your time zone and then click Next.

5) On the Thank you page, click Start.

d. Wait for mini-setup and virtual machine restart to complete.

3. Logon and change password:

a. On the logon screen, click the user button to begin logon.

b. If logon completes without prompting for a password:

1) Press Right-Alt+Del or open the Remote Control menu and click Send
Ctrl-Alt-Delete.

2) Click Change a password.

3) Enter the normal user credentials password for these lab exercises,
confirm the new password, press Enter, and when prompted click OK.

4. Show hidden files and folders.

a. Open Windows Explorer.

b. Select the Organize menu and click Folder and Search Options.

c. Select the View tab.

d. Click the radio button next to Show hidden files and folders.

e. Uncheck the box next to Hide extensions for known file types.

f. Uncheck the box next to Hide protected operating system files.

g. Click Yes on the popup and click OK.

50 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

Exercise 2: Examining Update Contents


In this exercise, you will obtain a hotfix and examine the contents.
Estimated time to complete this exercise: 15 minutes

Scenario
You are an administrator and need to apply an update to Windows Vista computers in
your enterprise environment. To begin testing for deployment, you want to examine the
contents of the update.

Tasks
1. Copy the update file to your VM hard drive:

a. Click Start, point to All Programs, click Accessories, and then click
Windows Explorer.

b. Navigate to the DVD Drive and copy the update file WINDOW~1.msu.

c. Navigate to OS (C:), create the folder C:\Hotfix, and paste the copied update
file into the folder.

2. Examine the contents of the update file:

a. Rename WINDOW~1.msu as WINDOW~1.cab.

b. Right-click the WINDOW~1.cab and select Explore.

c. Right-click Windows6.0-KB929735-x86-pkgProperties.txt and select


Extract.

d. In the Extract dialog box, extract the text file to your Desktop.

e. Open the text file and review information about the hotfix.

f. Double-click WINDOW~1.cab to open it. Inside this CAB file, you should find
another CAB file by the name of Windows6.0-KB929735-x86.cab.

g. Right-click the second CAB file with the same name and select Copy.

Do not copy the wusscan.cab file.


Note:

h. Create the folder C:\Hotfix\TEST and paste the copied CAB file into this
folder.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 51
Lab 2: Examining the Servicing Stack

i. Right-click C:\Hotfix\TEST\Windows6.0-KB929735-x86.cab and select


Explore.

j. Right-click _manifest_.cix.xml, select Extract, extract to your Desktop, and


then double-click the XML file to open it in a browser window.

If you prefer to review the XML file in Notepad, right-click on _manifest.cix.xml, select
Note: Open With, and choose Notepad.

k. Use the browser SearchFind on this page to scan the file and identify
which DLL(s) will be updated by this hotfix.

52 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

Review
1. What files do you see in the second .CAB file?

manifest_.cix.xml
1, 2, 3, 8, and 9
update.cat, update.mum, update-bh.cat, update-bf.mum

2. What type of package is this?

pkgProperties shows this is an Update package


Tip: Open the manifest file in Notepad and observe the <Delta> parameters associated

3. Which DLL will be updated by this package?

msshsq.dll

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 53
Lab 2: Examining the Servicing Stack

Exercise 3: Applying Updates


In this exercise, you will extract the contents of the update file, apply the update to a
Windows Vista virtual machine, and review the system logs to determine the results.
Estimated time to complete this exercise: 30 minutes

Scenario
After examining the update contents, you want to test it in a virtual environment before
deploying the update to your production environment.

Tasks
1. Apply the update:

a. Navigate to C:\Hotfix and rename Windows6.0-KB929735-x86.cab as


Windows6.0-KB929735-x86.msu.

b. Double-click Windows6.0-KB929735-x86.msu to launch the hotfix


installer.

c. Follow the installer instructions to apply the hotfix.2

d. When prompted to restart, click Close.

2. Create a snapshot of pending servicing actions before reboot:

a. Open the Registry Editor (regedit.exe) and locate the following registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\
Session Manager

b. Examine the SetupExecute value and record the path and filename for the
XML file that will control actions following reboot.

c. Navigate to the location specified in the registry value and copy the XML file
to C:\Hotfix.

3. Examine actions to be performed on reboot:

e. In C:\Hotfix, double-click the pending actions XML file to open it in Microsoft


Internet Explorer®.

f. Search for the DLL that will be updated by this hotfix and note the
HardLinkFile source and destination.

g. Close Notepad.

54 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

4. Restart to complete the servicing action:

a. Open the Start menu and select Restart.

b. Wait for the machine to reboot and complete servicing actions as indicated
by the message Configuring updates.

c. Logon using the normal user credentials for these lab exercises.

5. Examine the CBS.log:

a. Navigate to %windir%\logs\cbs and double-click CBS.log to open it in


Notepad.

b. Beginning at the top of the log, search the log for KB929735 using
Find-Down and note the following keywords in log entries:

1) Start of Processing – find WcpInitialize.

2) Applicability Check – find detect Parent.

3) Staging – find Staging Package.

4) Staging – find Processing complete.

5) Installation partially completed – find Reboot required.

6) Installation completed – find completed startup processing.

For a detailed analysis of these log entries, see Examining the Servicing Stack, CBS.log
Tip: Examples, “Windows Update That Requires a Reboot” in your workbook.

6. Review hotfix file locations:

a. Browse to %windir%\winsxs and locate the HardLinkFile hotfix DLL you


noted in previous steps.

b. Browse to %windir%\System32 and locate the projected DLL file you noted
in previous steps.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 55
Lab 2: Examining the Servicing Stack

Review
1. Which CBS executable is specified in SetupExecute? How is this executable used?

poqexec.exe
Following reboot, reads contents of pending.xml and performs actions as required

2. Which XML file will be used to define actions following reboot? How is this file used?

\Systemroot\WinSxS\pending.xml
Following reboot, poqexec.exe reads this file to complete the servicing action.

3. Where is the HardLinkFile stored? To which folder is it projected?

Stored in C:\Windows\winsxs
Projected to C:\Windows\System32

56 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

Exercise 4: Installing a New Feature


In this exercise, you will install the operating system component IIS 7.0 on a Windows
Vista virtual machine and analyze log entries that describe component installation.
Estimated time to complete this exercise: 45 minutes

Scenario
After learning more about CBS logging by analyzing an update installation, you want to
determine how CBS logs component installation.

Tasks
1. Launch component installation:

a. Click StartControl PanelProgramsPrograms and Features, and


then click Turn Windows features on or off.

b. In the list of Windows features, click Internet Information Services.

c. Note the shaded box indicating that not all component features are
automatically selected. Expand the feature nodes and observe (but do not
change) the default selections, and then click OK.

d. Wait for the features to be configured.

This component installation does not require a restart.


Note:

e. Close the Control Panel window.

2. Review log entries to determine IIS features that were installed:

a. Open a command prompt window.

b. Navigate to C:\Windows\Logs\CBS.

The below findstr (find string) commands are case sensitive. For more information
Tip: about findstr command, refer to the Command Line Tools appendix that accompanies
this course.

c. To extract all log entries that contain Setting New Install into a text file,
enter the following findstr command:

findstr /C:”Setting Install State” cbs.log >


C:\Users\Administrator\Documents\IIS1.txt

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 57
Lab 2: Examining the Servicing Stack

d. Navigate to C:\Users\Administrator\Documents.

e. To extract all log entries that contain IIS into a second text file, enter the
following findstr command:

findstr /C:”IIS” IIS1.txt > IIS2.txt

f. To extract all IIS log entries that contain new state: 6 into a third text file,
enter the following findstr command:

findstr /C:”new state: 6” IIS2.txt > IIS_yes.txt

The new state: 6 string indicates that the feature was flagged to be installed. These
Note: features correspond to checked boxes under Internet Information Services feature
nodes in Turn Windows features on or off.

g. Open IIS_yes.txt and note IIS features that were installed.

3. Review log entries to determine IIS features that were not installed:

a. To extract all IS log entries that contain new state: 5 into a fourth text file,
enter the following findstr command:

findstr /C:”new state: 5” IIS2.txt > IIS_no.txt

The new state: 5 string indicates that the feature was flagged to not be installed. These
Note: features correspond to unchecked boxes under Internet Information Services feature
nodes in Turn Windows features on or off.

b. Open IIS_no.txt and note IIS features that were not installed.

For a detailed analysis of these log entries, see Examining the Servicing Stack, CBS.log
Tip: Examples, “Installing a New Feature” in your workbook.

4. After completing the review questions, suspend virtual machine(s) to release


host resources:

c. On Student-Vista-RTM-01, click StartRun.

d. In the Run dialog box, type the following command and then click OK:

shutdown /t 0 /s

58 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

Review
1. How many IIS features were installed? List at least five.

Twenty total:
IIS-WebServer-Role, IIS-CommonHttpFeatures, IIS-HttpErrors, IIS-
ApplicationDevelopment, IIS-NetFxExtensibility, IIS-HealthAndDiagnostics, IIS-
HttpLogging, IIS-LoggingLibraries, IIS RequestMonitor, IIS-HttpTracing, IIS-Security, IIS-
URLAuthorization, IIS-RequestFiltering, IIS-Performance, IIS-
WebServerManagementTools, WAS-WindowsActivationService, WAS-ProcessModel,
WAS-ConfiguratonAPI, IIS-StaticContent, IIS-DefaultDocument, IIS-DirectoryBrowsing,
IIS-HttpCompressionStatic, IIS-ManagementConsole,

2. How many IIS features were not installed?

Thirty total

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 59
Lab 3: Configuring and Managing Windows Server 2008

Lab 3: Configuring and Managing Windows


Server 2008
During this lab, you will complete Initial Configuration Tasks, use the Server Manager
graphical user interface and command line utilities to add and remove roles and features,
and examine log files created by role and feature installation and removal.
Estimated time to complete lab exercises: 1 hour

Before You Begin


Before starting this lab, you should:
 Have experience supporting Windows Server 2003 in an enterprise environment.
 Complete the module Configuring and Managing Windows Server 2008 in this
course, including any module prerequisites.
 Successfully complete all exercises in Lab 1 Installing and Upgrading to Windows
Server 2008.

What You Will Learn


After completing this lab, you will be able to:
 Configure the server using the Initial Configuration Tasks interface.
 Add roles using Server Manager.
 Add and remove roles using the Server Manager command line utility.
 Review and observe event viewer and other logging processed.

Configuring Your Computer(s)


Each student requires one physical computer with a fully configured virtual machine
environment. Before starting this lab, make sure your computer is configured as
described in the About This Lab section of this Lab Manual.

Configuring Your Virtual Machine Environment


Lab exercises require Virtual Server 2005 R2 SP1 and the following virtual machines
installed or created on the computer:
 Student-2003-DC1: Preconfigured Windows Server 2003 domain controller
upgraded to Windows Server 2008 in Lab 1.
 Student-2008-F1: Windows Server 2008 Full Installation created in Lab 1.
Lab exercises also require files located in the C:\Labfiles and C:\VS folders on your
computer or accessible from a network share on the instructor computer.

60 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

Accounts and Group Membership


You must log on as an administrative user in order to perform some of the tasks in this
Important: lab.

The following user accounts and passwords must be configured on the physical computer
and in all virtual machines:
 Administrative username and password
o Username: Administrator
o Password: LS1setup!
o Member of: Local Administrators
 Normal username and password
o Username: Usern
o Password: Pass0word1
o Member of: Local Users
Replace n in Usern with the number assigned to you by the instructor.

Domain Membership
Lab exercises may require you to join the following virtual domain(s):
 Contoso.com
Your physical computer is not joined to a domain. Virtual machines joined to a virtual
domain require group and account configurations as shown in the following table.
Table 9. Groups and Accounts

Group Members
Domain Groups
Domain Administrators Administrator
Domain Users Usern
Local Groups
Administrators Administrator, Domain Administrators
Users Usern, Domain Users

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 61
Lab 3: Configuring and Managing Windows Server 2008

Exercise 1: Complete Initial Configuration Tasks


During this exercise, you will configure the Student-2008-F1 virtual machine with
Windows Server 2008 ENT using the Initial Configuration Tasks page after resuming the
virtual machine from its Saved State and installing the virtual machine additions.
Estimated time to complete this exercise: 15 minutes

Scenario
Company policy states that all servers are set up using the Initial Configuration Tasks
page, prior to use.

Tasks
1. Start virtual machine(s):

a. Open the Virtual Machine Remote Control Client, connect to localhost,


press Right-Alt+A to view available VMs, and then double-click Student-
2003-DC1.

b. Press Right-Alt+A to view available VMs and then double-click Student-


2008-F1.

We will complete the remainder of these tasks on Student-2008-F1.


Note:

2. Logon and display the Initial Configuration Tasks (ICT) screen:

a. On the Administrator password screen, enter the administrative password


for these lab sessions to complete the logon process.

b. Note that the Initial Configuration Tasks window is automatically


displayed following logon. Leave this open.

c. In the Initial Configuration Tasks window, note the available options.

3. Complete Initial Configuration Tasks to configure the time zone:

a. Under Provide Computer Information, click Set time zone.

b. In the Date and Time window, click Change time zone.

c. In the Time Zone Settings window, open the list of time zones, select the
Time Zone that applies to your location, and then click OK.

d. Click OK again to confirm your time zone changes.

62 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

4. Complete Initial Configuration Tasks to set a static IP address:

a. Note details displayed for Configure networking.

b. Click Configure Networking.

c. Right-click Local Area Connection and select Properties.

d. Highlight Internet Protocol Version 4 (TCP/IPv4) and click Properties.

e. Select Use the following IP address, enter the following information, and
then click OK:

IP address: 172.24.1.90
Subnet Mask: 255.255.255.0
Default Gateway: 172.24.1.1
Preferred DNS Server: 172.24.1.10
f. Close Local Area Connection Properties and then close Network
Connections.

Make sure that the Student-2003-DC1 Virtual Machine is up and running before you
Note: begin the next steps. Also, make sure that you have the administrative credentials
required to join the Contoso.com domain.

5. Complete Initial Configuration Tasks to join a domain:

a. Click Provide computer name and domain.

b. In the System Properties dialog box:

1) Click Change.

2) In the Computer name box, enter 2008-F1.

3) Under Member of, select Domain and enter Contoso.com.

4) Click OK.

c. When prompted, enter the administrative credentials for these lab exercises
and then click OK.

d. Wait for the successful domain join message, and then in the Computer
Name/Domain Changes dialog box, click OK.

e. In the System Properties dialog box, click Close. When prompted, click
Restart Now.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 63
Lab 3: Configuring and Managing Windows Server 2008

f. Following restart, logon to Student-2008-F1 using the administrative


credentials for these lab exercises.

64 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

Review
1. What is the status of the virtual machine Local Area connection when first booting
into Windows Server 2008?

The VM is Not connected to the virtual network.


2. Is the virtual machine joined to a domain when first logging in?

No. By default the operating system is installed as a member of the workgroup


Workgroup.
3. Why did you set a static IP address for the server?

In an enterprise environment, servers are typically configured with static IP addresses,


and clients are typically configured to use DHCP to obtain IP addresses and other
network settings.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 65
Lab 3: Configuring and Managing Windows Server 2008

Exercise 2: Adding Roles with Server Manager


During this exercise, you will add the DHCP Server role in a virtual machine using
Windows Server 2008 Server Manager.
Estimated time to complete this exercise: 20 minutes

Scenario
Company policy states that adding and removing roles and role services must be tested in
a virtual environment before performing these tasks in a production environment.

Tasks
1. Close the Initial Tasks Configuration window and open Server Manager:

a. On Student-2008-F1, in the Initial Configuration Tasks (ICT) window, check


the box for Do not show this window at logon and then click Close.

In the ICT window, selecting Do not show this window at logon changes the following
Tip: registry value from 0 to 1. To re-enable ICT display at logon, change the registry value
back to 0.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ServerManager\Oobe\
DoNotOpenInitialConfigurationTasksAtLogon

b. By default, closing the Initial Configuration Tasks window opens Server


Manager.

If Server Manager does not open automatically, click Start and then click Server
Note: Manager or point to Administrative Tools and click Server Manager.

c. On the Server Manager home page, note that you can make changes similar to
those found on the Initial Configuration Tasks page.

2. Use Server Manager to add the Windows DHCP Server role:

a. In the actionable tasks list on the right in the in details pane, click Add Roles.

b. In Add Roles Wizard, on the Before You Begin page, review displayed
information and then click Next.

c. On the Select Server Roles page, select the box for DHCP Server, note the
Description displayed on the right, and then click Next.

d. On the Introduction to DHCP Server page, review the information and then
click Next.

66 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

e. On the Select Network Connection Bindings page, note the network


connection automatically selected for this role. To accept the default network
connection, click Next.

f. On the Specify IPv4 DNS Server Settings page, for Preferred DNS Server
IPv4 Address, enter 172.24.1.10 (the static IP address of the DNS server on
Student-2003-DC1), click Validate to verify, wait for the Valid indicator to
appear, and then click Next.

g. On the Specify IPv4 WINS Server Settings page, to accept the default WINS
is not required for applications on this networks, click Next.

h. On the Add or Edit DHCP Scopes page, click Add.

i. In the Add Scope dialog box, enter the following information:

Scope Name: Student


Starting IP Address: 172.24.1.120
Ending IP Address: 172.24.1.130
Subnet Mask: 255.255.255.0
Default Gateway: 172.24.1.1
Subnet Type: (accept the default Wired)
j. Make sure that the Activate this scope box is checked and then click OK.

k. On the Add or Edit DHCP Scopes page, verify the scope and then click Next.

l. On the Configure DHCPv6 Stateless Mode screen, select Disable DHCPv6


stateless mode for this server and then click Next.

m. On the Authorize DHCP Server page, select Use alternate credentials, click
Specify, enter the administrative credentials for Student-2003-DC1, click
OK, and then click Next.

n. On the Confirm Installation Selections page, verify the DHCP server


settings you entered and then click Install.

o. On the Installation Progress screen, observe activities and progress.

p. On the Installation Results screen, review results and then click Close.

q. In Server Manager, in the Roles Summary tile, note that under Roles: 1 of
16 installed, DHCP Server is listed.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 67
Lab 3: Configuring and Managing Windows Server 2008

Review
1. Does the Server Manager home page always display at logon?

No. By default, the Server Manager home page is displayed when you close the ICT
window and at logon, but as with the ICT you can disable this functionality by selecting
the option Do not show this console at logon.

2. Are individual role services specified for the Windows DHCP Server role?

No.

3. Are individual role services specified for the Windows Deployment Services role?

Yes:
Deployment Server
Transport Server

68 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

Exercise 3: Adding and Removing Roles and Features


with ServerManagerCmd
During this exercise, you will add and remove the Windows Server Backup role in a
virtual machine using the Server Manager command line utility.
Estimated time to complete this exercise: 15 minutes

Scenario
Company policy states that adding and removing roles and role services must be tested in
a virtual environment before performing these tasks in a production environment.

Tasks
1. Use ServerManagerCmd to add the Windows Server Backup role:

a. On Student-2008-F1, open an elevated command prompt by clicking Start,


right-clicking Command Prompt, and selecting Run as Administrator.

b. To display command options and examples for ServerManagerCmd.exe, enter


the following command:

servermanagercmd

c. To display roles and features that are currently installed, enter the following
command:

servermanagercmd –query | more

Note installed roles and features indicated by [X]. Press the Space Bar to
scroll page by page or Enter to view line by line.
d. To install Windows Server Backup using ServerManagerCmd, enter the
following command:

servermanagercmd –install Backup-Features

e. Observe the Start Installation message followed by the progress counter


<010/100>. Note that the progress counter increments and installation
results messages are displayed until the installation is completed as indicated
by the Success message and the progress counter indication <100/100>.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 69
Lab 3: Configuring and Managing Windows Server 2008

2. Display installed roles:

a. In the command prompt window, attempt to display installed roles using the
following command:

OCLIST

b. Note the error message indicating that OCLIST is not a recognized command.
This is because OCLIST is only available on a Server Core installation of
Windows Server 2008.

c. Open Server Manager, select StorageWindows Server Backup, and note


the actionable tasks displayed in Server Manager.

3. Use ServerManagerCmd to remove the Windows Server Backup role:

a. In the command prompt window, enter the following command:

servermanagercmd –remove Backup-Features

b. Observe the Start Removal message followed by the Warning that a restart
is required.

c. Exit the command line shell by entering the following command:

exit

d. Restart the computer. When prompted for Comment, enter Restart after
removing WSB, and then click OK.

e. During the restart, note the startup screen display regarding update
configuration.

70 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

Review
1. Does ServerManagerCmd require administrative privileges?

Yes. You must log in as Administrator or open an elevated command prompt using Run
as Administrator.

2. Is the OCLIST command available in a full installation of Windows Server 2008? Is


there an alternative command?

No. To display installed roles, role services, and features in a full installation of
Windows Server 2008, use the command ServerManagerCmd–query | more.

3. What restrictions must be observed when entering ServerManagerCmd commands?

Roles, role services, and features to be added, removed, or managed must be specified
exactly as shown in the ServerManagerCmd –query output. However, the command is
not case-sensitive; for example, Backup-Features may be entered as backup-features.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 71
Lab 3: Configuring and Managing Windows Server 2008

Exercise 4: Review Server Manager Logs


During this exercise, you will open and analyze all logs that are related to Server Manager
GUI and command line based activities.
Estimated time to complete this exercise: 10 minutes

Scenario
Company policy states that all administrators thoroughly view Server Manager logs for all
servers on the network. Review all available logs for successful installs and possible
errors.

Tasks
1. Logon to the virtual machine:

a. On Student-2008-F1, wait for update configuration to complete.

b. Logon using the administrative credentials for these lab sessions.

2. Open and review the basic Server Manager Log file:

The Server Manager log is a hidden file. If you did not uncheck options for Hide
Note: extensions for known file types and Hide protected operating system files in Folder
and Search Options under ViewAdvanced Settings as indicated in previous lab
exercises, you must do so now in order to view logs and other files in this and
subsequent lab exercises.

c. In the Computer window, in the Address Bar, enter the following path:

C:\Windows\Logs

d. The Installation Log file in this folder is the basic installation log for Server
Manager. Double-click ServerManagerInstallationLog.html to display the
report.

e. Notice the removal of the Windows Server Backup feature is not mentioned.

f. The report only displays the results of the installation or removal of roles or
features added using Server Manager, not ServerManagerCmd.exe.

3. View the detailed Server Manager Log file:

a. In the report browser window, click the hyperlink Full log (for
troubleshooting only) to display the full log in Notepad.

72 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

The full log file is located at C:\windows\Logs\ServerManager.log. CBS uses this log file
Note: to record each step in all installation or removal processes performed by Server
Manager.

b. Scroll up and down the log file to view the contents of the file.

c. To filter the log file by category, open a Command Prompt window and
enter the following command:

findstr /C:”[ServerManagerCmd]” C:\Windows\Logs\ServerManager.log


> SMCMD.txt

This command creates the file SMCMD.txt in the current folder.


d. When the command completes, open the command output file in Notepad by
entering the following command:

SMCMD.txt

e. Use Find to search for Start Installation and note the results of the feature
installation.

f. In the Notepad window for ServerManager.log, use Find to search for Start
Installation and note the detailed information recorded by the Windows
Server Backup installation.

4. After completing the review questions, suspend virtual machine(s) to release


host resources:

e. On Student-2008-F1, click StartRun.

f. In the Run dialog box, type the following command and then click OK:

shutdown /t 0 /s

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 73
Lab 3: Configuring and Managing Windows Server 2008

Review
1. How does the findstr command simplify log file analysis?

You can use findstr options to specify a highly verbose log file and extract key
information about specific roles, role services, and features.
Note: Detailed syntax and options for findstr are listed in the Command Line Reference
that accompanies this course. This reference is located in your C:\Labfiles folder.

2. Which components were installed by the Windows Server Backup installation?

As noted in ServerManager.log:
WindowsServerBackup – CoreWindowsServerBackupOptionalComponent

74 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

Lab 4: Installing and Managing Server Core


During this lab, you will perform a Server Core installation of Windows Server 2008, use
command line tools and remote management features to complete initial configuration
and install roles and features.
Estimated time to complete this lab: 2 hours

Before You Begin


Before starting this lab, you should:
 Have experience supporting Windows Server 2003 in an enterprise environment.
 Complete the module Introducing Server Core for Windows Server 2008 in this
course, including any module prerequisites.
 Successfully complete all exercises in Lab 1 Installing and Configuring Windows
Server 2008.

What You Will Learn


After completing this lab session, you will be able to:
 Install the Server Core edition of Windows Server 2008 and complete initial
configuration.
 Add available roles in the Server Core edition of Windows Server 2008.
 Configure available features in the Server Core edition of Windows Server 2008.
 Manage remote Server Core installations from Windows Server 2008 Full
installations.

Configuring Your Computer(s)


Each student requires one physical computer with a fully configured virtual machine
environment. Before starting this lab, make sure your computer is configured as
described in the About This Lab section of this Lab Manual.

Configuring Your Virtual Machine Environment


Lab exercises require Virtual Server 2005 R2 SP1 and the following virtual machines
installed or created on the computer:
 Student-2003-DC1: Preconfigured Windows Server 2003 domain controller
upgraded to Windows Server 2008 in Lab 1.
 Student-2008-F1: Windows Server 2008 Full Installation created in Lab 1.
 Student-2008-C1: Blank virtual machine created in Lab 1.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 75
Lab 4: Installing and Managing Server Core

Lab exercises also require files located in the C:\Labfiles and C:\VS folders on your
computer or accessible from a network share on the instructor computer.

Accounts and Group Membership


You must log on as an administrative user in order to perform some of the tasks in this
Important: lab.

The following user accounts and passwords must be configured on the physical computer
and in all virtual machines:
 Administrative username and password
o Username: Administrator
o Password: LS1setup!
o Member of: Local Administrators
 Normal username and password
o Username: Usern
o Password: LS1setup!
o Member of: Local Users
Replace n in Usern with the number assigned to you by the instructor.

Domain Membership
Lab exercises may require you to join the following virtual domain(s):
 Contoso.com
Your physical computer is not joined to a domain. Virtual machines joined to a virtual
domain require group and account configurations as shown in the following table.
Table 10. Groups and Accounts

Group Members
Domain Groups
Domain Administrators Administrator
Domain Users Usern
Local Groups
Administrators Administrator, Domain Administrators
Users Usern, Domain Users

76 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

Exercise 1: Install Windows Server 2008 Server Core


Editions
In this exercise, you will perform a clean installation of Server Core for Windows Server
2008.
Estimated time to complete this exercise: 30 minutes

Scenario
Begin testing the installation of Windows Server 2008 Server core editions by performing
a clean attended installation and reviewing installation information for any signs of
failure.

Tasks
1. Start virtual machine(s):

a. In the Virtual Machine Remote Control Client, if required connect to


localhost and press Right-Alt+A to show available VMs in the
Administration Console.

b. Double-click Student-2008-C1.

2. Complete the “Collecting Information” phase:

a. On Student-2008-C1, on the Install Windows screen, accept the default


settings for language, time and currency format, and keyboard layout by
clicking Next.

b. On the setup options screen, click Install Now.

c. On the product key screen:

1) Leave the product key box blank.

2) Uncheck the option to Automatically activate Windows when I’m


online.

3) Click Next.

d. When prompted Do you want to enter your product key now?, click No.

e. On the product editions screen, select Windows Server 2008 Enterprise


(Server Core Installation), check the box for I have selected the edition of
Windows that I purchased, and then click Next.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 77
Lab 4: Installing and Managing Server Core

f. On the end user license agreement (EULA) screen, review the agreement,
check I accept the license terms, and then click Next.

Setup will not continue if the EULA is not accepted.


Important:

g. On the installation type screen, click Custom installation.

h. On the install location screen, accept the defaults and click Next.

When using VMRC Plus, you may receive one of the following errors:
Note: This computer's hardware may not support booting to this disk. Ensure
that the disk's controller is enabled in the computer's BIOS menu.
Failed to create a new partition on the selected unused space. [Error:
0x80070013]
If you receive either of these errors, shut down the virtual machine, remove the second
hard drive, and repeat these steps.

3. During the “Installing Windows” phase, access the WinPE Command Shell and
answer the review questions at the end of this exercise:

a. During the installation and after each restart, press SHIFT +F10 to access the
WinPE command shell.

b. Observe installation activity, noting the new directories that are created, and
their contents.

4. Logon and complete setup:

a. At the first logon screen, click Other User.

b. On the next logon screen, for User Name, type Administrator. Leave the
password box blank and press Enter.

c. When prompted to change the password, click OK.

d. On the password change screen, for New Password, enter the administrative
password used for these lab sessions, for Confirm Password, enter the same
password, and then press Enter.

e. On the Your password has been changed screen, click OK.

f. Wait for desktop preparations to complete and observe the command


prompt user interface.

78 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

You can open new command windows by entering start cmd in an existing command
Tip: shell.
If the default command prompt window is closed, you can open a new command
prompt window as follows:
1. Open Task Manager by pressing Ctrl+Shift+Esc or pressing Ctrl+Alt+Del and
clicking Start Task Manager.
2. In Task Manager, click FileNew Task (Run…) and use the Create New Task
dialog box to run cmd.exe. As indicated in the dialog box, the task will be
created with administrative privileges.
You can also reopen the command prompt window by logging off and logging back on:
1. Press Ctrl+Alt+Del to display the Windows Security page.
2. Select Logoff.

5. Install virtual machine additions:

a. Press Right-Alt to free your mouse from the virtual machine.

b. On the Virtual Server 2005 R2 Administration Website, on the Master


Status page, in the left pane under Virtual Machines, point to Configure and
select Student-2008-C1.

c. Under Status, in the Virtual Machine Additions section, click the underlined
link to install Virtual Machine Additions.

d. Click the check box for Install Virtual Machine Additions, and then click
OK.

e. Under Configuration, under CD / DVD, verify that ISO image


“VMAdditions.iso” is displayed.

f. Go back to the Virtual Machine Remote Control window for Student-2008-


C1 and click in the window.

g. At the command prompt, enter the following commands:

d:
cd windows
setup

h. In the Virtual Machine Additions setup window, click Next, and when the
installation is completed, click Finish.

i. When prompted to restart, click Yes.

j. Following restart, logon using the administrative credentials for these lab
sessions and verify that Virtual Machine additions is installed.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 79
Lab 4: Installing and Managing Server Core

Review
1. Where are errors logged during Setup?

Be default, Setup writes information to the CBS.log file.


Note: Setup activities are also recorded in setupaact and setupapi log files as you will
observe in the next exercise.

2. How many Setup phases are there in a clean installation of Windows Server 2008?

Two: Collecting Information and Installing Windows

3. Where are the important logs located after Setup completes?

The CBS.log file is located in the %WindDire%\Logs\CBS folder.

80 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

Exercise 2: Complete Initial Configuration


During this exercise, you will configure regional settings, change the Administrator
password, rename the computer, and join a domain.
Estimated time to complete this exercise: 30 minutes

Scenario
After completing a quick test of the Server Core installation process, you are ready to
configure the server and join it to your domain.

Tasks
1. Start virtual machine(s):

a. In the Virtual Machine Remote Control Client, if required connect to


localhost and press Right-Alt+A to view available VMs, and then double-
click Student-2003-DC1.

Student-2008-DC1 is the Windows Server 2003 domain controller you upgraded to


Note: Windows Server 2008 in a previous lab session. If you have not completed the domain
controller upgrade, return to the first lab session in this Lab Manual and complete the
required tasks.

b. Logon using the administrative credentials for these lab sessions.

2. Obtain network settings for use in later steps:

a. Open a command window and enter the following command:

ipconfig /all

b. Under Ethernet adapter Local Area Connection, record the following:

Setting Value
IPv4 Address
Subnet Mask
Default Gateway
DNS Server

c. Close the command window.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 81
Lab 4: Installing and Managing Server Core

3. Switch back to the Server Core installation:

a. In the Virtual Machine Remote Control Client, press Right-Alt+A to view


available VMs.

b. Double-click Student-2008-C1.

4. Set the Time Zone and Regional Settings:

a. If required, logon to Student-2008-C1 using the administrative credentials


for these lab sessions.

b. In the command window, enter the following command:

timedate.cpl

c. In the Date and Time dialog box, under the Time zone, click Change time
zone.

d. Change the time zone to the time zone for your location, click OK, and then
click OK again to close the Date and Time dialog box.

e. Open the Regional and Language Options dialog box by typing in:

intl.cpl

f. On the Formats tab, change the Current Format to the format for your
location and then click OK.

5. Change the Administrator Password:

a. Change your current password from the command prompt by entering the
following command:

net user administrator *

b. When prompted, type the administrative password for these lab sessions and
then retype the password to confirm.

c. Observe the response The command completed successfully.

The command line does not show password character typed. You can also use this
Note: command to change the password by entering a new password when prompted.

d. Change the password using the Windows Security page:

1) Press Right-Alt+Delete to simulate Ctrl+Alt+Del in the virtual


machine.

2) Click Change a password.

82 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

3) In the Old password box, enter the administrative password for these
lab sessions.

4) In the New password and Confirm password boxes, enter the same
administrative password and then press Enter.

5) Observe the message Your password has been changed and then
click OK.

6. Change the Computer Name of the Server Core virtual machine:

a. At the command prompt, enter the following command to clear the command
window:

cls

b. To change the computer name prior to joining the machine to the Contoso
domain, enter the following command:

netdom renamecomputer %computername% /NewName:2008-C1

c. Review the information regarding the impact of changing the computer name
and then type y and press Enter.

d. Observe the following messages:

The computer needs to be restarted in order to complete the


operation.
The command completed successfully.

7. Restart the virtual machine to apply the computer name change:

a. Press Right-Alt+Delete to open the Windows Security screen.

b. Locate the red Shutdown Options control in the lower right corner and
select Restart. When prompted, enter a Comment and click OK.

c. Following virtual machine restart, logon using the administrative credentials


for these lab sessions.

d. At the command prompt, enter the following command to verify the


computer name change:

hostname

8. Assign a Static IP Address to the Server Core virtual machine:

a. To view current network adapters and connections, enter the following


command:

netsh interface ipv4 show interfaces

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 83
Lab 4: Installing and Managing Server Core

b. Record the Idx value for Local Area Connection for use in later steps.

c. Configure a static IP address for Student-2008-C1:

1) Refer to the ipconfig information for the domain controller that you
recorded in previous steps.

2) Note the fourth octet in the domain controller IP address and add 100
to the octet. For example, if the domain controller IP address is
172.24.1.10, adding 100 to the fourth octet results in the IP address
172.24.1.110. This is the static address you will assign to your Server
Core virtual machine.

3) Using the new IP address calculated above and the Idx number for
Student-2008-C1 and the domain controller Subnet Mask and
Default Gateway address obtained in previous steps, enter the
following command:

netsh interface ipv4 set address name=X source=static


Addr Mask Gateway

where:

X Your network adapter’s Idx number (Example: 2)

Addr Your new IP address (Example: 172.24.1.110)

Mask The DC’s Subnet Mask (Example: 255.255.255.0)

Gateway The DC’s Default Gateway (Example: 172.24.1.1)

The netsh command does not display a successful completion message.


Note:

4) Using the domain controller DNS Server IP address obtained in


previous steps, enter the following command:

netsh interface ipv4 set dnsserver name=2 source=static


address=172.24.1.10

d. To confirm that the above commands completed successfully, enter the


following command:

ipconfig /all

e. Verify that the IPv4 Address, Subnet Mask, Default Gateway, and DNS
Server settings for the Ethernet adapter Local Area Connection are
properly configured.

84 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

9. Join the Server Core virtual machine to the Contoso Domain:

a. To join the domain, you must have the following information:

 The name of the computer you want to join to the domain

 The name of the domain to join

 Credentials for a user with administrative rights

b. Using the information obtained in previous steps, enter the following


command:

netdom join 2008-C1 /domain:Contoso.com /userd:administrator


/passwordd:*

c. When prompted for the password, enter the administrative password for
these lab sessions.

d. Observe the following messages:

The computer needs to be restarted in order to complete the


operation.
The command completed successfully.

e. To complete joining the domain, restart the virtual machine by entering the
following command:

shutdown /r /t 0 /c “Domain join”

f. Following restart, select Other User, logon as Contoso\Administrator, and


verify domain access by entering the following command:

net view 172.24.1.10

g. Record the resources shown in the review questions that follow.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 85
Lab 4: Installing and Managing Server Core

Review
1. What GUI applets did you use in this exercise?

Timedate.cpl to configure timezone


Intl.cpl to configure regional settings

2. What are the two methods for restarting a Server Core installation?

Shutdown /r/t 0 /c “<comment>”


Shutdown control options on the Windows Security screen accessed by Ctrl-Alt-Delete

3. What netsh commands were required to configure static IP address settings?

netsh interface ipv4 set address to configure IP address, Subnet Mask, and Default
Gateway
netsh interface ipv4 set dnsserver to set the DNS Server IP address

4. What Shared resources were listed on the domain controller?

CertEnroll
NETLOGON
SYSVOL

86 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

Exercise 3: Add a Feature and Perform a Backup


During this exercise, you will add the Windows Server Backup feature and perform a
system state backup to become more familiar with the command prompt interface in
Server Core installations.
Estimated time to complete this exercise: 30 minutes

Scenario
Company policy states that you are required to install and test some of the Windows
Backup features prior to company wide deployment.

Tasks
1. Try to run Windows Server Backup on the Server Core virtual machine:

a. At the command prompt, enter the following command:

wbadmin

b. You will receive the following error:

‘wbadmin’ is not recognized as an internal or external


command, operable program or batch file..
c. To see which roles and features are installed, enter the following command:

oclist | more

d. This will display all the currently installed roles and features on this virtual
machine.

To view more entries on each page, expand the window. To scroll the list line by line,
Tip: press Enter. To scroll the list page by page, press the Spacebar.

e. At the end of the oclist output, note that WindowsServerBackup is Not


Installed. Record the component name exactly as shown for use in
subsequent steps.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 87
Lab 4: Installing and Managing Server Core

2. Install the Windows Server Backup feature using OCSETUP:

a. To view OCSETUP command parameters and options, enter the following


command:

ocsetup /?

OCSETUP is case-sensitive. Components must be specified using the case and syntax
Important: shown options and parameters must be specified using Commented [J2]: This note appears to be incomplete.

b. Review the command syntax for OCSETUP and then click OK.

The OCSETUP command line tool is used to install roles and features. For more
Note: information about command syntax, parameters, and usage, refer to the Command
Line Tools reference that accompanies this course.

c. Enter the following command, replacing <component> with the exact syntax
and case for WindowsServerBackup as shown in the oclist output obtained
in the previous task.

start /w ocsetup <component>

d. To verify that the installation was successful, enter the following command:

oclist | more

e. At the end of the oclist output, note that WindowsServerBackup is now


Installed.

3. Use Windows Server Backup to run a system state backup:

a. To view wbadmin commands and parameters, enter the following command:

wbadmin -help

For more information about command syntax, parameters, and usage, refer to the
Note: Command Line Tools reference that accompanies this course.

b. To start a system state backup, enter the following command:

wbadmin start systemstatebackup

c. Note the following error message:

ERROR-An option required for command is missing:BackupTarget. See


usage below.

88 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

d. Review the usage information and reenter the command with local disk C:
specified as the backup target:

wbadmin start systemstatebackup –backuptarget:C:

e. When prompted, type Yes and press Enter to continue.

f. When prompted to start the backup operation, type y and press Enter.

g. Note the following error message:

ERROR-The location for backup is a critical volume.

WBADMIN cannot back up to a critical volume such as a volume that contains system files
Note: by default. However, by adding the following registry key, it is possible to perform a
system state backup to a critical volume:
HKLM\SYSTEM\CurrentControlSet\Services\wbengine\SystemStateBackup\
AllowSSBToAnyVolume

4. Modify the registry to allow System State backup to critical volumes:

a. At the command prompt, enter the following command:

regedt32

b. When Registry Editor opens, navigate to the following registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wbengine

For the following entries, make sure you type the key and value names exactly as
Important: shown, including upper and lower case letters.

c. Right-click wbengine, point to New, and then click Key.

d. Type SystemStateBackup and press Enter.

e. Right-click the SystemStateBackup registry key, point to New, and then


click DWORD (32-bit) Value.

f. Type AllowSSBToAnyVolume and press Enter.

g. Right-click the DWORD value AllowSSBToAnyVolume and click Modify.

h. In the Value data box, change 0 to 1 and then click OK.

i. Close the Registry Editor.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 89
Lab 4: Installing and Managing Server Core

5. Re-run system state backup using a critical volume as the target:

a. Back up the server system state using volume C: as the backup target:

wbadmin start systemstatebackup –backuptarget:c:

b. When prompted to continue, type c and then press Enter.

c. When prompted to start the backup, type y and then press Enter.

The systemstatebackup may take five minutes or more to complete.


Note:

d. After the backup is completed, verify that a System State Backup folder was
created under the following directory:

C:\WindowsImageBackup\ServerName

In other lab sessions, you will examine Windows Server Backup features and functions
Note: in detail.

90 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

Review
1. What are the three ways you can open a second command window on a Server Core
installation?

Server Core always opens a command window at logon following restart. You can open
additional command windows by entering start cmd.exe in a command window or by
pressing Ctrl-Alt-Delete, opening Task Manager, and running cmd.exe. You can also use
the second method to reopen the first command window if it is accidentally closed.

2. Which command allows you to list operating system component installation status
on Server Core installations?

OCLIST

3. Which command allows you to install and remove roles and features in Server Core
installations? How do you specify components to install or remove?

OCSETUP <ComponentName> - where <ComponentName> is case-sensitive

4. How can you specify directories and files that contain spaces when entering them at
the command prompt?

Enclose the directory or file name in double quotes (“ “).

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 91
Lab 4: Installing and Managing Server Core

Exercise 4: Locally and Remotely Administer Server


Core
During this exercise, you will review Server Core logs locally and remotely and manage
disk storage remotely.
Estimated time to complete this exercise: 30 minutes

Scenario
You are now ready to test local and remote management capabilities for your Server Core
installation by viewing event logs locally and remotely accessing the storage subsystem in
a Disk Management console running on a full installation of Windows Server 2008.

Tasks
Initial tasks in this exercise will be performed on the virtual machine with a Server Core
Note: installation of Windows Server 2008.

1. On the Server Core computer, view event logs locally:

a. Switch to virtual machine 2008-C1:

1) In the Virtual Machine Remote Control Client, press Right-Alt+A to


view available VMs and then double-click Student-2008-C1.

2) Logon using the administrative credentials for these lab sessions.

b. At the command prompt, use wevtutil to send the System event log to a text
file by entering the following command:

wevtutil qe /f:text system > syslog1.txt

c. View command output captured in the text file by entering the following
command:

syslog1.txt

2. On the Server Core computer, enable remote management:

a. At the command prompt, type the following netsh command to allow


Remote Management through the firewall on the Server Core computer for
all logon profiles:

netsh advfirewall set allprofiles settings remotemanagement enable

b. Press Enter and observe the Ok response.

92 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

3. On the Server Core computer, enable remote volume management:

a. At the command prompt, type the following net command to start the
Virtual Disk Service:

net start VDS

b. Press Enter and observe the response.

c. Type the following netsh command to allow Remote Volume Management


through the firewall on the Server Core computer:

netsh advfirewall firewall set rule group=”remote volume


management” new enable=yes

d. Press Enter and observe the number of rules updated and the Ok response.
Record your observations in the review questions at the end of this exercise.

The remaining tasks in this exercise will be performed on the virtual machine with a Full
Note: installation of Windows Server 2008.

4. On the Full installation computer, create a management console to manage the


Server Core computer:

a. Switch to virtual machine Student-2008-F1:

1) In the Virtual Machine Remote Control Client, press Right-Alt+A to


view available VMs and then double-click Student-2008-F1.

2) Logon using the administrative credentials for these lab sessions.

b. Open the Start menu, type MMC in the Start Search box and then press
Enter.

c. In Console1, open the File menu and save the console to your Desktop as
RemoteMgmt_C1.msc.

Should the following task fail, check Student-2003-DC1 VM to ensure the time and time
Important: zone match Student-2008-F1 and Student-2008-C1.

5. Add remote advanced firewall management to your console:

a. In the RemoteMgmt_C1 console, open the File menu and click Add/Remove
snap-in.

b. Select Windows Firewall with Advanced Security and click Add.

c. In the Select Computer dialog box, select The following computer and then
click Browse.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 93
Lab 4: Installing and Managing Server Core

d. In the Enter the object name to select box, type 2008-C1, click Check
Name and verify that the computer name is valid, and then click OK.

e. When prompted, enter the administrative credentials for these lab sessions
and then click OK.

f. Click Finish, and then click OK to return to the management console.

6. Enable remote event log management through the Server Core computer
firewall:

a. In the RemoteMgmt_C1 console, in the console tree on the left, expand


Windows Firewall with Advanced Security on 2008-C1 and click Inbound
Rules.

b. In the Inbound Rules pane, scroll down to locate the following rules:

 Remote Event Log Management (NP-In)

 Remote Event Log Management (RPC)

 Remote Event Log Management (RPC-EPMAP)

c. Right-click each of the above rules and select Enable Rule.

d. Collapse the Windows Firewall with Advanced Security on 2008-C1 node.

7. Add the remote Event Viewer to the management console:

a. Open the File menu and click Add/Remove snap-in.

b. Select Event Viewer and click Add.

c. In the Select Computer dialog box, select The following computer and then
click Browse.

d. In the Enter the object name to select box, type 2008-C1 and then click
Check Name.

e. When prompted, enter the administrative credentials for these lab sessions
and then click OK.

f. Click OK and then click OK to return to the management console.

8. Use your management console to view event logs on the Server Core
computer:

a. In the RemoteMgmt_C1 console, expand Event Viewer and then expand


Windows Logs.

b. Click Setup and review logged events.

94 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

c. Click System and review logged events.

d. Click Application and review logged events.

e. Collapse the Event Viewer node.

9. Enable remote volume management through the firewall on the Server Core
computer:

a. In the RemoteMgmt_C1 console, in the console tree on the left, expand


Windows Firewall with Advanced Security on 2008-C1 and click Inbound
Rules.

b. Scroll down to locate the following rules:

 Remote Volume Management–Virtual Disk Service (RPC)

 Remote Volume Management–Virtual Disk Service Loader (RPC)

 Remote Volume Management (RPC-EPMAP)

c. Note that these rules are already enabled.

These rules were enabled on the Server Core computer by the following command:
Note: netsh advfirewall firewall set rule group=”remote volume
management” new enable=yes

d. Collapse the Windows Firewall with Advanced Security on 2008-C1 node.

10. Add Disk Management to your management console:

a. In the RemoteMgmt_C1 console, open the File Menu and click Add/Remove
snap-in.

b. Select Disk Management and click Add.

c. In the Select Computer dialog box, select The following computer and then
click Browse.

d. In the Enter the object name to select box, type 2008-C1 and then click
Check Names.

e. When prompted, enter the administrative credentials for these lab sessions
and then click OK.

f. Click Finish and then click OK to return to the management console.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 95
Lab 4: Installing and Managing Server Core

11. Use your management console to remotely manage volumes on the Server
Core computer:

a. In the RemoteMgmt_C1 console, expand Disk Management(2008-C1).

b. Right-click Disk 0 and select Shrink Volume.

c. Note the total size and the size of available shrink space on the volume and
record this information in the review questions at the end of this exercise.

d. Click Cancel.

e. Collapse the Disk Management node.

f. Save and close the management console.

12. After completing the review questions, suspend virtual machine(s) to release
host resources:

a. Shut down Student-2008-F1

b. Shut down Student-2008-C1.

c. Shut down Student-2003-DC1.

96 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

Review
1. What command was used to open the firewall on the Server Core computer for
remote management?

netsh advfirewall set allprofiles settings remotemanagement enable

2. What additional commands are required to enable remote volume management?

net start VDS


netsh advfirewall firewall set rule group=” remote volume management” new
enable=yes

3. How much space could have been saved by shirking the dynamic volume on the
Server Core computer?

Total size before shrink in MB: 130044


Size of available shrink space in MB: 64967
Total size after shrink in MB: 65077 (if maximum shrink space is used)

4. Which is the easier method to enable remote management: running netsh


commands locally on a server core installation or running console snap-ins on a
remote computer?

Answer varies – for discussion during module review


Key Point: netsh set group= commands enable or disable multiple rules at once, whereas
MMC requires each rule to be enabled or disabled individually and may lead to missing
one or more rules.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 97
Lab 5: Deploying Windows Server 2008

Lab 5: Deploying Windows Server 2008


During this lab, you will use various methods to deploy Windows Server 2008 using
Unattend answer files and Windows Deployment Services (WDS).
Estimated time to complete this lab: 4 Hours

Before You Begin


Before starting this lab, you should:
 Have experience supporting Windows Server 2003 in an enterprise environment.
 Complete the module Examining Deployment technologies in this course,
including any module prerequisites.
 Successfully complete all exercises in Lab 1 Installing and Upgrading to Windows
Server 2008.

What You Will Learn


After completing this lab session, you will be able to:
 Create an answer file for unattended setup.
 Create answer file for WDS Client
 Implement a Multicast Transmission using the Windows Deployment Services
Management Console.
 Implement a Multicast Transmission using WDSMCAST.EXE.
 Obtain and analyze client install logs.

Configuring Your Computer(s)


Each student requires one physical computer with a fully configured virtual machine
environment. Before starting this lab, make sure your computer is configured as
described in the About This Lab section of this Lab Manual.

Configuring Your Virtual Machine Environment


Lab exercises require Virtual Server 2005 R2 SP1 and the following virtual machines
installed or created on the computer:
 Student-2003-DC1: Preconfigured domain controller upgraded to Windows Server
2008 in Lab 1.
 Student-2008-F1: Windows Server 2008 Full Installation created in Lab 1.
 Student-2008-D1: Blank VM for unattended install
(may be created in lab exercise)

98 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.


Supporting Windows Server 2008 for Setup

 Student-2008-D2: Blank VM for PXE Boot


(may be created in lab exercise)
 Student-2008-D3: Blank VM for Multicast
(may be created in lab exercise)
Lab exercises also require files located in the C:\Labfiles and C:\VS folders on your
computer or accessible from a network share on the instructor computer.

Accounts and Group Membership


You must log on as an administrative user in order to perform some of the tasks in this
s Important: lab.

The following user accounts and passwords must be configured on the physical computer
and in all virtual machines:
 Administrative username and password
o Username: Administrator
o Password: LS1setup!
o Member of: Local Administrators
 Normal username and password
o Username: Usern
o Password: LS1setup!
o Member of: Local Users
Replace n in Usern with the number assigned to you by the instructor.

Domain Membership
Lab exercises may require you to join the following virtual domain(s):
 Contoso.com
Your physical computer is not joined to a domain. Virtual machines joined to a virtual
domain require group and account configurations as shown in the following table.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 99
Lab 5: Deploying Windows Server 2008

Table 11. Groups and Accounts

Group Members
Domain Groups
Domain Administrators Administrator
Domain Users Usern
Local Groups
Administrators Administrator, Domain Administrators
Users Usern, Domain Users

100 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

Exercise 1: Create Virtual Machines


During this exercise, you will create and configure two virtual machines for use in
subsequent lab exercises.
Estimated time to complete this exercise: 15 minutes

Scenario
Before deploying Windows Server 2008 to all servers in your office, company policy
states that any new operating system undergoes test deployments. Begin by creating two
virtual machines for use in your tests.

Tasks
1. Configure the Virtual Server search path:

a. On the Virtual Server Master Status page, in the left pane under Virtual
Server, click Server Properties.

b. Under Properties, click Search paths.

c. Under Virtual Server Search Paths in the Search paths section, verify or
enter the following paths on separate lines and then click OK.

C:\VS\Win.ISO
C:\Labfiles\ISO
C:\Labfiles\Virtual_Floppy

2. Create virtual machine Student-2008-D1 for unattended deployment testing:

a. On the Virtual Server Master Status page, in the left pane under Virtual
Machines, click Create.

b. For Virtual machine name, enter Student-2008-D1.

c. For Memory, change the amount of RAM to 512 MB.

d. For Virtual Hard disk, leave the following default settings selected to create
a new 127 GB IDE hard disk.

e. For Virtual network adapter, open the drop-down menu and select the
network for your location.

f. Confirm settings for the new virtual machine, and then click Create to
complete virtual machine creation.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 101
Lab 5: Deploying Windows Server 2008

3. Mount the Windows Server 2008 installation media in the DVD Drive:

a. When the screen refreshes, under Configuration, click CD/DVD.

b. Under Virtual CD/DVD Drive 1, select Known image files.

c. Open the drop-down menu, select 2008-server-GTR.iso, and then click OK.

4. Create virtual machine Student-2008-D2 for WDSClient PXE boot testing:

a. On the Virtual Server Master Status page, in the left pane under Virtual
Machines, click Create.

b. For Virtual machine name, enter Student-2008-D2.

c. For Memory, change the amount of RAM to 512 MB.

d. For Virtual Hard disk, leave the following default settings selected to create
a new 127 GB IDE hard disk.

e. For Virtual network adapter, open the drop-down menu and select the
network for your location.

f. Confirm settings for the new virtual machine, and then click Create to
complete virtual machine creation.

5. Enable Undo disks for Student-2008-D2:

a. On the Student-2008-D2 Configuration page, under Configuration, click


Hard disks.

b. On the Virtual Hard Disk Properties page, check the box for Enable undo
disks and then click OK.

If you do not perform the steps to Enable undo disks, lab exercises will fail.
Warning:

6. Mount the Windows Server 2008 installation media in the DVD Drive:

a. When the screen refreshes, under configuration, click CD/DVD.

b. Under Virtual CD/DVD Drive 1, select Known image files.

c. Open the drop-down menu, select 2008-server-GTR.ISO, and then click OK.

7. Create virtual machine Student-2008-D3 for WDS Multicast testing:

a. On the Virtual Server Master Status page, in the left pane under Virtual
Machines, click Create.

b. For Virtual machine name, enter Student-2008-D3.

102 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

c. For Memory, change the amount of RAM to 512 MB.

d. For Virtual Hard disk, leave the following default settings selected to create
a new 127 GB IDE hard disk.

e. For Virtual network adapter, open the drop-down menu and select the
network for your location.

f. Confirm settings for the new virtual machine, and then click Create to
complete virtual machine creation.

8. Enable Undo disks for Student-2008-D3:

a. On the Student-2008-D3 Configuration page, under Configuration, click


Hard disks.

b. On the Virtual Hard Disk Properties page, check the box for Enable undo
disks and then click OK.

If you do not perform the steps to enable Undo disks, lab exercises will fail.
Warning:

9. Mount the Windows Server 2008 installation media in the DVD Drive:

a. When the screen refreshes, under configuration, click CD/DVD.

b. Under Virtual CD/DVD Drive 1, select Known image files.

c. Open the drop-down menu, select 2008-server-GTR.ISO, and then click OK.

The virtual machines should all indicate that Virtual machine status is Off.
Note:

10. Mount the Windows AIK installation CD on Student-2008-F1:

a. On the Virtual Server Master Status page, under Virtual Machines, point to
Configure and select Student-2008-F1.

b. Click CD/DVD.

c. Choose Known image files and enter C:\Labfiles\ISO\rc1_waik.iso

d. Click OK.

11. Verify Student-2008-F1 network connection:

a. Under Configuration, click Network Adapters.

b. For Connected to, verify that the network adapter for your location is
selected.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 103
Lab 5: Deploying Windows Server 2008

Exercise 2: Unattended Setup of Windows Server


2008 Standard Edition
In this exercise, you will use Windows System Image Manager (WSIM) to author an
answer file for Windows Server 2008. The answer file will automate all prompts during
setup and also add a role and configure it.
Estimated time to complete this lab: 1 hour

Scenario
Administrator is installing Windows Server 2008 and wants to automate setup and install
various roles and configure these roles with the minimal amount of work

Tasks
1. Install the Windows AIK on Student-2008-F1:

a. In the Virtual Machine Remote Control Client, press Right-Alt+A to show


available VMs and then double-click Student-2008-F1.

b. After the virtual machine has started, browse to the DVD drive D:\ and
double-click startcd.exe.

c. Complete the Windows AIK installation.

2. Mount the Windows Server 2008 installation media in the DVD Drive:

a. On the Virtual Server Student-2008-F1 Configuration page, click CD / DVD.

b. Under Virtual CD/DVD Drive 1, select Known image files, open the drop-
down menu and select 2008-server-GTR.ISO, and then click OK.

3. Mount the virtual floppy disk on Student-2008-F1:

a. On the Configuration page, click Floppy Drive.

b. For Known Floppy disks, enter the following path and then click OK:

C:\Labfiles\VIRTUAL_FLOPPY\virtual_floppy.vfd

4. Open Windows System Image Manager:

a. Switch to the Virtual Machine Remote Control Client window for Student-
2008-F1.

b. Click StartAll ProgramsWindows AIKWindows System Image


Manager.

104 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

c. In the Windows Image pane, right click Select a Windows image or catalog
file and choose Select Windows Image.

d. Change Files of Type to catalog files (*.clg).

e. Browse to e:\sources and choose install_Windows Longhorn


SERVERSTANDARD.clg.

f. In the Answer File pane, right-click Create or open an answer file and
choose New Answer File.

5. Add the Disks and Partitions component:

a. In the Windows Image pane, expand Windows Longhorn


SERVERSTANDARD\Components so all available components are visible.

b. Navigate to Windows Longhorn SERVERSTANDARD\Components\


Microsoft-Windows-Setup\DiskConfiguration\Disk.

c. Expand CreatePartitions.

d. Right-click CreatePartition and choose Add Setting to Pass 1 WindowsPE.

e. In the Answer File pane, navigate to Components\1WindowsPE\


Microsoft-Windows-Setup_neutral\DiskConfiguration.

f. Under Disk, the Disk Properties pane under Settings, enter the following
settings:

DiskID 0
WillWipeDisk TRUE
g. In the Answer File pane, under the first listed disk, navigate to
CreatePartitions\CreatePartition.

h. Enter the following settings:

EXTEND True
ORDER 1
SIZE (Do Not Modify)
TYPE PRIMARY
i. On the Windows Image pane, navigate to Windows Longhorn
SERVERSTANDARD \Components\ Microsoft-Windows-Setup
\DiskConfiguration\Disk\ModifyPartitions\ModifyPartition.

j. Right-click ModifyPartition and choose Add Setting to Pass 1 WindowsPE.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 105
Lab 5: Deploying Windows Server 2008

k. In the Answer File pane, navigate to Components\1 windowsPE\


Microsoft-Windows-Setup\DiskConfiguration\Disk(DiskID=”0”)\
ModifyPartitions\ModifyPartition.

l. Enter the following settings:

ACTIVE TRUE
EXTEND (Do Not Modify)
FORMAT NTFS
LABEL OS
LETTER C
ORDER 1
PartitionID 1
6. Add the Image Install component:

a. On the Windows Image pane, navigate to Windows Longhorn


SERVERSTANDARD\Components\ Microsoft-Windows-Setup\
ImageInstall\ OSIMAGE.

b. Right-click InstallTo and choose Add Setting to Pass 1 WindowsPE.

c. On the Answer File pane, navigate to Components\1 WindowsPE\


\Microsoft-Windows-Setup_neutral\ImageInstall.

d. Under OSIMAGE, enter the following settings:

InstallToAvailablePartition (Do Not Modify)


WillShowUI ONERROR
e. Under InstallTo, enter the following settings:

DiskID 0
PartitionID 1
f. On the Windows Image pane, navigate to Windows Longhorn
SERVERSTANDARD\Components\ Microsoft-Windows-Setup\
ImageInstall\ OSIMAGE\InstallFrom

g. Right-click MetaData and choose Setting to Pass 1 Windows PE.

h. On the Answer File pane, navigate to Components\1 WindowsPE\


\Microsoft-Windows-Setup_neutral\ImageInstall\InstallFrom\
MetaData.

106 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

i. Under MetaData, enter the following settings:

Key /image/index
Value 1
7. Add the User Data component:
a. In the Windows Image pane, navigate to Components\1 windowsPE\
Microsoft-Windows-Setup\UserData
b. Right-click UserData and choose Setting to Pass 1 Windows PE.

c. On the Answer File pane, navigate to Components\1 WindowsPE\


\Microsoft-Windows-Setup_neutral\UserData.

d. Under UserData, enter the following setting:

AcceptEula True

We will not be entering a Product Key for this exercise. Due to this, we will be prompted
Note: for the Product Key. This is expected.

8. Add the International Local component:


a. On the Windows Image pane, navigate to Windows Longhorn
SERVERSTANDARD\Components\Microsoft-Windows-International-
Core-WINPE.

b. Right-click SetupUILanguage and choose Add Setting to Pass 1


WindowsPE.

c. In the Answer File pane, navigate to Components\1 WindowsPE\


Microsoft-Windows-International-Core-WINPE.

d. Enter the following settings:

InputLocale 0409:00000409
LayeredDriver (Do Not Modify)
SystemLocale en-US
UILanguage rg en-US
UILanguageFallback en-US
UserLocale en-US
e. Under SetupUILanguage, enter the following setting:

UILanguage en-US

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 107
Lab 5: Deploying Windows Server 2008

9. Add the Administrator Password:

a. On the Windows Image pane, navigate to Components\Microsoft-


Windows-Shell-Setup\UserAccounts.

b. Right-click AdministratorPassword and choose Add Setting to Pass 7


oobesystem.

c. In the Answer File pane, navigate to Components\7 oobeSystem\


Microsoft-Windows-Shell-Setup\UserAccounts\AdministratorPassword

d. Enter the following setting:

Value LS1setup!
10. Setup autologon for the administrator account:

a. On the Windows Image pane, navigate to Components\Microsoft-


Windows-Shell-Setup\Autologon.

b. Right-click Password and choose Add Setting to Pass 7 oobeSystem.

c. In the Answer File pane, navigate to Components\7 oobeSystem\


Microsoft-Windows-Shell-Setup\Autologon.

d. Enter the following settings:

Domain Contoso
Enabled true
LogonCount 1
UserName Administrator
e. Under Password, enter the following setting:

Value LS1setup!
11. Disable Server Manager from opening:

a. On the Windows Image pane, navigate to Components\


Microsoft-Windows-ServerManager-SvrMgrNC.

b. Right-click Microsoft-Windows-ServerManager-SvrMgrNC and choose


Add Setting to Pass 4 Specialize.

c. In the Answer File pane, navigate to Components\4 Specialize\ Microsoft-


Windows-ServerManager-SvrMgrNC.

108 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

d. Enter the following setting:

DoNotOpenServerManagerAtLogon True
12. Disable Initial Configuration Tasks from opening:

a. On the Windows Image pane, navigate to Components\


Microsoft-Windows-OutOfBoxExperience.

b. Right-click Microsoft-Windows-OutOfBoxExperience and choose Add


Setting to Pass 4 Specialize.

c. In the Answer File pane, navigate to Components\4 Specialize\ Microsoft-


Windows-OutOfBoxExperience.

d. Enter the following setting:

DoNotOpenInitialConfigurationTasksAtLogon True
OemExtensionXmFilePath (Do not modify)
13. Set the Display Resolution:

a. On the Windows Image pane, navigate to Components\Microsoft-


Windows-Shell-Setup.

b. Right-click Microsoft-Windows-Shell-Setup and choose Add Setting to


Pass 7 oobeSystem.

c. In the Answer File pane, navigate to Components\7 oobeSystem\


Microsoft-Windows-Shell-Setup\Display.

d. Enter the following settings:

ColorDepth 32
DPI (Do Not Modify)
HorizontalResolution 800
RefreshRate 60
VerticalResolution 600
14. Set the Computername:

a. On the Windows Image pane, navigate to Components\Microsoft-


Windows-Shell-Setup.

b. Right-click Microsoft-Windows-Shell-Setup and choose Add Setting to


Pass 4 Specialize.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 109
Lab 5: Deploying Windows Server 2008

c. In the Answer File pane, navigate to Components\4 Specialize\


Microsoft-Windows-Shell-Setup.

d. Enter the following setting:

Computername WDSServer
15. AutoJoin the domain:

a. On the Windows Image pane, navigate to Components\Microsoft-


Windows-UnattendedJoin\Identification.

b. Right-click Credentials and choose Add Setting to Pass 4 Specialize.

c. In the Answer File pane, navigate to Components\4 Specialize\


Microsoft-Windows-UnattendedJoin\Identification.

d. Enter the following settings:

JoinDomain Contoso
e. Under Credentials, enter the following settings:

Domain Contoso
Password LS1setup!
Username Administrator
16. Add Synchronous Commands to install and configure WDS:

a. On the Windows Image pane, navigate to Components\Microsoft-


Windows-Shell-Setup\FirstLogonCommands.

b. Right-click SynchronousCommand and choose Add Setting to Pass 7


oobeSystem.

c. In the Answer File pane, navigate to Components\7 oobeSystem\


Microsoft-Windows-Shell-Setup\FirstLogonCommands\
SynchronousCommand.

d. Enter the following settings:

CommandLine servermanagercmd.exe -install WDS -


allsubfeatures
Description Add the WDS Role
Order 1

110 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

e. On the Windows Image pane, navigate to Components\Microsoft-


Windows-Shell-Setup\FirstLogonCommands.

f. Right-click SynchronousCommand and choose Add Setting to Pass 7


oobeSystem.

g. In the Answer File pane, navigate to Components\7 oobeSystem\


Microsoft-Windows-Shell-Setup\FirstLogonCommands\
SynchronousCommand.

h. Enter the following settings:

CommandLine WDSUTIL /Initialize-Server /REMINST:


"c:\RemoteInstall"
Description Initialize WDS Server
Order 2
i. On the Windows Image pane, navigate to Components\Microsoft-
Windows-Shell-Setup\FirstLogonCommands.

j. Right-click SynchronousCommand and choose Add Setting to 7


oobeSystem

k. In the Answer File pane, navigate to Components\7 oobeSystem\


Microsoft-Windows-Shell-Setup\FirstLogonCommands\
SynchronousCommand.

l. Enter the following settings:

CommandLine WDSUTIL /Add-Image /ImageFile:


"d:\sources\boot.wim" /ImageType:Boot
where d: is the DVD Drive for the virtual
machine
Description Add boot image
Order 3
m. On the Windows Image pane, navigate to Components\
Microsoft-Windows-Shell-Setup\FirstLogonCommands.

n. Right-click SynchronousCommand and choose Add Setting to Pass 7


oobeSystem.

o. In the Answer File pane, navigate to Components\7 oobeSystem\


Microsoft-Windows-Shell-Setup\FirstLogonCommands\
SynchronousCommand.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 111
Lab 5: Deploying Windows Server 2008

p. Enter the following settings:

CommandLine WDSUTIL /Add-Image /ImageFile:


"d:\sources\
Install.wim" /ImageType:Install
where d: is the DVD Drive for the VM
Description Add install images
Order 4
q. On the Windows Image Pane, navigate to Components\Microsoft-
Windows-Shell-Setup\FirstLogonCommands.

r. Right-click SynchronousCommand and choose Add Setting to Pass 7


oobeSystem

s. In the Answer File pane, navigate to Components\7 oobeSystem\


Microsoft-Windows-Shell-Setup\FirstLogonCommands\
SynchronousCommand.

t. Enter the following settings:

CommandLine WDSUTIL /set-server /answerclients:all


Description Set WDS server to answer all clients
Order 5
17. Save the answer file:

a. Click ToolsValidate Answer File.

b. Click FileSave Answer File As.

c. Navigate to the A:\ drive and save the file to the virtual floppy disk as
autounattend.xml.

112 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

Important: Checklist Before Starting WDS Install on STUDENT-2008-D1


Before you start the next task, review previous steps and verify the following:
1. Make sure Student-2003-DC1 is started.
2. On Student-2008-F1:
a. DHCP Scope configuration and authorization as described in Lab 3
Exercise 2.
Click Start, All Programs, Administrative tools, DHCP.
Verify that the DHCP Server is authorized and running, and that a DHCP
scope exists with the following settings:
Start IP address 172.24.1.120
End IP address 172.24.1.130
Default Gateway 172.24.1.1
Parent Domain Contoso.com
DNS Server 172.24.1.10
b. Network adapter set to the network for your current location.
c. Domain membership and connectivity
3. On Student-2008-D1:
a. Windows Server 2008 ISO mounted in DVD drive.
b. Undo disk enabled
Network adapter set to the network for your current location.

18. Verify the Student-2008-F1 domain membership:

a. Verify domain membership and connectivity by running the following


command:

netdom verify 2008-F1 /domain:contoso

19. Unmount the virtual floppy disk on Student-2008-F1:

a. On the Virtual Server Master Status page, in the left pane under Virtual
Machines, point Configure and select Student-2008-F1.

b. Click Floppy Drive.

c. Click No Media.

20. Mount the virtual floppy disk on Student-2008-D1:

a. On the Virtual Server Master Status page, in the left pane under Virtual
Machines, point Configure and select Student-2008-D1.

b. Click Floppy Drive.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 113
Lab 5: Deploying Windows Server 2008

c. Click Known Floppy Disks.

d. Enter the following path and then click OK:

C:\Labfiles\VIRTUAL_FLOPPY\virtual_floppy.vfd

21. Boot the virtual machine from the Windows Server 2008 media:

a. In the Virtual Machine Remote Control Client, press Right-Alt+A to show


available VMs and then double-click Student-2008-D1.

Since a virtual floppy is attached to this virtual machine, you must perform the following
Warning:
step to change the boot priority before allowing the virtual machine to boot.

b. As soon as the BIOS starts loading, press Delete to enter BIOS Setup and
change the boot order to the following:

CD-ROM
Hard Drive
Floppy Drive
PXE

c. Save the BIOS changes and restart.

Windows Server 2008 Setup will automatically read the autounattend.xml file on the
Note: floppy disk to complete setup according to the answer file settings. The only item you
should be prompted for is the Product Key, which is not specified in the answer file.

d. When the installation is completed, logon and open the Windows


Deployment Services console to ensure that FirstLogonCommands
executed correctly.

e. If any of the FirstLogonCommands failed, you must configure the WDS


server manually as follows:

1) Make sure Server-2008-gtr.iso is captured in the DVD for Student-


2008-D1.

2) Click Start, All Programs, Administrative tools, Windows


Deployment Services.

3) Open the Servers branch, right-click and choose Configure Server.

4) Complete the WDS Wizard screens to add boot images, install images,
and set the server to answer all clients.

114 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

Review
1. What logfile contains the FirstLogonCommands?

Windows\Panter\Unattendgc\setupact.log

2. When do FirstlogonCommands execute?


After login but before the desktop.
For more information, refer to Unattend.chm

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 115
Lab 5: Deploying Windows Server 2008

Exercise 3: Deploy using Multicast Transmission


In this exercise, you will create a WDS Multicast Transmission from the Windows
Deployment Services Management Console. You will then PXE Boot a VM client and join
the multicast transmission.
Estimated time to complete this lab: 30 minutes

Scenario
Administrator is testing out how to create multicast transmissions after installing
Windows Server 2008

Tasks
1. Unmount the virtual floppy disk on Student-2008-D1:

a. On the Virtual Server Master Status page, under Virtual Machines, point to
Configure and select Student-2008-D1.

b. Click Floppy Drive.

c. Click No Media.

2. Use Winimage to add wdsclient.xml to the virtual floppy disk:

This will automate the WDSCLIENT prompts so the only prompt you have to enter is
Note: which image to install.

a. On the host machine, install C:\Labfiles\WINIMAGE\winima81.exe

b. In Winimage, open C:\Labfiles\VIRTUAL_FLOPPY\virtual_floppy.vfd

c. Add C:\Labfiles\WDSCLIENT_ANSWER_FILE\wdsclient.xml to the virtual


floppy.

d. Close Winimage.

3. Mount the updated virtual floppy disk on Student-2008-D1:

a. On the Virtual Server Master Status page, under Virtual Machines, point to
Configure and select Student-2008-D1.

b. Click Floppy Drive.

c. Click Known Floppy Disks.

116 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

d. Enter the following path and then click OK:

C:\Labfiles\VIRTUAL_FLOPPY\virtual_floppy.vfd

4. Enable wdsclient.xml:

a. On Student-2008-D1, copy A:\WDSCLIENT.XML to the


C:\REMOTEINSTALL\WDSCLIENTUNATTEND folder.

b. Click StartAll ProgramsAdministrative ToolsWindows


Deployment Services.

c. Right-click wdsserver.contoso.com and choose Properties.

d. On the Client tab, check the box to Enable unattended installation.

e. For x86 architecture, click Browse and locate the


C:\remoteinstall\WdsClientUnattend\wdsclient.xml file you created
earlier.

f. Click OK to save settings.

5. Create a WDS Multicast Transmission using the WDS Management Console:

a. On Student-2008-D1, click StartAll ProgramsAdministrative


ToolsWindows Deployment Services.

b. Navigate to Multicast Transmissions.

c. Right-click and choose Create Multicast Transmission.

d. When prompted, enter the following:

Transmission WDS Autocast Transmission


Name
ImageGroup Select ImageGroup1
Image Windows Longhorn SERVERSTANDARD
Multicast Type Auto-Cast

6. Boot Student-2008-D3 and connect to the Multicast Transmission:

a. Boot the virtual machine Student-2008-D3.

It may be necessary to change the boot order in the BIOS.


Note:

b. When prompted for PXE boot, press F12.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 117
Lab 5: Deploying Windows Server 2008

WDSClient startup can take some time in a virtual machine.


Note:

c. When prompted for the edition to install, select Windows Longhorn


SERVERSTANDARD.

7. Verify client use of Multicast Transmission:

a. Wait until the client starts copying files.

b. In the Windows Deployment Services Management Console, under WDS


Autocast Transmission, verify that the client is listed.

118 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

Review
1. What are the three requirements for multicasting?

Routers that support multicast, at least one install image (that you want to transmit) on
the server, and the boot.wim from the Windows Server 2008 media.

2. What are the two types of multicast transmissions?

Auto-cast and Scheduled-Cast

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 119
Lab 5: Deploying Windows Server 2008

Exercise 4: Deploy using Multicast Transmission with


WDSMCAST
In this exercise, you will manually create a multicast transmission using wdsutil.exe and
then join the transmission using wdsmcast.exe. This can be used in place of the WDS
management console. This exercise though will focus on the ability for a WDS server or
WDS Transport server to multicast any type of file.
Estimated time to complete this lab: 30 minutes

Scenario
This scenario is where a customer would setup a WDS Transport server in a environment
where they do not have active directory. They want to multicast images (or any type of
file). This is similar to an ADS server but without the ability to run sequences or control
the client after setup. In this exercise, you will use the previously installed WDS server; in
a production environment, you would install Windows Server 2008 and only choose the
Transport Server option when adding the WDS role.
When setting up this type of configuration, you can’t PXE boot unless you write your own
PXE provider, because WDS Transport server contains the listener but not the provider. If
you don’t write your own PXE provider, you can boot up using other methods such as CD-
ROM, which is the method we will use for this exercise.

Tasks
1. Create a WDS Multicast Transmission using the WDSUTIL:

a. In Virtual Machine Remote Control Client, press Right-Alt+A to show


available VMs and then double-click Student-2008-D1.

b. To start the multicast using WDSUTIL, open a command prompt window and
enter the following command:

Wdsutil /new-namespace /server:wdsserver /friendlyname:”Custom WDS


autocast” /namespace:”wds autocast” /contentprovider:wds
/configstring:c:\remoteinstall\images\imagegroup1
/namespacetype:autocast

2. Prepare to launch WinPE on Student-2008-D3:

a. On the Virtual Server Master Status page, in the left pane under Virtual
Machines, point to Configure and select Student-2008-D3.

b. On the Student-2008-D3 Status page, under Status, open the context menu
for the virtual machine and select Turn off.

120 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

To avoid problems with later exercises, make sure you select Turn off.
Important:

c. When prompted regarding loss of unsaved data in the virtual machine, click
OK.

d. Mount the CD that contains the PXE Provider in the DVD Drive:

1) On the Status page under Configuration, click CD / DVD.

2) Open the drop-down menu for Known images, select


C:\Labfiles\ISO\winpe21_wdsmcast.iso, and then click OK.

3. Partition and format the hard disk:

a. In the Virtual Machine Remote Control Client, press Right-Alt+A to show


available VMs and then double-click Student-2008-D3.

b. As the BIOS starts loading, when prompted press any key to boot from CD
or DVD.

c. Once you are at the WINPE 2.1 command prompt, enter the following
commands to repartition and format the C: Drive:

diskpart
sel disk 0
clean
create part primary size=10000
sel part 1
assign letter=f
format FS=NTFS quick

d. After completing drive preparation, exit from diskpart.

4. Transfer res.rwm from the WDS server using wdsmcast.exe:

a. Switch to the DVD Drive (should be D:).

b. At the command prompt, enter the following command:

D:\Wdsmcast.exe /transfer-file /server:wdsserver /namespace:”wds


autocast” /sourcefile:res.rwm /destinationfile:f:\res.rwm
/username:contoso\administrator

c. When prompted, enter LS1setup! for the password.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 121
Lab 5: Deploying Windows Server 2008

The actual file transfer will be very quick even though it is a 2 GB file.
Note: For the purpose of this exercise, the file being transferred is not important. The
intention is to show how you can multicast any file to the client.

d. To verify that the file transfer worked, verify that F:\res.rwm exists.

122 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

Review
1. Does transport server require Active Directory

No. It can be used without AD

2. To PXE boot a client with a transport server what would a customer have to create?

Customer would have to create a PXE provider

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 123
Lab 5: Deploying Windows Server 2008

Exercise 5: Enable Logging and Netmon Trace


In this exercise, you will learn how to enable logging and review the new statistical event
log entries for client installs. You will also capture a network monitor trace of a client
booting up and installing an image.
Estimated time to complete this lab: 30 minutes

Scenario
Customer is having problems with his WDS server so you need to enable logging and
capture a network trace for analysis.

Tasks
1. On Student-2008-D1, enable advanced logging:

a. To enable advanced logging, set the following registry keys:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Tracing\WDSServer
Name: EnableFileTracing
Value type: REG_DWORD
Value data: 1

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Tracing\WDSMGMT
Name: EnableFileTracing
Value type: REG_DWORD
Value data: 1

HKLM\Software\Microsoft\Tracing\WDSMMC
Name: EnableFileTracing
Value:1

b. In the WDS Management Console, right-click the WDSServer Node, select


All Tasks, and choose Restart.

The restart is required to start tracing.


Note:

2. Review event log entries for client installs:

a. Click StartServer Manager.

b. Expand Diagnostics.

c. Expand Event Viewer.

124 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

d. Open Windows Logs\Applications and services logs\Microsoft\


Windows\Deployment-Services-Diagnostics.

e. Review the events.

3. Enable WDSCLIENT event logging:

a. Open a command prompt window.

b. At a command prompt, enter the following command:

Wdsutil /set-server /wdsclientlogging /enabled:yes


/logginglevel:info

4. PXE boot client and choose image:

a. Restart Student-2008-D2 and press F12.

a. When prompted, choose to install the Windows Longhorn Standard image

5. Review the event logs again

a. Click StartServer Manager.

b. Expand Diagnostics.

c. Expand Event Viewer.

d. Open Windows Logs\Applications and services logs\Microsoft\


Windows\Deployment-Services-Diagnostics.

e. Review the events.

Note
You should now see WDSClient entries in the event log.

6. Use WDSUTIL to get general information about the server

a. At the command prompt, enter the following command:

wdsutil /get-server /show:all /detailed>wdsutil.txt

b. Review wdsutil.txt to see what kind of information is available for


troubleshooting.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 125
Lab 5: Deploying Windows Server 2008

7. Review tracing logs:

a. Browse to c:\windows\tracing.

b. Review the following logs:

 Wdsmgmt.log

 Wdsmmc.log

 Wdsserver.log

c. The Application event log also contains many entries specific to WDS.
Review the Application event log for additional information.

8. Mount the Netmon3 CD on your WDS Virtual Machine:

a. On the Virtual Server Master Status page, in the left pane under Virtual
Machines, point to Configure and click Student-2008-D1.

b. Under Virtual CD/DVD Drive 1, select Known image files.

c. Open the drop-down menu, select C:\Labfiles\ISO\netmon3.iso, and then


click OK.

9. Install Netmon3:

a. In the Virtual Machine Remote Control Client, press Right-Alt+A to show


available VMs and then double-click Student-2008-D1.

b. Logon using the administrative credentials for these lab sessions.

c. Open Windows Explorer, navigate to the DVD Drive, and then locate and
double-click nmsetup.msi.

d. Follow the installer instructions to complete the installation.

10. Start a network trace:

a. Open Network Monitor.

b. On the Create a New Capture tab, click CaptureStart.

11. Start the installation on your WDSClient virtual machine:

a. In the Virtual Machine Remote Control Client, press Right-Alt+A to show


available VMs and then double-click Student-2008-D2.

b. When prompted, choose Windows Longhorn SERVERSTANDARD.

126 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

You should still have a WDS Multicast Transmission for Windows Server 2008 Standard.
Note: Make sure you join a multicast transmission.

12. Stop the network trace:

a. When the setup reboots, in Virtual Machine Remote Control Client switch
back to your WDS virtual machine Student-2008-D1.

b. In Network Monitor, click CaptureStop.

13. Review the network trace:

a. Configure a DHCP filter to see the Dora process:

1) In Network Monitor, select the Display Filter tab.

2) Type .protocol.dhcp.

3) Click Apply Filter.

4) Review the DHCP packets.

b. Configure a TFTP request filter to see TFTP requests for files:

1) In Network Monitor, select the Display Filter tab.

2) Type .protocol.udp.destinationport==69.

3) Click Apply Filter.

4) Review the UDP TFTP request packets.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 127
Lab 5: Deploying Windows Server 2008

Review
1. Why does the client go through the DORA process twice?

One is for PXE and the other is when the WDSCLIENT(WINPE) initializes networking

2. When you disable architecture discovery what is the 1st file downloaded?

PXEBOOT.COM

128 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

Lab 6: Examining File Systems


During this lab, you will use the Windows Server 2008 Disk Management Console, and the
Diskpart, FSUtil, and iCACLs command line utilities to examine and manage exFAT, TxF,
NTFS Self-healing, and RAID file system features and functions.
Estimated time to complete this lab: 50 minutes

Before You Begin


Before starting this lab, you should:
 Have experience supporting Windows Server 2003 in an enterprise environment.
 Complete the module Examining File Systems in this course, including any module
prerequisites.
 Successfully complete all exercises in Lab 1 Installing and Upgrading to Windows
Server 2008.

What You Will Learn


After completing this lab, you will be able to:
 Format and use exFAT on a new Hard Disk Drive.
 Use Diskpart to shrink and extend a volume.
 Use Software Fault tolerance to create and manage RAID configurations.

Configuring Your Computer(s)


Each student requires one physical computer with a fully configured virtual machine
environment. Before starting this lab, make sure your computer is configured as
described in the About This Lab section of this Lab Manual.

Configuring Your Virtual Machine Environment


Lab exercises require Virtual Server 2005 R2 SP1 and the following virtual machines
installed or created on the computer:
 Student-2008-F1: Windows Server 2008 Full installation created in Lab 1.
Lab exercises also require files located in the C:\Labfiles and C:\VS folders on your
computer or accessible from a network share on the instructor computer.

Accounts and Group Membership


You must log on as an administrative user in order to perform some of the tasks in this
Important: lab.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 129
Lab 6: Examining File Systems

The following user accounts and passwords must be configured on the physical computer
and in all virtual machines:
 Administrative username and password
o Username: Administrator
o Password: LS1setup!
o Member of: Local Administrators
 Normal username and password
o Username: Usern
o Password: LS1setup!
o Member of: Local Users
Replace n in Usern with the number assigned to you by the instructor.

Domain Membership
Lab exercises may require you to join the following virtual domain(s):
 Contoso.com
Your physical computer is not joined to a domain. Virtual machines joined to a virtual
domain require group and account configurations as shown in the following table.
Table 12. Groups and Accounts

Group Members
Domain Groups
Domain Administrators Administrator
Domain Users Usern
Local Groups
Administrators Administrator, Domain Administrators
Users Usern, Domain Users

130 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

Exercise 1: Working with the exFAT File System


During this exercise, you will use Diskpart to format a partition with the exFAT file
system and compare the features to that of a NTFS file system partition.
Estimated time to complete this exercise: 15 minutes

Scenario
Your customer wishes to test and explore the exFAT file system prior to moving
administrative tools to an external USB flash drive for mobility.

Tasks
1. Add hard disk drives to the virtual machine Student-2008-F1:

a. On the Virtual Server 2005 R2 Master Status page, in the left pane under
Virtual Disks, point to Create and select Dynamically Expanding Virtual
Hard Disk.

b. In the Virtual hard disk file name box, type:

C:\Labfiles\exfat.vhd

c. Change the size of the hard disk from 127 GB to 10 GB and then click Create.

d. In the left pane under Virtual Disks, point to Create and click Dynamically
Expanding Virtual Hard Disk to create a second hard disk.

e. In the Virtual hard disk file name box, type:

C:\Labfiles\exfat2.vhd

f. Change the size of the hard disk from 127 GB to 10 GB and then click Create.

g. On the Master Status page, in the left pane under Virtual Machines, point to
Configure and click Student-2008-F1.

h. Under Configuration, click Hard disks.

i. Click the Add disk button twice.

j. Under Virtual hard disk 2, in the Fully qualified path to file box, type:

C:\Labfiles\exfat.vhd

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 131
Lab 6: Examining File Systems

k. Under Virtual hard disk 3, in the Fully qualified path to file box, type:

C:\Labfiles\exfat2.vhd

l. Click OK to add both disks.

2. Partition and format newly added disk with Diskpart:

a. Start up the Student-2008-F1 virtual machine.

b. After the VM is started, open a command prompt window.

c. In the command prompt window, enter the following command to load


Diskpart:

diskpart

d. At the DISKPART prompt, enter the following command to list the currently
added disks:

list disk

e. To select Disk 1 to work with, type:

select disk 1

f. To create a new primary partition, type:

create partition primary size=10000

g. Select the primary partition and format it using the new exFAT file system by
entering the following commands:

format fs=exFAT

Allow formatting to complete (this make take a minute or two).


h. Select the newly created partition and assign a drive letter:

select partition 1
assign letter = S

i. Exit Diskpart by entering the following command:

exit

3. Browse the volume and compare NTFS with exFAT:

a. To view the volumes on the computer, click StartComputer.

b. Right-click the S: volume and choose Properties.

c. With the exFAT Properties open, go back to the Computer window.

132 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

d. Right-click the C: volume and choose Properties.

e. In the Taskbar, select the S: volume to make it active.

f. With both windows displayed on the screen, compare the different tabs and
features.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 133
Lab 6: Examining File Systems

Review
1. What tabs are present on a volume with formatted with the NTFS file system?

The General, Tools, Hardware, Sharing, Security, Shadow Copies, Previous Versions,
Quota, and Customize tabs are present.

2. What tabs are present on a volume formatted with the exFAT file system?

The General, Tools, Hardware, Sharing, and Customize tabs are present.

3. Are Quotas or Security available on exFAT volumes?

No

134 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

Exercise 2: Managing NTFS Self Healing


During this exercise, you will use the FSUtil command line utility to manage NTFS Self
Healing.
Estimated time to complete this exercise: 15 minutes

Scenario
Due to the sensitive data contained on the server, your customer wishes to disable NTFS
Self Healing to prevent any automatic corrections to the file system.

Tasks
1. Use FSUtil to query the self healing state of the volume:

a. Open an elevated command prompt.

If you are not logged on as the administrator, right-click Command Prompt and click
Important: Run as administrator.

b. Using FSUtil, query the self healing state of the C: volume by entering the
following command:

fsutil repair query c:

c. Record the results.

2. Disable NTFS Self Healing and observe the results:

a. Disable NTFS Self Healing on the C: volume by entering the following


command:

fsutil repair set c: 0

b. Initiate a repair of a specific file by entering the following command:

fsutil repair initiate c: 0x001600000000123d

The above number is an example of a file number used to demonstrate the ability to
Note: manually repair a file. This is not expected to be a common scenario. In order to locate
the file number of a specific file, the file number would need to be queried through the
NtQueryInformationFile API or a third-party3 utility would need to be used.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 135
Lab 6: Examining File Systems

Review
1. What is the self healing state on the C:\ volume when we first run the FSUtil?

Self healing is enabled for the volume c: with flags 0x1.

2. What is the command used to initiate a repair?

Fsutil repair initiate

3. What happens when you try to initiate a repair for file reference
0x001600000000123d?

You receive an error stating: “Error: The attempted operation required self healing to be
enabled.”
Note: Command used to do this is fsutil repair initiate c: 0x001600000000123d

136 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

Exercise 3: Resetting the TxF Log File


During this exercise, you will use the FSUtil command line utility to reset the TxF log file.
Estimated time to complete this exercise: 15 minutes

Scenario
When you try to install updates, you receive the following error message:
Code 0x8007000b

Also, when trying to perform a Windows Backup, you receive the following error
message:
File backup could not save your automatic backup settings for the following
reason:
Transaction support within the specified file system resource manager is not
started or was shutdown due to an error. (0x80071A91)
Please try again.

This problem may occur if the transactional log file that is used by the NTFS file system is
corrupted.

Tasks
1. Use FSUtil to display details on the default Transactional Resource Manager.

a. Open an elevated command prompt.

If you are not logged on as the administrator, right click Command Prompt and click
Important: Run as administrator.

b. Display the details for the current default Transaction Resource Manager by
entering the following command:

fsutil resource info c:

c. Record the KTM log path for the Transactional Resource Manager.

d. Record the Transactional Resource Manager state.

2. Use FSUtil to reset the TxF log file.

a. Using FSUtil, reset the TxF log file by entering the following command:

fsutil resource setautoreset true C:\

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 137
Lab 6: Examining File Systems

b. Run the following command again:

fsutil resource info c:

c. Record the note mentioned in the output.

d. Reboot the server.

138 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

Review
1. What is the KTM log path for the Transaction Resource Manager?

KTM Log Path for RM:


\Device\HarddiskVolume1\$Extend\$RmMetadata\$TxfLog\$TxfLog::KtmLog

2. What does the FSUtil resource setautoreset true command do?

It specifies that the default Transactional Resource Manager will clean its transactional
metadata on the next mount.

3. After resetting the TxF log file, what note is displayed when listing the information
on the resource?

This RM will reset its metadata the next time it starts.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 139
Lab 6: Examining File Systems

Exercise 4: Using Icacls


During this exercise, you will use the Icacls command line utility to backup the ACLs for a
specific file. You will then use the TAKEOWN command line utility to take ownership of a
file. After taking ownership of the file, you will use Icacls to grant yourself permissions to
the file. Lastly, you will restore the backed up ACLs using Icacls.
Estimated time to complete this exercise: 25 minutes

Scenario
You need to modify or replace a file for which only Trusted Installer has Full Control.

Tasks
1. Delete Acpi.sys

a. Open Windows Explorer and navigate to C:\Windows\System32\Drivers.

b. Locate and delete the file acpi.sys.

c. You should receive an Access denied error message.

d. Right-click acpi.sys, select Properties, and then click the Security tab.

e. Record the permissions for the currently logged on account.

f. Record the permissions for the Trusted Installer.

2. Use iCACLs.exe to backup the ACLs for the C:\Windows\System32\Drivers


directory.

a. Open an elevated command prompt.

If you are not logged on as the administrator, right click Command Prompt and click
Important: Run as administrator.

b. Back up the ACLs for the C:\Windows\System32\Drivers directory by


entering the following command:

icacls C:\windows\system32\drivers\* /save C:\AclFile

c. You should receive a message stating:

Successfully processed 255 files; Failed processing 0 files.

140 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

3. Use Takeown.exe to take ownership of the ACPI.SYS driver.

a. At the same elevated command prompt, take ownership of the ACPI.SYS


driver by typing the following command at the command prompt and
pressing Enter:

takeown /f C:\Windows\System32\Drivers\ACPI.SYS

b. You should receive a message indicating success.

4. Use iCACLs.exe to Grant Permissions to Acpi.sys

a. At the same elevated command prompt, use iCACLs to grant delete and write
permissions for the currently logged on account to ACPI.SYS by typing the
following and pressing Enter:

icacls C:\Windows\System32\Drivers\ACPI.SYS /grant


<UserAccount>:(D,WDAC)

where <UserAccount> is replaced by the account you are currently logged in


under. For example:
icacls c:\windows\system32\drivers\acpi.sys /grant
Administrator:(D,WDAC)

5. Delete Acpi.sys

a. Open Windows Explorer and navigate to C:\Windows\System32\


Drivers.

b. Locate and delete the file ACPI.SYS.

c. When prompted to delete the file, click No.

If you accidentally do delete the file, click Edit and choose Undo Delete or restore
Note: ACPI.SYS from the Recycle Bin.

d. Right-click acpi.sys, select Properties, and then click the Security tab.

e. Record the permissions for the currently logged on account.

6. Restore the Permissions to Acpi.sys Using iCACLs

a. Attempt to restore the permissions we previously backed up using iCACLs by


entering the following command at the elevated command prompt:

icacls C:\Windows\System32\Drivers /restore C:\ACLFile

b. Record the error.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 141
Lab 6: Examining File Systems

c. Use Takeown.exe to take ownership of the driver afd.sys by entering the


following command:

takeown.exe /f C:\Windows\System32\Drivers\afd.sys

d. Attempt to restore the permissions once again by entering the following


command:

icacls C:\Windows\System32\Drivers /restore C:\ACLFile

e. In Windows Explorer, navigate to C:\Windows\System32\Drivers.

f. Locate acpi.sys and view and record the permissions.

g. Locate afd.sys and view and record the permissions.

142 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

Review
1. What is in the C:\ACLFile?

The backed up permissions for all the files in the C:\Windows\System32\Drivers


directory.

2. What permissions does the logged on account have for the ACPI.sys driver prior to
granting Delete and Write permissions?

None. The Administrator account is not even listed on the Security tab.

3. What permissions does the Trusted Installer have for the ACPI.sys driver?

The Trusted Installer has Full Control.

4. How do the permissions appear for the logged on account after granting Delete and
Write permissions using iCACLs?
The Delete and Write permissions appear as Special permissions on the Security tab for
the currently logged in account

5. Why did we receive an error when attempting to restore the backed up permissions
using iCACls the first time?

Since we used iCACLs to backup the permissions for all the drivers in the
C:\Windows\System32\Drivers directory, we are attempting to restore the backed up
permissions for each of the drivers. Since we do not have ownership of the 1394bus.sys
driver which is processed prior to the acpi.sys driver, we receive an access denied error
message.

6. How could we have avoided this error?

There are several different ways to resolve this. One option would be to take ownership
of the acpi.sys file and then backup the permissions for only the file. Another option
would be to use the /c parameter on the restore which would allow us to continue with
the operation on error.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 143
Lab 7: Examining Storage Systems

Lab 7: Examining Storage Systems


During this lab, you will add Microsoft Multipath Input/Output (MPIO) in Windows
Server 2008, configure a connection to an iSCSI target, create an iSNS Server, and add the
Storage Manager for SANs feature to manage targets. You will also add the File Server
Resource Manager feature to administer quota limits and run reports on user files located
on the server.
Estimated time to complete this lab: 1 hour

Before You Begin


Before starting this lab, you should:
 Have experience supporting Windows Server 2003 in an enterprise environment.
 Complete the module Examining Storage Systems in this course, including any
module prerequisites.

What You Will Learn


After completing this lab session, you will be able to:
 Perform the installation of Microsoft MPIO.
 Configure and manage Microsoft MPIO using the MMC interface.
 Perform the installation and removal of File Server Resource Manager.
 Configure and manage FSRM using quotas and storage reports

Configuring Your Computer(s)


Each student requires one physical computer with a fully configured virtual machine
environment. Before starting this lab, make sure your computer is configured as
described in the About This Lab section of this Lab Manual.

Configuring Your Virtual Machine Environment


Lab exercises require Virtual Server 2005 R2 SP1 and the following virtual machines
installed or created on the computer:
 Student-2003-DC1: Pre-configured Windows Server 2003 Domain Controller
upgraded to Windows Server 2008 in Lab 1
 Student-2008-01: Pre-configured Windows Server 2008 Full Installation
 Student-S1 : Pre-configured Windows Server 2008 Full Installation
 Student-Z1: Pre-configured Windows Server 2008 Full Installation

144 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

Lab exercises also require files located in the C:\Labfiles and C:\VS folders on your
computer or accessible from a network share on the instructor computer.

Accounts and Group Membership


You must log on as an administrative user in order to perform some of the tasks in this
Important: lab.

The following user accounts and passwords must be configured on the physical computer
and in all virtual machines:
 Administrative username and password
o Username: Administrator
o Password: LS1setup!
o Member of: Local Administrators
 Normal username and password
o Username: Usern
o Password: LS1setup!
o Member of: Local Users
Replace n in Usern with the number assigned to you by the instructor.

Domain Membership
Your physical computer is not joined to a domain. Lab exercises may require you to join
the following virtual domain(s):
 Contoso.com
Virtual machines joined to a virtual domain require group and account configurations as
shown in the following table.
Table 13. Groups and Accounts

Group Members
Domain Groups
Domain Administrators Administrator
Domain Users Usern
Local Groups
Administrators Administrator, Domain Administrators
Users Usern, Domain Users

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 145
Lab 7: Examining Storage Systems

Exercise 1: Managing Volumes


In this exercise, you will use Disk Management and Diskpart to manage local disks.
Estimated time to complete this lab: 15 minutes

Scenario
You have added new disks to your server and want to use Diskpart to prepare them for
operating system use.

Tasks
1. In Virtual Server, create two new 5 GB hard disk drives for virtual machine
Student-2008-01:

a. If the virtual machine Student-2008-01 is running, shut down the VM.

b. On the Virtual Server 2005 R2 Master Status page, in the left pane under
Virtual Disks, point to Create and select Dynamically Expanding Virtual
Hard Disk.

c. In the Virtual hard disk file name box, type:

C:\Labfiles\Student1.vhd

d. Change the size of the hard disk from 127 GB to 5 GB and then click Create.

e. In the left pane under Virtual Disks, point to Create and click Dynamically
Expanding Virtual Hard Disk to create a second hard disk.

f. In the Virtual hard disk file name box, type:

C:\Labfiles\Student2.vhd

g. Change the size of the hard disk from 127 GB to 5 GB and then click Create.

2. Add the new hard disks to Student-2008-01:

a. On the Master Status page, in the left pane under Virtual Machines, point to
Configure and click Student-2008-01.

b. Under Configuration, click Hard disks.

c. Click the Add disk button.

d. Under Virtual hard disk 2, in the Fully qualified path to file box, type:

C:\labfiles\Student1.vhd

146 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

e. Under Virtual hard disk 3, in the Fully qualified path to file box, type:

C:\labfiles\Student2.vhd

f. Click OK to add both disks.

g. Turn on the virtual machine Student-2008-01 and logon using


administrative credentials for these lab sessions. If prompted for computer
name, supply the name S2.

h. In the Server Manager window, expand the Storage node and select Disk
Management.

i. When prompted to initialize the disk, click OK.

3. Create and delete a spanned volume and observe the results:

a. In Disk Management, right-click Disk 1 and choose New Spanned Volume.

b. Click Next on the Welcome to the New Spanned Volume Wizard pane.

c. On the Select Disks portion of the New Spanned Volume wizard, add Disk
2 to the selected disks by highlighting Disk 2 and clicking Add.

d. On the next two wizard screens, click Next.

e. On the next wizard screen, select Perform a quick format and then click
Next.

f. On the last wizard screen, click Finish.

g. Review the message in the Disk Management popup dialog and click Yes.

h. Right-click the spanned volume and choose Delete Volume. When prompted,
click Yes.

i. After deleting the spanned volume, note the disk type for Disk 1 and Disk 2.

4. Shrink the Operating System volume:

a. Right-click the C:\ partition and choose Shrink Volume.

b. In the Enter the amount of space to shrink in MB blank, type 10000.

c. Click Shrink.

d. Observe the results

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 147
Lab 7: Examining Storage Systems

5. Create a Striped volume using Disks 1 and 2:

a. Right-click the 9.77GB of unallocated space on Disk 0.

b. Choose New Striped Volume and click Next.

c. Note the available disks, add Disk 1 and Disk 2, and then click Next.

It is not expected to have Disk 0 available as an option for a stripe set. Windows will not
Note: implicitly upgrade an operating system partition to dynamic.

d. Complete the wizard pages.

6. Use Diskpart to delete the striped volume and convert Disks 1 and 2 back to
Basic:

a. Open an administrative command prompt window.

b. Start Diskpart and select disk 1 by entering the following commands:

Diskpart
list disk
select disk 1
list volume

c. In the volume list, find the volume with the type of Stripe. This should be
Volume 0. If it is not, adjust the following step accordingly to select the stripe
volume.

d. Delete the volume by entering the following commands:

select volume 0
delete volume

e. Leave the command prompt window open with Diskpart running.

f. In Disk Management, observe the disk type displayed for Disk 1 and Disk 2.

g. Right-click Disk 1 and choose Convert to Basic.

h. Right-click Disk 2 and choose Convert to Basic.

7. Use Diskpart to modify the SAN Policy:

a. In the same Diskpart command prompt window, review SAN settings by


entering the following command and observing the output:

san

b. Note the default SAN Policy value.

148 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

c. Change SAN Policy by entering the following command:

san policy=onlineall

d. Verify the results of the SAN Policy change by entering the following
command and observing the output:

san

e. Exit from Diskpart and close the command prompt window.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 149
Lab 7: Examining Storage Systems

Review
1. What is the disk type after creating a spanned volume?

The volumes are dynamic.

2. What is the disk type after deleting the spanned volume?

The disk is reverted to basic.

3. Why were we unable to use the unallocated space on Disk 0 as part of our stripe set?

Disk 0 contains the operating system volume and cannot be implicitly converted to a
dynamic disk.

4. When deleting the spanned volume in Diskpart, were Disk 1 and Disk 2 reverted to
basic disks?

No

5. What is the default SAN Policy on Windows Server 2008?

The default SAN Policy is Offline Shared.

150 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

Exercise 2: Configuring the iSCSI Target and Initiator


In this exercise, you will finish setting up the iSCSI target, configuring the iSCSI Initiator to
communicate with the iSCSI target, and configuring the hard disk presented to the iSCSI
initiator.
Estimated time to complete this lab: 20 minutes

Scenario
Your customer would like to setup an iSCSI environment on Windows Server 2008.

Tasks
1. Start virtual machines:

a. In the Virtual Machine Remote Control Client, press Right-Alt+A to show


available VMs and verify that virtual machine Student-2003-DC1 is running.

b. Double-click Student-Z1 and logon using administrative credentials for these


lab sessions. When prompted for computer name, supply the name Z1.

c. Join Student-Z1 to the Contoso domain and restart the server.

d. Press Right-Alt+A to show available VMs and then double-click Student-S1


and logon using administrative credentials for these lab sessions. When
prompted for computer name, supply the name S1.

e. Join Student-S1 to the Contoso domain and restart the server.

2. Create a Firewall Exception to enable iSCSI Initiator communication:

a. In the Virtual Machine Remote Control Client, press Right-Alt+A to show


available VMs and then double-click Student-Z1.

b. In the Student-Z1 VM, after completing the restart following the domain join
logon using the administrative credentials for these lab sessions.

c. Close Initial Configuration Tasks.

d. When Server Manager opens, expand the Configuration node.

e. Under Configuration, expand Windows Firewall with Advanced Security


and select Inbound Rules.

f. Right-click Inbound Rules and choose New Rule to launch the New
Inbound Rule Wizard.

g. On the Rule Type screen, select Port and then click Next.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 151
Lab 7: Examining Storage Systems

h. On the next screen, in the Specific local ports entry box, type 3260 and then
click Next.

i. On the next two screens, accept the default settings and click Next.

j. On the Name screen, type iSCSI 3260 and then click Finish.

3. Configure the iSCSI Initiator:

a. In the Virtual Machine Remote Control Client, press Right-Alt+A to show


available VMs and then double-click Student-S1 .

b. In the Student-S1 VM, after completing the restart following domain join,
logon using the administrative credentials for these lab sessions.

c. Launch the iSCSI Initiator by clicking Start, pointing to Administrative


Tools, and clicking iSCSI Initiator.

d. When prompted to start the service and have it run automatically each time
you start the computer, click Yes.

e. When prompted to unblock the iSCSI service in the firewall, click Yes.

f. On the Discovery tab, click Add Portal, enter the following IP address of the
target, and then click OK:

172.24.1.1.

g. Leave the iSCSI Initiator Properties dialog box open.

4. Start the virtual machine and launch the iSCSI Target MMC:

a. In the Virtual Machine Remote Control Client, press Right-Alt+A to show


available VMs and then double-click Student-Z1.

b. On the Student-Z1 virtual machine, launch the iSCSI Target Console by


clicking Start and entering the following in the Search box:

iSCSITarget.msc

5. Configure the iSCSI Target:

a. Expand the iSCSI Targets node and highlight Target1.

b. Right-click and select Create Virtual Disk for iSCSI Targets.

c. Click Next.

d. In the File box, enter the drive letter followed by iSCSI.vhd, and then click
Next. For example:

C:\iSCSI.vhd

152 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

e. In the Size of virtual disk (MB): box, type 5120 to create a 5GB virtual disk,
and then click Next.

f. In the Virtual disk description box, type iSCSI Virtual Disk and then click
Next.

g. Highlight Target1 and click Next.

h. Click Finish.

i. Right-click Target1 and choose Properties.

j. On the iSCSI Initiators tab, click Add and then click Browse.

k. Highlight the Internet Qualfied Name (IQN) for your iSCSI Initiator and click
OK.

l. Click OK and then click OK again.

6. Logon to the iSCSI Target:

a. In the virtual machine Student-S1 , the iSCSI Initiator Properties dialog box
should still be open.

b. On the Targets tab, click Refresh. The IQN for your iSCSI Target should
appear in the Targets pane with a status of Inactive.

c. Click Log on.

d. Select the box next to Automatically restore this connection when the
computer starts.

e. Click OK. The status should now show as Connected.

f. Click OK to close the iSCSI Initiator Properties dialog box.

7. Configure the iSCSI disk in Disk Management:

a. In Server Manager, expand the Storage Node and click Disk Management.

b. Right-click the unknown disk and choose Online.

c. Right-click the same disk again and choose Initialize Disk.

d. Click OK.

e. Create a new Simple volume and format it as NTFS.

8. Configure iSCSI Initiator Volumes and Devices:

a. Launch the iSCSI Initiator.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 153
Lab 7: Examining Storage Systems

b. On the Volumes and Devices tab, click Autoconfigure.

c. In the Volume/mount point/device pane, verify that the volume you just
configured is added.

d. Click OK.

154 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

Review
1. How does the disk presented to the iSCSI initiator first appear in Disk Management?

Disk 1 appears as Unknown and Offline.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 155
Lab 7: Examining Storage Systems

Exercise 3: Installing Microsoft Multipath I/O


In this exercise, you will add the Microsoft Mulitpath I/O (MPIO) feature and configure a
virtual machine to connect to the iSCSI target.
Estimated time to complete this lab: 15 minutes

Scenario
The CIO requires that all iSCSI connections utilize the Microsoft MPIO feature with all
Windows Server 2008 machines.

Tasks
1. Configure an additional network interface card on virtual machine Student-S1
for use by MPIO:

a. In the virtual machine Student-S1 , open Control Panel and double-click


Network and Sharing Center.

b. Under Tasks, click Manage network connections.

c. Right-click Local Area Connection 2 and choose Enable.

d. Right-click Local Area Connection 2 again and choose Properties.

e. On the Networking tab, select Internet Protocol Version 4 (TCP/IPv4) and


click Properties.

f. Select Use the following IP address and enter the following information:

IP address 172.24.2.30
Subnet 255.255.255.0
mask
g. Select Use the following DNS server addresses and enter the following
information:

Preferred DNS server 172.24.1.10


h. Click OK.

i. Click Close.

j. Close out of the Network Connections control panel applet.

2. Install Multipath I/O on virtual machine Student-S1 :

a. Open Server Manager.

156 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

b. In the Server Manager window, in the console tree, click Features to display
the Features Summary in the Details pane.

c. In the Details pane in the Actionable Tasks list, click Add Features.

d. In the Add Features Wizard, on the Select Features page, select Multipath
I/O and then click Next .

e. On the Confirm Installation Selections page, review the displayed


information and then click Install.

f. On the Installation Results page, verify that the installation was successful
and then click Close.

g. In Server Manager, in the Features Summary, verify that Multipath I/O


has been added to the list.

3. Add Support for iSCSI Devices in MPIO Properties:

a. Click Start, point to Administrative Tools, and click MPIO.

b. In the MPIO Properties dialog box, on the Discover Multi-Paths tab, select
Add support for iSCSI devices, click Add, and then click OK.

c. When prompted to reboot, select Yes to reboot the server.

d. Reopen MPIO and select the MPIO-ed Devices tab.

e. Under Devices, confirm that the following Device Hardware Id is listed and
then click OK:

MSFT2005iSCSIBusType_0x9

4. Logon to the iSCSI Target after Reboot:

a. Open the iSCSI Initiator Properties.

b. Select the Targets tab.

c. Click the Log on button.

d. Click Ok.

5. Configure a Load Balancing Policy:

a. In Server Manager, expand the Storage node.

b. Click on Disk Management.

c. Right-click on Disk 1 and select Properties.

d. Select the MPIO tab.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 157
Lab 7: Examining Storage Systems

The MPIO tab will not exist until after you have installed MPIO, added support for iSCSI
Note: devices, and rebooted the server.

e. Notice the Load Blance Policy currently in use and the DSM Name.

f. Select the drop down next to Load Balance Policy.

g. Select Round Robin. Read the Description for Round Robin and click Ok.

h. Close Server Manager.

You will configure the rest of MPIO in a later lab.


Note:

158 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

Review
1. Why did we add a second NIC to the server?

At least 2 NICs are required to setup multipathing.

2. What is the default Load Balance Policy and which DSM are we using after installing
MPIO?

We are using the Fail Over Only Load Balance Policy and the Microsoft DSM.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 159
Lab 7: Examining Storage Systems

Exercise 4: Installing iSNS


In this exercise, you will install the Internet Storage Name Server (iSNS) feature on
Windows Server 2008.
Estimated time to complete this lab: 5 minutes

Scenario
Your customer would like to use iSNS to allow for automatic discovery of new iSCSI
targets and initiators in their environment.

Tasks
1. Install iSNS on virtual machine Student-S1 :

a. On Student-S1 , open Server Manager.

b. In the conolse tree, open the Features node and then in the Details pane click
Add Feature.

c. In the Add Features Wizard, on the Select Features page, select Internet
Storage Name Server and then click Next.

d. On the Confirm Installation Selections page, click Install.

e. When the installation completes, click Close.

2. Review iSNS Server Properties:

a. Click Start, point to Administrative Tools, and then select iSNS Server.

b. Explore tabs in the iSNS Server Properties dialog box and note the options
available in the drop downs in order to answer the questions in the Review.

c. Restart the virtual machine.

You will configure iSNS in a later lab.


Note:

160 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

Review
1. What is the name of the default Discovery Domain?

Default DD

2. What is the name of the default Discovery Domain Sets?

Default DDS

3. How would you add the iSCSI Target to the iSNS server through the iSNS Server
Properties?

On the Discovery Domains tab, click the drop down, select Default DD. Click the Add
New button, and enter the iSCSI Target name or IP address.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 161
Lab 7: Examining Storage Systems

Exercise 5: Managing iSCSI with Storage Explorer


In this exercise, you will use Storage Explorer to administer your iSCSI environment.
Estimated time to complete this lab: 25 minutes

Scenario
Your customer would like to administer his iSCSI environment from a single interface.

Tasks
1. Logon to the iSCSI Target using Storage Explorer:

a. On the virtual machine Student-S1, open Storage Explorer and expand the
Servers node.

b. Right-click iqn.1991-05.com.microsoft:z1-target1-target and select Login


to target.

2. Configure Multipathing:

a. In the Login to Target dialog, select Automatically restore this connection


when the system boots, select Enable multipathing, and then click
Connection.

b. In the Login Connection Settings dialog box, open the drop-down for Local
adapter and select Microsoft iSCSI Initiator.

c. Open the drop-down for Source IP and select 172.24.1.30.

d. Open the drop-down for Target Portal and select 172.24.1.1/3260.

e. Click OK. You should receive a popup stating that the initiator successfully
connected to the target.

f. Right-click iqn.1991-05.com.microsoft:z1-target1-target and select Login


to target.

g. In the Login to Target dialog box, select Automatically restore this


connection when the system boots, select Enable multipathing, and then
click Connection.

h. In the Login Connection Settings dialog box, open the drop-down for Local
adapter and select Microsoft iSCSI Initiator.

i. Open the drop-down for Source IP and select 172.24.2.30.

162 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

j. Open the drop-down for Target Portal and select 172.24.2.1/3260.

k. Click OK.

3. Verify Multipathing:

a. In Storage Explorer, in the console tree on the left, right-click the top node
and choose Refresh SAN view.

b. Expand the Servers node, expand S1.contoso.com, and then expand


iqn.1991-05.com.microsoft:s1.contoso.com.

c. Right-click iqn.1991-05.com.microsoft:z1-target1-target and select


Properties.

d. In the Sessions pane, verify that two paths to the target are listed.

You should have three sessions listed. This is due to the persistent connection we set in
Note: earlier labs when logging onto the iSCSI Target through the iSCSI Initiator Properties,

4. Add the iSNS Server:

a. In Storage Explorer, expand the Servers node and then expand


S1.contoso.com.

b. Click iqn.1991-05.com.microsoft:s1.contoso.com.

c. Under iSNS Servers, click Add.

d. For the IP address of the iSNS server, enter 172.24.1.30.

e. Right-click Storage Explorer and choose Refresh SAN view.

f. Confirm that your iSNS server appears in the iSNS Servers pane.

5. Verifying iSCSI Initiator Registration with iSNS:

a. Expand the iSCSI Fabrics node.

b. Expand iSNS:S1.contoso.com

c. Expand Registered Nodes.

d. Verify your iSCSI Initiator IQN is listed under Registered Nodes.

e. Expand Discovery Domains.

f. Verify that the Default DD node now has [ACTIVE] next to it.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 163
Lab 7: Examining Storage Systems

g. Expand Default DD [ACTIVE].

h. Verify the iSCSI Initiator is listed.

164 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

Review
1. How do you log off the iSCSI target?

There are a couple of different ways. In the iSCSI Initiator properties, on the Targets tab,
click Details. Under Identifier, select the session you would like to end, and click the Log
off button.
In Storage Explorer, right-click the target under the Server node and choose Logout
target.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 165
Lab 7: Examining Storage Systems

Exercise 6: Creating LUNs with DiskRAID


In this exercise, you will use the DiskRAID command line utility to create a new LUN for
your iSCSI target.
Estimated time to complete this lab: 20 minutes

Scenario
Your customer has obtained new iSCSI hardware and is requesting assistance to add it to
his network storage environment.

Tasks
1. Install the VDS Hardware Provider for iSCSI:

a. With the Student-Z1 virtual machine running, open an administrative


command prompt.

b. Navigate to C:\LHISCSITarget\VDS.

c. Enter the following command:

MSISCSIVDS Install

The above command is case sensitive.


Important:

2. Create a new LUN using DISKRAID:

a. In the same command prompt, launch DiskRaid by entering the following


command:

DISKRAID

b. At the DISKRAID prompt, create a LUN by entering the following commands:

select subsys 0
detail subsystem
list lun
select lun 0
detail lun verbose
create lun simple size=10GB

c. To verify LUN creation, enter the following command:

list lun

166 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

d. To associate the new LUN with your target, enter the following commands:

associate targets 0.
select target 0

e. To verify the LUN created was properly associated with your target, enter the
following command:

detail target

3. Extend the newly created LUN by 2 GB:

a. To extend the LUN size, enter the following commands:

select lun 1
extend lun size=2GB

b. To verify LUN extension, enter the following command:

detail lun

4. Exit DISKRAID:

a. To exit DISKRAID, type Exit and press Enter.

b. Close the command prompt window.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 167
Lab 7: Examining Storage Systems

Review
1. What is the stripe size of the subsystem? (Hint: Look at DiskRAID detail subsystem
output)

The stripe sizes are 16B.

2. What is the identifier for LUN 1?

The identifier is VHD 2.

168 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

Exercise 7: Managing iSCSi with Storage Manager for


SANs
In this exercise, you will install and use Storage Manager for SANs to administer your
iSCSI environment.
Estimated time to complete this lab: 15 minutes

Scenario
After configuring his network storage environment, your customer is looking for a better
way to manage the environment. You have recommended Storage Manager for SANs, and
are working with him to add this feature on his server.

Tasks
1. Install Storage Manager for SANs on virtual machine Student-Z1:

a. In virtual machine Student-Z1, open Server Manager, select the Features


node, and click Add Feature.

b. In the Add Features Wizard, on the Select Features page, select Storage
Manager for SANs and then click Next.

c. On the Confirm Selection page, click Install.

d. When the installation completes, click Close.

2. Create a new LUN using Storage Manager for SANs:

a. To open Storage Manager for SANs, click Start, point to Administrative


Tools, and then click Storage Manager for SANs.

b. In Storage manager for SANs, click the LUN Management node.

c. Under Actions, choose Create LUN to launch the Provision Storage Wizard.

d. Complete the Provision Storage Wizard pages to create an 11 GB LUN, but


DO NOT assign the LUN at this time.

e. Refresh Storage Manager for SANs and note the second LUN.

f. Open iSCSITarget.msc and assign the LUN to Student-2008-S1.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 169
Lab 7: Examining Storage Systems

3. Delete the newly created LUN:

a. Under the LUN Management node, right-click the second LUN and choose
Delete LUN.

b. Select Check here if you want to delete this LUN and then click OK.

c. Refresh Storage Manager for SANs.

170 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

Review
1. How many portals are enabled on this target?

2. What are the capabilities of this server?

Supports Simple LUNs, Chap authentication, and Mutual Chap authentication.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 171
Lab 7: Examining Storage Systems

Exercise 8: Installing File Server Resource Manager


During this exercise, you will add the File Server Resource Manager feature to your 2008-
01 virtual machine.
Estimated time to complete this lab: 5 minutes

Scenario
The CIO requires that all file servers have the File Server Resource Manager feature
installed and configured for users that have shares on the server.

Tasks
1. Launch the Add Roles Wizard on virtual machine Student-2008-F1:

a. On the virtual machine Student-2008-F1, open Server Manager.

b. In Server Manager, in the console tree on the left, click Roles to display the
Roles Summary in the Details pane on the right.

c. In the Roles Summary pane, click the actionable task Add Roles.

2. Install the File Server Resource Manager role:

a. In the Add Roles Wizard, on the Before You Begin page, click Next.

b. On the Select Server Roles page, select File Services and then click Next .

c. On the File Services page, review the information and then click Next .

d. On the Select Role Services page, select File Server Resource Manager and
then click Next.

e. On the Configure Storage Usage Monitoring page:

1) Select OS (C:).

2) In the Volume monitoring options pane, leave the default options


selected

3) Click Next.

f. On the Set Report Options page, leave the Storage Reports folder as the
default and click Next .

172 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

g. On the Confirm Installation Selections page, review the settings and then
click Install.

h. On the Installation Results page, verify successful installation and then click
Close.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 173
Lab 7: Examining Storage Systems

Review
1. What information events occur for FSRM after the installation?
(Hint: Use Server Manager and view events under Role Status)

Event ID 13 Source: Quota, 8202 Source:SRMSVC, and 12313 Source:SRMSVC.

2. What system services are listed as associated with the file services role?

File Server Resource Manager service (SRMSVC), File Server Storage Reports Manager
service (SRMReports), and the Server service (LanmanServer).

3. Are all the services mentioned above started? What is the default Startup Type of
the stopped service?

No. The File Server Storage Reports Manager service is not started. The default startup
type of the SRMReports service is Manual.

174 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

Exercise 9: Creating Quotas with File Server Resource


Manager
During this exercise, you will configure a quota to manage users on the network.
Estimated time to complete this lab: 15 minutes

Scenario
The CIO requires that all file servers have the File Server Resource Manager feature
installed and configured for users that have shares on the server.

Tasks
1. Configure quota limits for users:

a. On the virtual machine Student-2008-F1, open the File Server Resource


Manager from Administrative tools.

b. In File Server Resource Manager, in the console tree on the left, expand
Quota Management and click Quota Templates.

c. In the results pane, right-click 100 MB Limit and select Create Quota from
Template.

d. In the Create Quota window, click Browse.

e. In the Browse For Folder dialog box, select Local Disk (C:), and click Make
New Folder.

f. Enter Shared Folder and click OK.

g. Leave the defaults and click Create.

2. Confirm the new quota settings:

a. In the left pane, under Quota Management, click Quotas.

b. Observe the following:

1) The first quota is configured by default to monitor the C: drive,

2) The Shared Folder quota is the quota you just configured.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 175
Lab 7: Examining Storage Systems

3. Test the new quota settings:

a. Try to copy the C:\Windows folder to the C:\Shared Folder.

b. Observe the error and then click Cancel.

c. Open Server Manager and click the Roles node.

d. Under Roles, note the red X next to File Services.

e. Click the File Services link.

f. Observe the warning stating that a hard-set quota limit has been reached.

176 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

Review
1. What is the error you receive when attempting to copy the C:\Windows folder into
the C:\SharedFolder?

There is not enough space on C:

2. What is the warning given in the Application Event log pertaining to the above?

Event ID: 12325


Source: SRMSVC
Description: User X has reached the quota limit for quota on C:\Shared Folder on Server
S2. The quota limit is 100.00 MB and the current usage is 94.75 MB (94% of limit).

3. What would happen if you modified the quota to be that of a soft quota instead of a
hard quota?

The user would be able to exceed his limit and warnings would be logged to the
Application Event Log.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 177
Lab 7: Examining Storage Systems

Exercise 10: Creating File Screens and Storage


Reports with File Server Resource Manager
In this exercise, you will perform a couple of tasks; firstly, you will enable File Screens
that block and warn users about specific files on the server. Lastly, you will generate a
Storage Report to get a detailed list of files on the server.
Estimated time to complete this lab: 15 minutes

Scenario
Company policy states that all network administrators are required to block specific files
from being copied on to the server. In addition to running monthly Storage reports to be
sure that the server is running at optimal levels.

Tasks
1. Create a File Screen to control what types of files users can save:

a. In File Server Resource Manager, expand File Screening Management,


right-click File Screens, and select Create File Screen.

b. In the Create File Screen dialog box, next to File screen path, click Browse.

c. Select the Shared Folder on the root of Local Disk C: and click OK.

d. In the File screen properties section, open the drop-down and select Block
Executable Files.

e. Review the Summary of the file screen properties and then click Create.

f. Verify that File Server Resource Manager displays the newly created file
screen.

2. Test the file screen:

a. Open Windows Explorer and navigate to the C:\Windows\System32 folder.

b. Try to copy regedt32.exe to C:\Shared Folder and note the error message.

c. Copy regedt32.exe and rename the copy as regedt32.txt.

If you do not see the file extension, click the Organize menu, select Folder options, click
Note: the View tab, and uncheck Hide extensions for known file types.

d. Copy regedt32.txt to C:\Shared Folder and note the results.

178 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

3. Create a Storage Report on the FSRM Server:

a. In File Server Resource Manager, right-click Storage Reports


Management and select Schedule a New Report Task.

b. In the Storage Reports Task Properties dialog box:

1) In the Scope section, click Add.

2) In the Browse For Folder dialog box, select C:\Shared Folder and
then click OK.

3) In the Report data section, leave the check boxes with their defaults.

4) Click OK to close the Storage Reports Task Properties dialog box.

c. When prompted with the error message stating that at least one schedule
must be configured, click OK.

d. At the top of the Storage Reports Task Properties window, click the
Schedule tab and click Create Schedule.

e. In the Schedule window, click New.

f. Review the pre-configured details and then click OK.

g. Click OK again to close the Storage Reports Task Properties window.

4. Run the storage report:

a. Right-click the newly added Storage Report and click Run Report Task
Now.

b. In the Generate Storage Reports dialog box, select Wait for reports to be
generated and then display them.

c. Note that the Status of the report is now Queued and observe the progress
pop-up Generating Storage Reports.

d. Once the process completes, you will have eight Internet Explorer windows
all with various file information. Review the information displayed in each
browser window.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 179
Lab 7: Examining Storage Systems

Review
1. What error message did you receive attempting to copy regedt32.exe into C:\Shared
Folder?

Destination Folder Access Denied


You need permission to perform this action.

2. After renaming the .exe file to a .txt file, did the copy to C:\Shared Folder succeed?

Yes.

3. What is the largest file listed on the Large Files Report?

Microsoft .Windows.ServerManager.dll, which is 7.38 MB in size.

180 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

Lab 8: Examining Backup and Recovery


During this lab, you will perform manual backups, schedule automatic backups, recover
files and folders, and use the Windows Recovery Environment (WinRE) to prepare for
and recover from system failures.
Estimated time to complete this lab: 5.75 hours

Before You Begin


Before starting this lab, you should:
 Have experience supporting Windows Server 2003 in an enterprise environment.
 Complete the module Examining Backup and Restore Capabilities in this course,
including any module prerequisites.
 Successfully complete all exercises in Lab 1 Installing and Upgrading to Windows
Server 2008.

What You Will Learn


After completing this lab, you will be able to:
 Back up computer systemstate, data files, and operating system files.
 Restore computer systemstate, data files, and operating system files.
 Use WBDIAG to back up and restore computers from the command prompt.
 Install WinRE and use it to create and apply backup images.

Configuring Your Computer(s)


Each student requires one physical computer with a fully configured virtual machine
environment. Before starting this lab, make sure your computer is configured as
described in the About This Lab section of this Lab Manual.

Configuring Your Virtual Machine Environment


Lab exercises require Virtual Server 2005 R2 SP1 and the following virtual machines
installed or created on the computer:
 Student-2003-DC1: Windows Server 2003 domain controller upgraded to
Windows Server 2008 in Lab 1.
 Student-2008-F1: Windows Server 2008 Full Installation created in Lab 1.
 Student-2008-C1: Windows Server 2008 Server Core installation created in Lab 1.
 Student-2008-BMR: Blank VM used for recovery testing
(May be created during lab exercises)

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 181
Lab 8: Examining Backup and Recovery

Lab exercises also require files located in the C:\Labfiles and C:\VS folders on your
computer or accessible from a network share on the instructor computer.

Accounts and Group Membership


You must log on as an administrative user in order to perform some of the tasks in this
Important: lab.

The following user accounts and passwords must be configured on the physical computer
and in all virtual machines:
 Administrative username and password
o Username: Administrator
o Password: LS1setup!
o Member of: Local Administrators
 Normal username and password
o Username: Usern
o Password: Pass0word1
o Member of: Local Users
Replace n in Usern with the number assigned to you by the instructor.

Domain Membership
Lab exercises may require you to join the following virtual domain(s):
 Contoso.com
Your physical computer is not joined to a domain. Virtual machines joined to a virtual
domain require group and account configurations as shown in the following table.
Table 14. Groups and Accounts

Group Members
Domain Groups
Domain Administrators Administrator
Domain Users Usern
Local Groups
Administrators Administrator, Domain Administrators
Users Usern, Domain Users

182 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

Exercise 1: Prepare for Backup Testing


In this exercise, you will install additional hard drives for backup use.
Estimated time to complete this exercise: 15 minutes

Scenario
Your organization is updating disaster recovery strategies and want you to test Windows
Server 2008 backup capabilities. To begin your testing, you need to install and configure
hard drives for backups.

Tasks
1. Add two new hard disks to Student-2003-DC1:

a. On the Master Status page, in the left pane under Virtual Machines, point to
Configure and click Student-2003-DC1.

b. Under Configuration, click Hard disks.

c. On the Virtual Hard Disk Properties screen, click Add disk.

d. Under Virtual hard disk 2, open the Known virtual hard disks drop-down
menu, select the following virtual hard disk, and then click OK:

C:\Labfiles\Backup1.vhd

If Backup1.vhd is not listed in the drop-down menu, verify that the Search Path in
Note: Virtual ServerServer Properties includes the following:
C:\LabFiles
C:\Labfiles\ISO
C:\VS\Win.ISO

e. Click Add disk again.

f. Under Virtual hard disk 3, open the Known virtual hard disks drop-down
menu, select the following virtual hard disk, and then click OK:

C:\Labfiles\Backup2.vhd

g. Click OK to complete hard disk installation.

2. Add one new hard disk to Student-2008-F1:

a. On the Master Status page, in the left pane under Virtual Machines, point to
Configure and click Student-2008-F1.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 183
Lab 8: Examining Backup and Recovery

b. Under Configuration, click Hard disks.

c. On the Virtual Hard Disk Properties screen, click Add disk.

d. Under Virtual hard disk 2, open the Known virtual hard disks drop-down
menu, select the following virtual hard disk, and then click OK:

C:\Labfiles\Backup3.vhd

3. Add one new hard disk to Student-2008-C1:

a. On the Master Status page, in the left pane under Virtual Machines, point to
Configure and click Student-2008-C1.

b. Under Configuration, click Hard disks and then click Add disk.

c. Under Virtual hard disk 2, open the Known virtual hard disks drop-down
menu, select the following virtual hard disk, and then click OK:

C:\Labfiles\Backup4.vhd

d. Click OK to complete hard disk installation.

4. Prepare virtual machine Student-2003-DC1 for backup testing:

a. In the Virtual Machine Remote Control Client, press Right-Alt+A to display


available VMs, and then double-click Student-2003-DC1.

b. Logon using the administrative credentials for these lab sessions.

c. In Server Manager, under Storage, select Disk Management.

d. In the Initialize Disk dialog box that is automatically displayed, select Disk 1
and Disk 2, select MBR partition style, and then click OK.

e. To complete drive preparation, repeat the following steps for Disk 1 and
Disk 2:

1) Right-click the disk and select New Simple Volume.

2) On the Specify Volume Size page, click Next to accept the defaults to
use all available space as a single partition.

3) On the Assign Drive Letter or Path page, assign a drive letter and
then click Next:

 For Disk 1, assign Drive Letter F.

 For Disk 2, assign Drive Letter G.

184 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

4) On the Format Partition page, select format as NTFS, enter a Volume


label, check the box to Perform a quick format, and then click Next:

 For Disk 1 Volume label, enter Backup1.

 For Disk 2 Volume label, enter Backup2.

5) On the Completing… page, verify the settings and then click Finish.

6) In Server ManagerDisk Management, verify successful disk


configuration.

f. Repeat the following steps to share Drive F and Drive G:

1) Right-click the drive and select Properties.

2) In the Properties dialog box, on the Sharing tab, click Advanced


Sharing.

3) In the Advanced Sharing dialog box, select Share this folder and
change the Share name:

 Share Drive F as Backup1.

 Share Drive G as Backup2.

4) Click Permissions, set Permissions for Everyone to Full Control,


and then click OK to close the Advanced Sharing dialog box.

5) In the Properties dialog box, click Close.

5. Prepare virtual machine Student-2008-F1 for backup testing:

a. Press Right-Alt+A to display available VMs, and then double-click Student-


2008-F1.

b. Logon using the administrative credentials for these lab sessions.

c. In Server Manager, under Storage, select Disk Management.

d. In the Initialize Disk dialog box that is automatically displayed, select Disk
1, select MBR partition style, and then click OK.

e. Perform the following steps to complete Disk 1 preparation for backup


testing, complete the New Simple Volume Wizard pages as follows:

1) Right-click the disk and select New Simple Volume.

2) On the Specify Volume Size page, click Next to accept the defaults to
use all available space as a single partition.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 185
Lab 8: Examining Backup and Recovery

3) On the Assign Drive Letter or Path page, assign Drive letter F and
then click Next.

4) On the Format Partition page, select format as NTFS, for Volume


label enter Backup1, check the box to Perform a quick format, and
then click Next.

5) On the Completing… page, verify the settings and then click Finish.

6) In Server ManagerDisk Management, verify successful disk


configuration.

6. Prepare virtual machine Student-2008-C1 for backup testing:

a. In the Virtual Machine Remote Control Client, press Right-Alt+A to display


available VMs, and then double-click Student-2008-C1.

b. Enter the following command to verify network connections and domain


membership:

netdom verify 2008-C1 /domain:contoso

c. Partition and format the new disk to use for backups:

1) Open a command prompt window and enter the following command:

diskpart

2) At the DISKPART> prompt, enter the following commands to create a


primary partition on the new hard disk:

list disk
select disk 1
list partition
create partition primary
list partition
select partition 1
assign letter=f
exit

3) At the command prompt, enter the following command to format the


new volume:

format f: /FS:NTFS /V:Backup1 /q

When prompted to proceed, type y and press Enter.

186 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

Exercise 2: Install Windows Server Backup


In this exercise, you will install the Windows Server Backup feature.
Estimated time to complete this exercise: 15 minutes
1. Add the Windows Server Backup feature on a Windows Server 2008 Full
installation:

a. In Virtual Machine Remote Control Client, press Right-Alt+A to show


available VMs and then double-click Student-2008-F1.

b. If required, logon using the administrative credentials for these lab sessions.

c. In Server Manager, in the console tree on the left, select the Features node.

d. On the Features Summary page, click Add Features to launch the Add
Features Wizard.

e. In the Add Features Wizard, on the Select Features page, select Windows
Server Backup Features.

In RCO and previous versions of Windows Server 2008, the Windows Recovery Disk is
Important: listed as an available feature and selecting Windows Server Backup prompts you to
install it as a required feature. This feature will be removed in Windows Server 2008
RC1 and will not be available in the RTM version.

Note the shaded checkbox and the plus sign (+) displayed to the left of the
Windows Server Backup feature. Click the plus sign to display the following
options:
1) Windows Server Backup (already checked)

2) Command-line Tools (unchecked)

The Windows Server Backup WBADMIN command line utility is installed with Windows
Note: Server Backup default features and does not require the Command-line Tools feature.
The Command-line Tools feature adds backup-related Windows PowerShell™ cmdlets
and Windows PowerShell, which are not required for these lab exercises.

f. Leave the default selections unchanged and click Next.

g. On the Confirm Installation Selections page, verify installation options and


then click Install.

h. When the Installation Results page is displayed, verify successful


installation and then click Close.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 187
Lab 8: Examining Backup and Recovery

i. In Server Manager, in the Features Summary, verify that Windows Server


Backup has been added.

j. In the Server Manager console tree, expand the Storage node and note which
items are listed.

2. Add the Windows Server Backup feature in a Windows Server 2008 Server
Core installation:

a. In the Virtual Machine Remote Control Client window, press Right-Alt+A


to show available VMs and then double-click Student-2008-C1.

b. Logon using the administrative credentials for these lab sessions.

c. At the command prompt, enter the following command to display the


installed status of Windows Server 2008 roles and features:

oclist

d. Note the installed status and the string displayed for Windows Server
Backup.

If Windows Server Backup is not installed, use OCLIST and start /w OCSETUP commands
Note: to install it now and then verify successful installation.

188 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

Review
1. In Server Manager, under which node is Windows Server Backup displayed?

Storage

2. Was Windows Server Backup installed on Student-2008-C1?

Yes – installed in the labs that accompany the Introducing Server Core module.

3. What command would you enter to install Windows Server Backup from a
command prompt using the feature name displayed by oclist?

start /w ocsetup WindowsServerBackup

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 189
Lab 8: Examining Backup and Recovery

Exercise 3: Performing Manual Backups


In this exercise, you will back up your system drive to a local hard disk and to a network
share.
Estimated time to complete this exercise: 1 hour

Scenario
To begin backup testing, you want to perform a manual backup and observe the results.

Tasks
1. Perform an immediate backup on a Windows Server Full installation:

a. In Virtual Machine Remote Control Client, press Right-Alt+A to show


available VMs and then Student-2008-F1.

b. If required, logon using the administrative credentials for these lab sessions.

c. In Server Manager, expand the Storage node and click Windows Server
Backup.

d. In Windows Server Backup, in the Actions pane, click Backup Once to


launch the Backup Once Wizard.

e. On the Backup options page, accept the default Different options, click
Next.

The option to create the backup using The same options that you used in the Backup
Note: Schedule Wizard for scheduled backup is not available. This is because no backup
schedule has been configured on this virtual machine.

a. On the Select backup configuration page, accept the default option Full
server (recommended) and click Next.

b. On the Specify destination type page, select Local drives and then click
Next.

c. On the Select backup destination page, for Backup destination, note the
default Local Disk (D:), open the drop-down menu and select Backup1 (F:),
and then click Next.

d. When prompted to exclude volume (F:) from the list of volumes to back up,
click Yes.

190 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

e. On the Specify advanced option page, accept the default option VSS copy
backup (recommended) and then click Next.

f. On the Confirmation page, review your backup options and then click
Backup.

Local disk (D:) will be used in WinRE exercises later in this lab session.
Note:

2. Observe backup actions:

a. On the Backup progress page, observe the actions taken to perform the
backup.

The backup may take five minutes or more to complete. Once the Status indicates
Note: Backup in progress, your instructor may continue the presentation or recommend a
short break.

b. Leave the wizard open to monitor backup progress. When the backup is
completed, click Close.

c. In the Windows Server Backup console, in the Messages tile, open the
message and note the amount of data transferred and the backup type.

3. Perform an immediate backup to a network share:

a. In Student-2008-F1, in Windows Server Backup, in the Actions pane, click


Backup Once to launch the Backup Once Wizard again.

b. On the Backup options page, accept the default Different options, click
Next.

c. On the Select backup configuration page, select Custom and then and click
Next.

d. On the Select backup items page, note that Local disk (C:) is Included and
Local Disk (D:) and Backup1 (F:) are Excluded. Leave the default option to
Enable system recovery checked, and then click Next.

e. On the Specify destination page, select Remote shared folder and then
click Next.

f. On the Specify remote folder page, enter the following path and note the
drop-down that displays available shares:

\\2003-DC1\

In the drop-down, double-click Backup1 to complete the path.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 191
Lab 8: Examining Backup and Recovery

g. Under Access Control, accept the default to Inherit and then click Next.

\\2003-DC1\Backup1

h. On the Specify advanced option page, select VSS full backup and then click
Next.

i. On the Confirmation page, review your backup options and then click
Backup.

j. To close the Backup Once Wizard and allow the backup to run in the
background, click Close.

k. In the Windows Server Backup console, note the progress information


displayed in the Messages tile.

l. Double-click the message to open the dialog box and note the OK and Cancel
buttons. Do not click Cancel to abort the backup; instead, click OK to return
to the Windows Server Backup console.

4. Perform a second immediate backup to the network share:

a. In Student-2008-F1, in Windows Server Backup, in the Actions pane, click


Backup Once to launch the Backup Once Wizard again.

b. On the Backup options page, accept the default Different options, click
Next.

c. On the Select backup configuration page, select Custom and then click
Next.

d. On the Select backup items page, verify that Backup (F:) indicates
Excluded, select Local disk (C:), and then click Next.

e. On the Specify destination page, select Remote shared folder and then
click Next.

f. On the Specify remote folder page, enter the following path:

\\2003-DC1\Backup1

g. Under Access Control, accept the default to Inherit and then click Next

h. Review the information displayed in the warning and then click OK.

i. On the Specify advanced option page, select VSS full backup and then click
Next.

j. On the Confirmation page, review your backup options and then click
Backup.

192 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

k. To close the Backup Once Wizard and allow the backup to run in the
background, click Close.

l. In Windows Server Backup, note progress information displayed in the


Messages tile.

m. When the backup is completed, open the message and note the amount of
data transferred and the backup type.

5. Examine results of the backups:

a. In the Windows Server Backup console, in the Status tile, under All
Backups, note the addition of the Latest copy and Oldest copy date and
time.

b. In the Server Manager console tree, under Storage, select Disk


Management.

c. Right-click Drive F and select Explore. Browse the folder structure created
by the backup and note the files created in each folder.

d. Open a command prompt window and enter the following command:

vssadmin list shadows

e. Review the information in the command output and note the date, time, and
Original volume.

A shadow copy snapshot was created on (F:) with a specific time and date identifier that
Note: can later be used to select different checkpoints for restore. No snapshot was created
on Local disk (C:) as a result of this backup.

f. Minimize the command window for later use.


g. In the Server Manager console tree, under Storage, select Windows Server
Backup.

h. In the Messages tile, open each backup message, note the Backup location,
Status, Data Transferred, and Backup Type, and then click OK.

i. In the Status tile, under All Backups, note that Total Backups indicates 2
copies.

6. Perform an immediate backup on a Server Core installation:

a. In the Virtual Machine Remote Control Client window, press Right-Alt+A


to show available VMs and then double-click Student-2008-C1.

b. Logon using the administrative credentials for these lab sessions.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 193
Lab 8: Examining Backup and Recovery

c. At the command prompt, enter the following command to back up once to a


network share:

wbadmin start backup –backuptarget:\\2003-DC1\Backup2


–allcritical –user:Administrator –password:LS1setup!

d. When prompted to start the backup, type y and press Enter.

e. Leave the backup running and continue to the next task.

7. Enable incremental backups:

a. In Virtual Machine Remote Control Client, press Right-Alt+A to show


available VMs and then double-click Student-2008-F1.

b. If required, logon using the administrative credentials for these lab sessions.

c. In the Windows Server Backup console, in the Actions pane, click


Configure Performance Settings.

d. In the Optimize Backup Performance dialog box, review the option


descriptions, select Always perform incremental backup, and then click
OK.

8. Perform a second backup to the local drive:

a. Launch the Backup Once Wizard.

b. Configure the second local backup using the following options:

1) Custom for Local disk (C:) only with Enable system recovery

2) Local drives

3) Backup1 (F:)

4) VSS copy backup

c. After starting the backup, click Close and observe progress in the Messages
tile.

9. Examine backup results:

a. After the backup is completed, open the message and note the type of backup
performed and the amount of data transferred.

b. In the command window, enter the following command:

vssadmin list shadows

194 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

c. Note the addition of a shadow copy on Original volume (C:) and a second
shadow copy on Original volume (F:).

d. Minimize the command window for later use.

10. Change data on the drive:

a. Open Windows Explorer.

b. On the C: Drive, create a copy of the C:\Users folder. If prompted, skip any
files that are open in another application.

c. Close Windows Explorer.

11. Perform a third backup to the local drive:

a. Launch the Backup Once Wizard.

b. Configure the third local backup using the following options:

1) Custom for Local disk (C:) only with Enable system recovery

2) Local drives

3) Backup1 (F:)

4) VSS copy backup

c. After starting the backup, click Close and observe progress in the Messages
tile.

12. Examine backup results:

a. After the backup is completed, open the message and note the type of backup
performed and the amount of data transferred.

b. At the command prompt, enter the following command:

vssadmin list shadows

c. Note the additional shadow copies on Original volume (C:) and Original
volume (F:) that can be used to recover data from different points in time.

d. At the command prompt, enter the following command:

wbadmin get versions

e. Note the different backup versions you could select for recovery.

f. Close the command window.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 195
Lab 8: Examining Backup and Recovery

You should see similar behavior when backing up to a network share:


Note: 1. After you enable incremental backup, the first backup to the share will be a Full
backup.
2. The next backup to the share will be an incremental backup.

196 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

Review
1. What was the first action displayed on the Backup progress page?

Creating volume shadow copy

2. On the Windows Server 2008 Full installation, how much data was transferred
during the first local backup? During the first network backup? What type of
backups were performed?

First local backup: Full - ~6 GB of data transferred (may vary depending on


configuration and actions performed in previous labs)

First network share backup: Full, same amount of data

3. List the folders and files located in your backup on the F:\ drive.

WindowsImageBackup
| --- <DIR> 2008-F1
| | --- <DIR> Backup 2007….
| | --- <DIR> Catalog
| \ --- MediaID

4. What files were created in the Catalog folder? Why are two files listed?

| --- <DIR> Catalog


| BackupGlobalCatalog
| GlobalCatalog
BackupGlobalCatalog is created in case GlobalCatalog becomes corrupted

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 197
Lab 8: Examining Backup and Recovery

5. How many shadow copies were reported by the vssadmin list shadows command
output? Include the creation time and original volume letter.

One shadow copy was created for Drive C: by the Backup Once to local drive
operation (as indicated on the Backup progress page in the wizard).
Creation time: <varies; shown as MM/DD/YYYY HH:MM:SS AM or PM>
Original Volume : (F:)
INSTRUCTOR NOTE:
Although the shadow copy action is specified in the Backup Once Wizard on the
Backup progress page, when you check shadow copies you will see no shadow copy
listed for the C: drive. This is because the shadow copy is generated to snapshot the
data to be transferred and then deleted after the backup is completed to reduce
shadow copy storage requirements.

6. On the Windows Server 2008 Full installation, after changing the performance
option to Always perform incremental backup, how much data was transferred
during the second local backup? What type of backup was performed? Why?

Second local backup: Full, same amount of data as first backup


Second network share backup: Full, same amount of data as first backup
When incremental backup is selected, WSB must first create a full backup to use as a
baseline for future incremental backups.

7. On the Windows Server 2008 Full installation, how much data was transferred
during the third local backup? What type of backup was performed?

Third local backup: Incremental, 23 MB

198 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

Exercise 4: Examine Windows Server Backup


Integration with VSS
In this exercise, you will perform additional backups and observe how VSS creates
shadow copies.
Estimated time to complete this exercise: 15 minutes

Scenario
You have already created one Full Backup and created a Backup Schedule. After reading
Windows Server Backup documentation regarding incremental backups and integration
with the Volume Shadow Copy Service (VSS), you want to test VSS integration and
incremental backup capabilities.

Tasks
1. Switch to virtual machine Student-2008-F1:

a. In the Virtual Server Remote Control Client window, press Right-Alt+A to


show available VMs and then double-click Student-2008-F1.

b. Logon using the administrative credentials for these lab sessions.

2. Use VSSADMIN to view system writers:

a. On Student2008-F1, open a command prompt window.

b. At the command prompt, enter the following command to list volume shadow
copy service writers:

vssadmin list writers

c. Verify that all writers indicate Last error: no error.

d. Record the writer names in the review questions that follow this exercise.

3. Examine shadow copy activities resulting from the second backup:

a. Open a command prompt and enter the following command:

vssadmin list shadows

b. Note the number of shadow copies listed in the command output.

c. Enter the following command and note the storage space, allocated storage
space, and maximum storage space reported for Volume C.

vssadmin list shadowstorage

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 199
Lab 8: Examining Backup and Recovery

Review
1. List the VSS System Writers.

ASR Writer, System Writer, WMI Writer, Registry Writer, COM+ REGDB Writer, Shadow
Copy Optimization Writer, BITS Writer

2. How much shadow copy storage space is in use on Drive C? What is the maximum
shadow copy storage space available on Drive C?

~ 20 MB used, ~ 12 GB maximum

200 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

Exercise 5: Scheduling Backups


In this exercise, you will use Windows Server Backup to schedule a full system backup.
Estimated time to complete this exercise: 15 minutes

Scenario
After testing manual backups with Backup Once, you want to create a backup schedule for
further testing.

Tasks
1. Schedule a daily backup on a Full installation:

a. On Student-2008-F1, in the Windows Server Backup Wizard, in the


Actions pane, click Backup Schedule to launch the Backup Schedule
Wizard.

b. On the Getting Started page, click Next.

c. Review the information in the pop-up and then click Yes.

d. On the Select backup configuration page, select Full Server


(recommended) and then click Next.

e. On the Specify backup time page, leave the default option Once a day
checked, note the Select time of day setting, and then click Next.

f. On the Select destination disk page, click Show All Available Disks, select
Disk 1, and then click OK.

g. In the Available Disks pane, select Disk 1 and then click Next.

h. On the Select destination disk page, select Disk 1 and then click Next.

i. Review the warning regarding reformatting the disk and then click Yes.

j. On the Label destination disk page, record the disk Label in the review
questions that follow this exercise, and then click Next.

If the full label is not displayed, move your mouse pointer over the label to display a
Tip: pop-up tooltip with the full label text.

k. On the Confirmation page, review the information and click Finish.

l. On the Summary page, observe actions, review results, and then click Close.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 201
Lab 8: Examining Backup and Recovery

2. Verify Backup Schedule creation:

a. In Windows Server Backup, in the Status tile, under Next Backup, verify
that the Scheduled backup you just created is listed.

b. Click the View details link to confirm the backup settings and then click OK
to close the dialog box.

3. Modify the Backup Schedule:

a. In Windows Server Backup, in the Action pane, click Backup Schedule.

b. On the Scheduled backup settings page, note the Backup times.

c. To change the backup time, select Modify Backup and then click Next.

d. On the Select backup configuration page, leave the default settings and
click Next.

e. On the Select backup items page, note that Backup1 (F:) is no longer listed,
and then click Next.

f. On the Specify backup time, under Once a day, select 11:30 PM and then
click Next.

g. On the Add or remove backup disks page, accept the default Do nothing
option and click Next.

h. On the Confirmation page, click Finish.

4. Examine the scheduled task created by the backup schedule:

a. On the Start menu, in the Search box, type task scheduler and press Enter.

b. In the Task Scheduler console tree, navigate to Task Scheduler


LibraryMicrosoftWindowsBackup and double-click the task in the
top pane to open the dialog box for easier viewing.

c. Review task information on the General and Triggers tabs.

d. Select the Actions tab, click Edit, and note information displayed in the
Program/script and Add arguments (optional) boxes.

e. Click OK to close the Edit Action dialog box, and then click OK to close the
task Properties dialog box.

5. Schedule a daily backup on a Server Core installation:

a. In the Virtual Server Remote Control Client window, press Right-Alt+A to


show available VMs and then double-click Student-2008-C1.

202 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

b. Logon using the administrative credentials for these lab sessions.

c. Verify that the Backup Once operation to the network share that you started
in the previous exercise completed successfully.

d. To schedule a backup, you will need the GUID for your backup target. To
obtain the GUID for your backup target, enter the following command:

wbadmin get disks

For Disk 1, note the GUID and the Volume name F: [Backup].
e. To schedule a daily backup, enter the following command:

wbadmin enable backup -addtarget:{GUID} -schedule:09:00


-include:c: -allcritical

where {GUID} is the GUID for your backup target.

Use EditCopy to copy the GUID (including the braces ({ }) and then use EditPaste to
Tip: add it to the command line in the next step.

f. When prompted to enable backups with the above settings, type y and press
Enter.

g. When prompted to format and use volume F: to store backups, type y and
press Enter.

h. Verify that the command completes successfully.

6. Verify that the schedule has been created:

a. At the command prompt, enter the following command:

wbadmin enable backup

b. Verify that the backup schedule shown in the command output matches the
parameters you entered in the previous step.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 203
Lab 8: Examining Backup and Recovery

Review
1. What are the default settings for a Scheduled Backup?

Once per day at 9:00 PM

2. Is the disk selected as the Scheduled Backup target automatically formatted by


default? Are there other options?
The disk will be formatted. There are no other options.

3. After creating the Backup Schedule, what is the Volume label automatically
assigned to the Disk 1? Is there a drive letter assigned to the volume? Why?

Volume label = <computername> <datetime> <disknumber>


2008-F1 <date> <time> DISK_01
No volume letter is assigned – to protect backup volume and the backups it contains
from being accessed by other applications

204 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

Exercise 6: Restoring Folders and Files from Backup


In this exercise, you will Windows Server Backup to restore files and folders
Estimated time to complete this exercise: 30 minutes

Scenario
A customer has created a full system backup of his system and you need to help them
restore specific files and folders.

Tasks
1. Use the Recovery Wizard to restore folders and files:

a. In the Windows Server Backup console, in the Actions pane, click Recover.

b. On the Getting Started page, select This Server and then click Next.

c. On the Select Backup Date page, click Today’s Date.

d. Select the time that provides you with the network share backup and then
click Next.

e. On the Select recovery type page, click Files and Folders and then click
Next.

f. On the Select items to recover page, expand the 2008-F1 branch, browse to
c:\windows\panther and highlight the folder, and then click Next.

g. On the Specify recovery options page:

1) Select Another Location.

2) Click Browse, navigate to C:, click Make New Folder, enter the folder
name Setup Logs, and then click OK.

3) Select Create Copies so I have both versions of the file or folder,


select Restore Security Settings, and then click Next.

h. On the Confirmation page, click Recover.

i. Click Close to allow the Recovery Wizard to run in the background.

2. Verify that files have been recovered:

a. Open Windows Explorer, browse to C:\Setup Logs, and verify that files
have been restored.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 205
Lab 8: Examining Backup and Recovery

b. In Server Manager, in Windows Server Backup, in the Messages tile, open


the File recovery message and review information about the recovery
operation.

3. Switch to virtual machine Student-2008-C1:

a. In the Virtual Server Remote Control Client window, press Right-Alt+A to


show available VMs and then double-click Student-2008-C1.

b. Logon using the administrative credentials for these lab sessions.

4. Use command line tools to restore a folder:

a. At the command prompt, enter the following command:

wbadmin get versions

b. Note the backup versions available for recovery.

c. At the command prompt, enter the following command:

wbadmin get items –version:<version>

Where <version> is the version identifier for the backup performed to the
network share.
d. Navigate to the root of Drive C and create the directory C:\Test.

e. At the command prompt, enter the following command:

wbadmin start recovery -version:<version>


-items:"c:\windows\system32\config" -itemtype:file
-recoverytarget:c:\test

f. When prompted to continue, type y and press Enter.

g. Verify that C:\Test contains the config folder and its contents.

5. Dismount and remove Backup3.vhd from Student-2008-F1:

a. Shut down Student-2008-F1.

b. On the Master Status page, in the left pane under Virtual Machines, point to
Configure and click Student-2008-F1.

c. Under Configuration, click Hard disks.

d. In the Virtual hard disk 2 section, verify that Backup3.VHD is listed in the
Fully qualified path to file and then select Remove and click OK.

e. Restart Student-2008-F1.

206 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

Review
1. In what circumstances would you use wbadmin instead of the GUI?

When you are on Windows Server Core or want to perform operations such as
systemstate backup or recovery that cannot be performed in the GUI

2. What types of items show up in the backup?

Volume and Application(registry)

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 207
Lab 8: Examining Backup and Recovery

Exercise 7: Performing a Full System Recovery


In this exercise, you will boot from Windows Server 2008 media and use a full backup
created by Windows Server Backup to restore a computer.
Estimated time to complete this exercise: 45 minutes

Scenario
After a hardware failure, you need to restore a complete system backup to a bare metal
machine.

Tasks
1. In Virtual Server, create a new virtual machine called Student-2008-BMR:

a. On the Virtual Server Administration Website page, in the left pane under
Virtual Machines, point to Configure and browse the list to locate Student-
2008-BMR.

If virtual machine Student-2008-BMR has already been created, you may skip the rest of
Note: the steps in this task.

b. On the Virtual Server Administration Website page, in the left pane under
Virtual Machines, click Create.

c. For Virtual machine name, enter the following path and name:

C:\vs\lhtrain-users\Student\Student-2008-BMR

where BMR indicates the virtual machine that will be used for Bare Metal
Restore.
d. For Memory, change the amount of RAM to 512 MB.

e. For Virtual Hard disk, leave the default settings selected.

f. For Virtual network adapter, open the drop-down menu and select the
virtual network for your location as specified by your instructor.

g. Confirm settings for the new virtual machine, and then click Create to
complete virtual machine creation.

2. Add a second hard disk to Student-2008-BMR:

a. On the Master Status page, in the left pane under Virtual Machines, point to
Configure and click Student-2008-BMR.

208 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

b. Under Configuration, click Hard disks.

c. Click Add disk.

d. Under Virtual hard disk 2, in the Fully qualified path to file box, type the
following path and then click OK:

C:\Labfiles\backup3.vhd

3. Mount the Windows Server 2008 installation media in the DVD drive:

a. Under Configuration, click CD / DVD.

b. Open the drop-down for Known Image files, select C:\VS\Win.ISO\2008-


server-GTR.iso, and then click OK.

4. Start virtual machine Student-2008-BMR:

a. In the Virtual Machine Remote Control Client, press Right-Alt+A to show


available VMs and then double-click Student-2008-BMR.

b. When the BIOS starts loading, immediately click in the Virtual Machine
Remote Control Client window and when prompted press any key to boot
from CD or DVD.

5. Start the restore:

a. On the Locale page, click Next.

When performing these tasks, VM Additions are not installed in the new virtual machine
Note: you created.

b. On the Install now page, click Repair your computer.

c. On the System Recovery Options screen for operating system selection,


click Next.

d. On the Choose a recovery tool screen, click Windows Complete PC


Restore.

e. On the Restore your entire computer from a backup page, select Use the
latest available backup (which is the backup to the network share \\2003-
DC1\Backup1 taken in Exercise 3) and then click Next.

You may need to click on a few different backups before locating the network share
Note: backup mentioned above.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 209
Lab 8: Examining Backup and Recovery

f. On the Choose how to restore the backup page:

1) Select Format and repartition disks.

2) Click Exclude disks, note that Disk 1 is already excluded since it


contains the backup being restored, and then click OK.

3) Click Advanced to view advanced options, accept the default option


selections, and then click OK.

4) Click Next.

g. On the final page, verify the restore information and then click Finish.

h. In the warning dialog, select I confirm that I want to format the disks and
restore the backup, and then click OK and observer restore progress.

The restore operation may require up to fifteen minutes. During this time, your
Note: instructor will discuss best practices for Windows Server Backup and explain how to
perform a system state backup and restore operations.

i. When the restore is completed, click Restart Now.

j. Following restart, logon using the administrative credentials for these lab
sessions and verify that the computer has been successfully restored.

Note that VM Additions are now fully functional, since they were installed prior to
Note: creating the backup.

210 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

Review
1. During restore, is the disk containing the backup included in formatting and
partitioning?

No. Complete PC Restore from a backup hard disk automatically excludes the disk that
contains the backup.

2. In what case would Windows Server Backup not allow you to exclude a volume in a
backup?

If that volume is being used by a component like Exchange or SQL so to do a complete PC


backup that volume must be backed up

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 211
Lab 8: Examining Backup and Recovery

Exercise 8: Backing Up and Restoring SystemState


In this exercise, you will back up the system state on your server.
Estimated time to complete this exercise: 30 minutes

Scenario
Having verified full server backup and recovery, you now want to test system state
backup and recovery capabilities.

Tasks
1. Determine the steps required to perform a systemstate backup:

a. On Student-2008-BMR, in Server Manager, open the Storage node and


select Windows Server Backup.

b. In the Actions pane under Windows Server Backup, click Help.

c. In the help file, expand Windows Server Backup, expand Backing Up Your
Server, and select Create a Backup of the System State Using a Command
Line.

d. Review the steps required and note Additional considerations and


Additional references.

2. Assign a drive letter to use in the WBADMIN command:

a. In Server Manager, under Storage, select Disk Management.

b. Assign drive letter F to Disk 1.

3. Perform a systemstate backup:

a. Open an administrative command prompt window.

b. To perform the systemstate backup, enter the following command:

wbadmin start systemstatebackup –backupTarget:F:

You can use copy and paste to copy the command from the help file and then replace
Tip: <VolumeName> with the drive letter assigned in the previous task.

c. When prompted to start the backup, type Y and press Enter.

d. Observe backup progress displayed in the command prompt window.

e. Wait for the systemstate backup to complete.

212 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

The system state backup may take 5 minutes or more. Once the command prompt
Note: window begins displaying Overall progress, your instructor may continue the
presentation or recommend a short break.

4. Verify backup results:

a. Record the systemstate backup log file displayed in the command prompt
window.

b. Return to Windows Server Backup and note that the systemstate backup is
not listed under All Backups.

c. Open the log file and review the file list.

d. In the Windows Server Backup help file, search for recover system state
and review the steps required to restore a systemstate backup to prepare for
performing this procedure in the next task.

e. In Windows Explorer, open the F: drive, and navigate to the folder


WindowsImageBackup\<computername>\SystemStateBackup.

f. Open the most recent Backup… folder and verify that it contains a
SystemStateBackup folder.

5. Delete registry data to simulate corruption:

a. Open the Registry Editor, navigate to the following location, and note the
subkeys:

HKLM\SOFTWARE\Microsoft\Internet Explorer

b. Attempt to delete the Internet Explorer key. Ignore any warning and note
that the key remains but now only contains a few subkeys.

6. Restore lost data from a systemstate backup:

a. At the command prompt, enter the following command:

wbadmin get versions

b. Note the version identifier for the latest backup and the indication that it can
recover System State.

c. To recover system state, enter the following command:

wbadmin start systemstaterecovery –version:<versionidentifier>

Where <versionidentifier> is the version obtained in the previous step.


d. When prompted to continue, type y and press Enter.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 213
Lab 8: Examining Backup and Recovery

e. After completing system state recovery, wbadmin displays a warning


regarding system restart and expected delays during system state recovery
following restart and logon. Review the information, and then press Enter.

f. Restart the virtual machine and logon using the administrative credentials
for these lab sessions.

g. Observe the system state recovery command window that opens


automatically and wait for recovery operations to be completed.

h. Open the Registry Editor, navigate to HKLM\SOFTWARE\Microsoft\


Internet Explorer, and observe that all subkeys have been restored.

7. Remove the backup hard disk from the restored computer and reinstall it to
its previous location:

a. Shut down virtual machines Student-2008-BMR and Student-2008-F1.

b. On the Virtual Server Administration Master Status page, under Virtual


Machines, point to Configure and select Student-2008-BMR.

c. Under Configuration, click Hard Disks to open the Hard Disk Properties
page, in the Virtual disk 2 (Backup3.VHD) section, select Remove and then
click OK.

d. On the Virtual Server Master Status page, under Virtual Machines, point to
Configure and select Student-2008-F1.

e. Under Configuration, click Hard Disks to open the Hard Disk Properties
page, click Add to add the Virtual disk 2 section, select
C:\Labfiles\Backup3.VHD, and then click OK.

214 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

Review
1. How many files were found for the systemstate backup?

Answer varies – in testing, 44625 files were found.

2. Which VSS Writer(s) provide(s) information for systemstate backup?

System Writer
Registry Writer

3. Which log file contains a list of files successfully backed up?

C:\Windows\Logs\WindowsServerBackup\SystemStateBackup <date and time>.log

4. What command is required to restore a systemstate backup?

Wbadmin start systemstaterecovery –version<VersionIdentifier> -showsummary [-


backupTarget:{<VolumeName | <NetworkSharePath}] [-
machine:<BackupMachineName>] [=recoveryTarget:<TargetPathForRecovery>] [-
authosysvol] [-quiet]

5. You backed up your systemstate manually to a drive that already had a full system
backup saved to it. What folder did wbadmin update?

Servername\SystemStateBackup\Backup 2007…..

6. If you were trying to restore systemstate on a domain controller, how would you
restore system state?

Boot into active directory restore mode


Run wbadmin from command line to restore system state

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 215
Lab 8: Examining Backup and Recovery

Exercise 9: Using WBDIAG


In this exercise, you will run the PSS tool WBDIAG
Estimated time to complete this exercise: 15 minutes

Scenario
You are assisting a customer that is having issues creating a backup and need to send the
customer the Windows Backup Diagnostic Toolkit (WBDIAG) to gather information

Tasks
1. Mount the Wbdiag.iso media in the DVD Drive for Student-2008-F1:

a. On the Virtual Server Administration website, under Virtual Machines, click


Configure and select Student-2008-F1.

b. Under Configuration, click CD / DVD.

c. Select Known image files, open the drop-down menu and select
C:\Labfiles\ISO\wbdiag.oiso, and then click OK.

2. Install WBDiag:

a. In the Virtual Machine Remote Control Client, press Right-Alt+A to show


available VMs and then double-click Student-2008-F1.

b. Logon using the administrative credentials for these lab sessions.

c. Open Windows Explorer, navigate to the DVD Drive, and double-click


wbdiag.msi.

d. In the WBDIAG installer, click Next, then accept the license and click Install.

e. Click Finish.

3. Run WBDiag to gather Current State:

a. Open a command prompt window and enter the following command:

C:\wbdiag\wbdiag.exe /?

b. Note available options.

c. At the command prompt, enter the following command to gather data from
the system:

C:\wbdiag\Wbdiag.exe –mode getCurrentState

216 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

d. Browse to the C:\WBDiag\wbdiag-<todaysdatetime> folder and browse


through logs and files the tool has collected.

During a customer engagement, you would then ask the customer to zip the contents of
Note: this directory and send it to you for analysis and comparison to similar data collected
when you attempt to reproduce the issue.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 217
Lab 8: Examining Backup and Recovery

Review
1. How would you redirect the output of wbdiag to a different location?

-logpath:e:\logs

2. How would you enable verbose logging?

-level verbose

218 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

Exercise 10: Creating a WinRE Image


In this exercise, you will create a WinRE image to apply to your hard drive for recovery
purposes.
Estimated time to complete this exercise: 30 minutes

Scenario
You are assisting a customer create a WinRE image to deploy for a Windows Server 2008
recovery environment.

Tasks
1. Create your WinRE Build Environment:

a. On Student-2008-F1, if the Windows AIK is not already installed in your


environment, install it now.

For step-by-step instructions, see Lab 5, Exercise 2.


Note:

b. Click Start, point to All Programs, point to Windows AIK, and then click
Windows PE Tools Command Prompt.

The command prompt window that opens automatically sets environment variables to
Note: point to all the necessary tools.

c. At the command prompt, run the copype.cmd script by entering the following
command:

Copype.cmd x86 C:\winre_x86

DO NOT CLOSE THIS COMMAND PROMPT.


Important:

2. Export the boot.wim image from the Windows Server 2008 ISO image:

a. At the same command prompt, enter the following command:

imagex.exe /export /boot E:\sources\boot.wim 2


c:\winre_x86\winre.wim “Windows Recovery Environment”

b. Mount the image using ImageX by entering the following command:

imagex.exe /mountrw c:\winre_x86\winre.wim 1 c:\winre_x86\mount

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 219
Lab 8: Examining Backup and Recovery

3. Add custom WinRE Scripts:

a. Using Notepad, create a file called winpeshl.ini that contains the following
text:

[LaunchApp]
AppPath=x:\sources\recovery\recenv.exe

b. Copy this file to \Windows\System32 directory in your working WinRE


directory. For example:

copy winpeshl.ini C:\WinRE_x86\Mount\Windows\System32

4. Enable Server Mode for WinRE:

a. Create a tools subdirectory in your working WinRE directory


C:\WinRE_x86\Mount\Sources\Recovery

b. Create an .xml file called WinREConfig.xml with the following syntax:

<Recovery>
<Server/>
</Recovery>

c. Save this file in to your working WinRE directory under


C:\WinRE_x86\Mount\Sources\Recovery\Tools.

5. Save the changes to the image:

a. In the same Windows PE Tools Command prompt window, unmount the


image by running the following command:

imagex.exe /unmount /commit c:\winre_x86\mount

b. Open Windows Explorer and record the size of the Winre.WIM file.

220 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

Review
1. After mounting your image, which directories do you have available in the
C:\Winre_x86\mount directory?

The Program Files, ProgramData, sources, Users, and Windows directories are available.

2. How large is your final Winre.wim file?

This may vary, but approximately 127 MB.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 221
Lab 8: Examining Backup and Recovery

Exercise 11: Installing WinRE Manually to Hard Disk


In this exercise, you will manually install WinRE to the root of the first hard disk partition.
Estimated time to complete this exercise: 15 minutes

Scenario
You are assisting a customer with manually installing WinRE to hard disk.

Tasks
1. Format the Recovery partition.

a. On Student-2008-F1, open a command prompt window.

b. Open Disk Management.

c. Right-click on the partition listed as RAW and select Format.

d. Enter Recovery as the Volume label and select the box next to Perform a
quick format.

2. Copy the WinRE image and related files onto the correct partition:

a. Open a command prompt window.

b. Copy the WinRE image and related files to the root directory of the first hard
disk partition (which should be the D:\ partition created on Day 1 of training)
by entering the following commands from the command prompt:

copy c:\winre_x86\winre.wim d:
copy “c:\Program Files\Windows
AIK\Tools\PETools\x86\boot\boot.sdi” d:
copy “c:\ Program Files\Windows AIK\Recovery\setautofailover.cmd”
d:

3. Run SetAutoFailover.cmd:

a. Run SetAutoFailover.cmd to modify the boot configuration data (BCD) so


that Windows RE can be launched during startup:

d:\setautofailover.cmd /target d: /disk 0 /partition 1 /wim

b. This completes the installation of WinRE onto the hard disk.

222 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

Review
1. What are the commands that can be used with the setautofailover.cmd script?

/target, /wim, /partition, /disk, /gpt, /mainos, /nohide, /bcdedit, and /diskpart

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 223
Lab 8: Examining Backup and Recovery

Exercise 12: Using System File Checker


In this exercise, you will use System File Checker from within Windows and within the
Windows Recovery Environment to verify the integrity of the protected operating system
files on your Windows installation.
Estimated time to complete this exercise: 45 minutes

Scenario
Your customer is suspected of having a missing or corrupt DLL on Windows Server 2008.

Tasks
1. Rename a boot-critical system file:

a. The Student-2008-F1 VM should be up and running with the Windows


Server 2008 installation media in the DVD drive.

b. Open an administrative command prompt window and enter the following


commands:

takeown.exe /f c:\windows\system32\ntdll.dll

icacls c:\windows\system32\ntdll.dll /grant Administrator:(D,WDAC)

REN c:\windows\system32\ntdll.dll ntdll.old

sfc /verifyonly

2. Analyze the log that SFC generates:

a. At the command prompt, enter the following command:

sfc /scannow

b. At a command prompt, enter the following two commands to extract CBS log
data into a text file and open the text file in Notepad:

findstr /c:"[SR]" %windir%\logs\cbs\cbs.log >sfcdetails.txt


notepad sfcdetails.txt

c. Scroll to the bottom of the log file and record the repair operation message.

d. At the command prompt, enter the following command:

REN c:\windows\system32\ntdll.dll

3. Boot into the Windows Recovery Environment:

a. Restart Student-2008-F1.

224 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

b. Your virtual machine should blue screen due to the missing ntdll.dll file.

c. During the restart, press any key to boot from CD or DVD.

d. On the Setup Install now screen, select Repair Your Computer.

e. In System Recovery Options, enter the administrator password and click


OK.

4. Launch SFC and validate the integrity of the protected operating system files:

a. Open a command prompt window and enter the following command:

sfc /verifyonly

b. Record the error presented.

c. Enter the following command:

sfc /verifyonly /Offbootdir=c:\ /Offwindir=c:\windows

5. Replace the missing DLL using SFC:

a. Enter the following command:

sfc /scannow /offbootdir=d:\ /offwindir=d:\windows

b. Reboot the server.

6. Analyze the log that SFC generated:

a. Following reboot, logon using the administrative credentials for these lab
sessions.

b. Open an administrative command prompt and enter the following command:

findstr /d:”[SR]” %windir%\logs\cbs\cbs.log >sfcdetails2.txt

c. When the findstr command completes, enter the following command:

notepad sfcdetails2.txt

d. Scroll to the bottom of the log and record the repair operation.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 225
Lab 8: Examining Backup and Recovery

Review
1. From which location did Windows copy NTDLL.DLL when running SFC prior to the
reboot?

From the WinSxS store.

2. What error message did you receive when running SFC /verifyonly in WinRE?

Windows Resource Protection could not start the repair service.

3. Which bug check did you receive on reboot? Was a memory dump file generated?

0x0000006b (0xc0000034, 0x00000002, 0x00000000, 0x00000000). Yes, a memory.dmp


file was generated.

4. What additional parameters are needed when running SFC from within WinRE?

The /OFFBOOTDIR and /OFFWINDIR parameters must be specified.

5. From which location did Windows copy NTDLL.DLL when running SFC from within
WinRE?

Answer

226 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

Exercise 13: Using Regedit in WinRE


In this exercise, you will access the Registry Editor from the Windows Recovery
Environment to disable a service.
Estimated time to complete this exercise: 15 minutes

Scenario
Your customer has a service that is preventing him from starting Windows Server 2008.
You want to assist him in disabling the service so the system can boot.

Tasks
1. Boot into WinRE:

a. Restart Student-2008-F1 VM and press F8 during boot.

b. On the Advanced Boot Options menu, select Repair Your Computer.

c. Select the appropriate keyboard layout.

d. On System Recovery Options, enter the Administrator password in the


blank provided.

e. Click OK.

2. Open the registry editor:

a. Open a command prompt window.

b. At the command prompt, enter the following command:

regedit

3. Load the local System registry hive:

a. Highlight HKEY_LOCAL_MACHINE

b. Click the File Menu and select Load Hive.

c. Navigate to C:\Windows\System32\Config.

d. Select SYSTEM.

e. Click Open.

f. Give the registry hive a name such as TEST.

g. Expand HKEY_LOCAL_MACHINE\TEST\ControlSet001\Services.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 227
Lab 8: Examining Backup and Recovery

h. Disable any non-Microsoft services by changing the Start value data to 4.

Make sure to record the startup type value and the service that you disable.
Note:

4. Unload the registry hive:

a. Highlight HKEY_LOCAL_MACHINE\TEST.

b. Open the File menu and select Unload Hive.

c. Click Yes.

d. Reboot the server.

228 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.
Supporting Windows Server 2008 for Setup

Review
1. What service did you disable?

Answer varies.

2. What was the original start value type for that service?

Answer varies.

Global Technical Readiness


Microsoft Confidential - For Internal Use Only 229
Instructor Notes

Instructor Notes
This section provides additional information to assist instructors in classroom delivery.
Instructor notes are numbered consecutively throughout the workbook.

1 If a specific computer name is provided in the lab exercise and a student incorrectly
names the computer, follow the steps below to rename the computer:
1. Rename the computer to the specified name.
2. Reboot.
3. Open a command prompt.
4. Navigate to C:\Scripts.
5. Type NetConfig.cmd and press Enter.

2 A few students have reported a hang while “searching for updates” when installing the
hotfix. Should this occur, first try to have the student reboot the VM. If this problem still
occurs, try disabling all network adapters in the VM and retry the hotfix installation.

3 Winhex can locate the file number of a file.

230 © [Select Current or Release Date] Microsoft Corporation. All rights reserved.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy