Supporting SCCM 2007 Lab Manual
Supporting SCCM 2007 Lab Manual
Supporting SCCM 2007 Lab Manual
Manager 2007
Lab Manual
FINAL
Microsoft®, Internet Explorer, and Windows® are either registered trademarks or trademarks of
Microsoft Corporation in the United States and/or other countries.
The names of actual companies and products mentioned herein may be the trademarks of their
respective owners.
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.
No part of the text or software included in this training package may be reproduced or transmitted in
any form or by any means, electronic or mechanical, including photocopying, recording, or any
information storage and retrieval system, without permission from Microsoft®. Because Microsoft
must respond to changing market conditions, it 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. The names of actual companies and products mentioned herein may be the
trademarks of their respective owners.
To obtain authorization for uses other than those specified above, please visit the Microsoft
Copyright Permissions Web page at http://www.microsoft.com/permission/copyrgt/img-req.htm.
This content is proprietary and confidential, and is intended only for users described in the content
provided in this document. This content and information is provided to you under a Non-Disclosure
Agreement and cannot be distributed. Copying, disclosing all or any portion of the content and/or
information included in this document is strictly prohibited.
Table of Contents
Lab 1: Upgrade an Existing SMS 2003 site .......................................................................... 1
Before You Begin.................................................................................................................................1
What You Will Learn ...........................................................................................................................1
Setting Up Your Lab Environment.......................................................................................................1
Exercise 1: Installing Microsoft SCCM 2007 ........................................................................................3
Exercise 2: Preparing Active Directory for SCCM 2007 Integration ....................................................6
Exercise 3: Installing an SCCM 2007 Client .........................................................................................9
Exercise 4: Installing an SCCM 2007 Reporting Point .......................................................................14
Lab 2: Deploy a Branch DP ...............................................................................................17
Exercise 1: Creating and Configuring a Branch Distribution Point....................................................17
Exercise 2: On-Demand Package Distribution ..................................................................................22
LAB 3: Implementing Desired Configuration Management ................................................25
Objectives .........................................................................................................................................25
Exercise 1: Enable the DCM Client agent ..........................................................................................25
Exercise 2: Create Configuration Items.............................................................................................25
Exercise 3: Establishing DCM Baselines ............................................................................................27
Exercise 4: Reviewing CI information on the server and client ........................................................29
Exercise 5: Check that the Windows Firewall is Enabled Using Desired Configuration Management
..........................................................................................................................................................31
Exercise 6: Check for the Presence of the Client Installation Properties Registry Key Using Desired
Configuration Management..............................................................................................................34
Lab 4: Deploying Software Updates ..................................................................................37
Exercise 1: Configuring SCCM 2007 Integration with WSUS.............................................................37
Exercise 2: Generating Update Status on the SCCM Client ................. Error! Bookmark not defined.
Exercise 3: Generating Software Update Compliance Reports ........... Error! Bookmark not defined.
Exercise 4: Distributing Software Updates Using SCCM Software Update Management .......... Error!
Bookmark not defined.
Exercise 5: Validating Current Software Update Compliance.............. Error! Bookmark not defined.
Lab 5: Working with Operating System Deployment .........................................................46
Exercise 1: Capturing an OSD reference image ................................................................................46
Exercise 2: Configuring and deploying a captured image .................................................................48
Exercise 3: Import sample drivers.....................................................................................................52
Exercise 4: Creating a deployment task sequence ...........................................................................53
Exercise 5: Install and configure the PXE service point ....................................................................57
Exercise 6: Creating and distributing a non-OSD task sequence ......................................................58
Exercise 7: Importing Windows Device Drivers into the Driver Catalog .......................................... 60
Lab 6: Implementing Service Windows ............................................................................. 63
Exercise 1: Configuring Maintenance Windows on Collections ....................................................... 63
Exercise 2: Implementing the Maintenance Windows on the SCCM Clients ................................... 66
Exercise 3: Distributing Software to the SCCM Clients ..................................................................... 68
Exercise 4: Create two Maintenance Windows to control software distribution ............................ 76
Exercise 5: Create an advertisement to verify the first Maintenance Window permits software
distribution ....................................................................................................................................... 77
Exercise 6: Create an advertisement that will run outside of a Maintenance Window ................... 80
Exercise 7: Create an advertisement that runs past the Maintenance window .............................. 81
Instructor Notes .............................................................................................................. 83
Answers to Lab Exercises .................................................................................................................. 83
Lab Manual Lab 1: Upgrade an Existing SMS 2003 site
■ Create an Active Directory site for integration with Microsoft® System Center
Configuration Manager 2007.
■ A virtual machine running Windows 2003 SP2 and a virtual machine running
Windows XP SP2.
FINAL 1
Microsoft Confidential - For Internal Use Only © 2007 Microsoft Corporation. All rights reserved.
Supporting System Center Configuration Manager 2007
● MMC 3.0
● KB914389
■ Windows XP SP2 client has the Configuration Manager 2003 Advanced Client
installed.
You must log on as an administrative user in order to perform some of the tasks in
this lab.
□ Username = Administrator
□ Password = !LS1setup
□ Domain = SCSBeta.local
□ SCCM Sitecode=S00
● FQDN = SCCMSRV1.SMSBeta.local
● FQDN = SCCMXP01.SMSBeta.local
2 FINAL
© 2007 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal Use Only
Lab Manual Lab 1: Upgrade an Existing SMS 2003 site
□ Username = Student01
□ Password = Pass0word1
□ Domain = SCSBeta.local
■ WSUS 3.0
Before beginning this exercise please increase the memory for the server VM to 1
and a half gigs.
Caution!
The upgrade process can take as long as 2 hours. This lab must be started at a break during
the lecture portion so it can be completed in a time that allows students to complete the rest of the
labs.
Tasks
Install SCCM 2007
1. Navigate to E:\Lab Files\Configuration Manager 2007 RC double-click on
splash.hta. The System Center Configuration Manager 2007 Start screen
appears.
3. Leave the option checked for Upgrade and click on OK. The prerequisite
checker will run and display results.
4. After checking to make sure there are no deployment blockers click on OK.
FINAL 3
Microsoft Confidential - For Internal Use Only © 2007 Microsoft Corporation. All rights reserved.
Supporting System Center Configuration Manager 2007
7. On the Available Setup Options screen leave the default Upgrade an existing
Configuration Manager or SMS 2003 Installation selected and click Next.
9. On the Customer Experience screen leave the defaults and click Next.
11. On the Settings Summary screen click Next. The prerequisite check will run
again.
12. Once the prerequisite check is complete, if there are no deployment blockers
click on Begin install.
13. Setup will begin and progress will be displayed on the Setup Action Status
Monitoring screen.
1. On the Start menu, click on All Programs, click on Microsoft Systems Center,
click on Configuration Manager 2007, then click on ConfigMgr Console..
3. In the tree pane, click Site Database - S00 - SCCMSRV1. The Configuration
Manager home page appears in the results pane. Notice that information is
provided on completing the site configuration in order to support SCCM client
deployment.
4. In the tree pane, expand Site Database, expand System Status, expand Site
Status, expand S00, and then click Site System Status. The list of
Configuration Manager site system roles appears in the results pane with the
current status of each site system.
6. In the tree pane, click Component Status. The list of Configuration Manager
components and their status appears in the results pane.
4 FINAL
© 2007 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal Use Only
Lab Manual Lab 1: Upgrade an Existing SMS 2003 site
8. Click All. The Configuration Manager Status Message Viewer for Configuration
Manager window appears. Notice the message with the ID of 1027. It mentions
that the site server was configured to receive Configuration Manager server
components.
9. Click the message, and then on the View menu, click Detail.
10. The Status Message Details dialog box appears. Notice the header information
for the message, as well as the text under Description.
14. The list of Configuration Manager components appear in the results pane.
16. Look for the message ID of 2866. This message indicates the actual site control
file copy has been sent to the Configuration Manager Hierarchy Manager for
addition to the Configuration Manager site database. NOTE: You may only see
these status messages from the first install, but not from the upgrade.
17. There should also be messages with IDs of 2808, 2814, 2813, 2811, and 2865 in
each set of Site Control File modification requests. You will view these
messages in later labs.
19. The Configuration Manager Status Message Viewer window appears. Notice
the messages with message IDs of 3306. These messages indicate that
Hierarchy Manager has successfully processed a site control file modification
and updated the site database.
FINAL 5
Microsoft Confidential - For Internal Use Only © 2007 Microsoft Corporation. All rights reserved.
Supporting System Center Configuration Manager 2007
2. Locate the VPC in the folder labeled Second VM in the root of C: on the host
machine.
3. Boot up that VPC and log into it with the same credentials used in the first lab.
This will be the Server VPC you work with for the remainder of this manual.
Tasks
Extend the Active Directory schema
1. Run E:\Lab Files\extadsch.exe. A command prompt window appears as you
extend the Active Directory schema for use by SCCM. When the schema
extension process has completed, the command prompt window closes.
4. How many classes and attributes were added to Active Directory as a result of
extending the schema for SCCM 2007?
6 FINAL
© 2007 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal Use Only
Lab Manual Lab 1: Upgrade an Existing SMS 2003 site
_____________________________________________________________________________
5. Verify that there are no errors listed in the log, and then close Trace.
3. In the console tree, click Sites. The list of AD sites appears in the results pane.
Notice the default site name of Default-First-Site-Name.
An Active Directory message box appears listing steps that may be required to
complete the creation of the new site.
8. Click OK. The list of sites appears in the details pane. Notice the new site is
listed.
9. In the console tree, expand Sites, click Subnets, and then on the Action menu,
click New Subnet. The New Object – Subnet dialog box appears.
12. Under Select a site object for this subnet, click Configuration ManagerSite,
and then click OK. The list of subnets appears in the details pane. Notice the
new subnet and its associated site.
13. In the console tree, expand Configuration ManagerSite, and then click
Servers. The list of servers for this site appears in the details pane. Notice that
there are no servers in this new site.
15. On the Action menu, click Move. The Move Server dialog box appears
displaying all sites available.
FINAL 7
Microsoft Confidential - For Internal Use Only © 2007 Microsoft Corporation. All rights reserved.
Supporting System Center Configuration Manager 2007
16. Under Site Name, click Configuration ManagerSite, and then click OK. The
list of servers for the default site appears in the details pane. Notice that there
are no servers in the default site.
17. In the console tree, expand Sites, expand Configuration ManagerSite, and
then click Servers. The list of servers for the new site appears in the details
pane. Notice that your Primary Domain Controller has been moved to the new
site.
2. The list of boundaries for the local site appears in the results pane. Notice that
there no default boundaries added to the site.
4. The New Site Boundary dialog box appears allowing the creation of a new
boundary.
6. In the Type box, click Active Directory Site Name, and then click Browse.
7. The Browse Active Directory sites dialog box appears displaying the
available Active Directory sites. Notice that both the default AD site (Default-
First-Site-Name) as well the AD site you created earlier (Configuration
ManagerSite) are displayed.
8. Under Site Name, click Configuration ManagerSite, and then click OK.
9. The New Site Boundary dialog box appears displaying the information
specified for the new boundary.
10. Under Network Connection, verify that Fast (LAN) is selected, and then click
OK.
11. An Information message box appears indicating that the new boundary will
take up to a minute to update.
12. Click OK, and then in the Actions pane, click Refresh. Notice that the new AD
site (ConfigurationManagerSite) now appears as a boundary.
8 FINAL
© 2007 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal Use Only
Lab Manual Lab 1: Upgrade an Existing SMS 2003 site
4. To set approval status for the clients use the search feature in the help file to
find the section titled How to Approve Configuration Manager Clients, then
follow the steps listed.
Tasks
Discover computers from Active Directory
1. In the tree pane, expand Site Database - S00, expand Site Settings, and then
click Discovery Methods.
2. The list of discovery methods for the local site appears in the results pane.
Notice that there are four discovery methods related to Active Directory.
3. In the results pane, click Active Directory System Discovery, and then in the
Actions pane, click Properties. The Active Directory System Discovery
Properties dialog box appears.
FINAL 9
Microsoft Confidential - For Internal Use Only © 2007 Microsoft Corporation. All rights reserved.
Supporting System Center Configuration Manager 2007
4. Select Enable Active Directory System Discovery, and then click New (the
icon resembles a starburst).
5. The New Active Directory Container dialog box appears allowing you to
specify the use of a local domain, local forest, or custom query for the
discovery.
7. The Select New Container dialog box appears allowing you to specify the
container to use for discovery.
11. The Active Directory System Discovery Properties dialog box displays the
default polling schedule for Active Directory System Discovery. Notice that by
default, this polling will occur daily.
14. Under Recurrence pattern, click None, and then click OK.
15. The Active Directory System Discovery Properties dialog box appears
displaying the current schedule.
16. Click Run discovery as soon as possible and then click OK.
18. Wait a few minutes for the discovery process to complete then go to task 2.
3. In the tree pane, expand Collections, and then click All Systems.
4. Notice that there are no members of the All Systems collection at this time.
10 FINAL
© 2007 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal Use Only
Lab Manual Lab 1: Upgrade an Existing SMS 2003 site
7. Click OK.
8. The collection is updated. It takes a minute before the database is updated with
the new collection membership information.
10. The collection membership is updated, and the current membership of the All
Systems collection is displayed.
____________________________________________________________________________________________
____________________________________________________________________________________________
____________________________________________________________________________________________
____________________________________________________________________________________________
11. If the assigned status remains listed as No, then verify that you have correctly
listed Configuration Manager Site as a boundary for the site.
12. In the results pane, click the Windows XP Professional client, and then in the
Actions pane, under Configuration Manager Client, click Properties.
13. The Configuration Manager Client Properties dialog box appears displaying
discovery properties.
____________________________________________________________________________________________
FINAL 11
Microsoft Confidential - For Internal Use Only © 2007 Microsoft Corporation. All rights reserved.
Supporting System Center Configuration Manager 2007
3. In the results pane, click Client Push Installation, and then in the Actions
pane, click Properties.
4. The Client Push Installation Properties dialog box appears. Notice that the
installation method is not enabled. It does not need to be enabled for our push
installation.
10. In the Password and Confirm password boxes, type password and then click
OK.
11. The Client Push Installation Properties dialog box displays accounts to be
used to push out the SCCM client software. Notice that the new account is
listed.
12. Click OK. The Configuration Manager Administrator Console window appears.
2. In the Actions pane, click Update Collection Membership. The All Windows
XP Systems message box appears prompting to update subcollection
membership.
12 FINAL
© 2007 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal Use Only
Lab Manual Lab 1: Upgrade an Existing SMS 2003 site
4. In the Actions pane, click Refresh. The collection membership is updated, and
the current membership of the All Windows XP Systems collection is displayed.
This should include the Windows XP Professional client computer,
Configuration Manager Client.
5. In the Actions pane, click Install Client. The Client Push Installation Wizard
dialog box appears.
6. Click Next. The Client Push Installation Wizard Installation options dialog
box appears displaying options for the client installation.
7. Click Next to accept the default configuration to install the client to assigned
resources. The Completing the Client Push Installation Wizard dialog box
appears indicating it is ready to complete the installation.
8. Click Finish. The SCCM 2007 client is remotely installed on the Windows XP
Professional client computer. It will take a few minutes before the installation
completes.
3. Verify that the Configuration Manager Agent Host service has been started.
4. Close Services.
1. In the tree pane, expand Collections, and then click All Windows XP Systems.
The members of the All Windows XP Systems collection appear in the results
pane. Notice that the Windows XP Professional computer appears. Also notice
that the computer is not listed as being an Configuration Manager client.
FINAL 13
Microsoft Confidential - For Internal Use Only © 2007 Microsoft Corporation. All rights reserved.
Supporting System Center Configuration Manager 2007
2. In the Actions pane, click Update Collection Membership. The All Windows
XP Systems message box appears prompting to update sub-collection
membership.
4. In the Actions pane, click Refresh. The collection membership is updated, and
the current membership of the All Windows XP Systems collection is displayed.
Notice that the Windows XP Professional client computer now is listed as being
installed as an SCCM 2007 client.
Tasks
Install a Reporting Point
1. In the tree pane, expand SCCMSRV1, expand Site Management, expand S00,
and then expand Site Settings.The list of configurable site settings appears in
the results pane.
2. In the tree pane, expand Site System Roles, and then click \\SCCMSRV1. The
list of site system roles for the site server appears in the results pane. Notice
that there are six site system roles assigned to the computer.
3. In the Actions pane, click New Roles. The New Site Role Wizard General
dialog box appears.
4. Click Specify a fully qualified host name for this site system on the
intranet. This is required for native mode and for publishing in DNS.
6. Click Next.
7. The New Site Role Wizard System Role Selection dialog box appears
displaying the list of site system roles that can be assigned to this computer.
14 FINAL
© 2007 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal Use Only
Lab Manual Lab 1: Upgrade an Existing SMS 2003 site
8. Under Available roles, select Reporting Point, and then click Next. The New
Site Role Wizard Reporting Point dialog box appears allowing you to
configure the reporting folder and port to use for the Reporting Point.
9. Click Next to use the default values. The New Site Role Wizard Summary
dialog box appears indicating that you have successfully completed the wizard.
10. Click Next. The New Site Role Wizard Wizard Completed dialog box appears
indicating that Configuration Manager is now ready to begin installation of the
Reporting Point.
2. In the results pane, click Computers assigned but not installed for a
particular site, and then in the Actions pane, under Computers assigned but
not installed for a particular site, click Run. The Report Options message
box appears prompting for the Reporting Point to use to run the report.
3. Click OK to use the only Reporting Point in our site. The Computers assigned
but not installed for a particular site Report Information report appears in
the results pane. As this is a prompted report, you must supply the site code of
the site you wish to view computer information for.
4. In the Site Code box, type S00, and then click Display. An Internet Explorer
window starts and display the Computers assigned but not installed for a
particular site report. Notice that there are two computers discovered and
assigned to the site that are not yet clients, those being the domain controller
(SCCMSRV1) and the site server (SCCMSRV1).
FINAL 15
Microsoft Confidential - For Internal Use Only © 2007 Microsoft Corporation. All rights reserved.
Supporting System Center Configuration Manager 2007
16 FINAL
© 2007 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal Use Only
Lab Manual Lab 2: Deploy a Branch DP
Important
Existing DISTRIBUTION POINT should not be BITS enabled.
Tasks
1. Set up site boundaries:
a. On SCCMSRV1:
1.) Right click site systems under site settings and add a new server
FINAL 17
Microsoft Confidential - For Internal Use Only © 2007 Microsoft Corporation. All rights reserved.
Supporting System Center Configuration Manager 2007
5.) Modify the ConfigMgr site system as "Enable this site system as a
protected site system" and select 65.53.64.0
b. On SCCMXP01:
6.) Once you see the following instance, you’ll know that your
BDISTRIBUTION POINT has received its policy:
a.) CCM_DistributionPoint.DummyKey=1
a. On SCCMSRV1:
b.) Click OK
5.) Complete the Distribute Software Wizard with the following settings:
18 FINAL
© 2007 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal Use Only
Lab Manual Lab 2: Deploy a Branch DP
FYI
Leave this cmd prompt open for the rest of the exercise.
e. Click Next
g. Return back and select the Distribution Point of the Site Server
h. Click Next
FINAL 19
Microsoft Confidential - For Internal Use Only © 2007 Microsoft Corporation. All rights reserved.
Supporting System Center Configuration Manager 2007
g. Cancel the wizard and make the appropriate correction to the Distribution
Point role under Site Systems\SCCMSRV1
1.) Return to the Manage Distribution Points wizard and add the
package to both the Site Server and Branch Distribution Point
3.) Finally, you will see distmgr create a policy for the BDISTRIBUTION
POINT
Note
DistMgr does not copy any content to SCCMXP01. It simply creates a PkgID.PKN file
in policypv.box
k. Navigate to C:\SMS\Inboxes\policypv.box
20 FINAL
© 2007 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal Use Only
Lab Manual Lab 2: Deploy a Branch DP
n. After the SMS_Executive is started back up, you’ll see policypv initializing
and then the following:
1.) “Looking for Branch DISTRIBUTION POINT package policy and policy
assignments that should be created”
2.) After this you will see STATMSG with Site Server, SCCMXP01, etc
3.) policypv then creates the policy that will be sent to SCCMXP01
1.) Note that the PKG share on the root of the C:\ drive has not yet been
created
3.) Note that this does not initiate download of the content.
FYI
We are only retrieving the policy that tells the client about the content.
5.) Assuming, the policy was received, you will almost immediately see
that we create the following temp directory:
6.) Note that only local system has rights to this directory
7.) Once the package is downloaded, you’ll see the following directory:
a.) C:\SMSPKGC$
Note
This can take some time, continue on with the exercise and verify the share makes it
later
FINAL 21
Microsoft Confidential - For Internal Use Only © 2007 Microsoft Corporation. All rights reserved.
Supporting System Center Configuration Manager 2007
9.) Here you can view the packages that are being copied to the
BDISTRIBUTION POINT
10.) Review the information regarding the PKGID, site, Source Version, etc.
a. Right click packages under software distribution and select New Package
b. Name: OnDemand
3. Create a program for the OnDemand package with the following settings:
22 FINAL
© 2007 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal Use Only
Lab Manual Lab 2: Deploy a Branch DP
a. Name: OnDemandAdvert
b. Package: OnDemand
e. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\CCM\Logging\DebugLogg
ing
f. Create a new REG_SZ called "Enabled" and set the value to "True"
10. On SCCMXP01:
11. On SCCMSRV1:
1.) You will be able to see the demand file (*.DMD) being created
2.) You will see “FileType=Demand” and the file is placed in the
distmgr.box\incoming directory.
12. Restart Distribution Manager by going back to the command prompt and
typing:
14. Open the distmgr.log and review the DMD file being processed
24 FINAL
© 2007 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal Use Only
Lab Manual LAB 3: Implementing Desired Configuration Management
Scenario
In the following exercises you will enable the DCM agent, create and deploy
Configuration Items, use DCM to check for certain conditions on the client machine
and review Configuration Item information and compliance.
FINAL 25
Microsoft Confidential - For Internal Use Only © 2007 Microsoft Corporation. All rights reserved.
Supporting System Center Configuration Manager 2007
4.) For search depth, select 'Specified path and all subfolders'
g. For validation, check the box 'Report a non-compliance event when this
instance count fails.
h. Instance count operator should be 'less than or equal to' and count should
be 3. Severity should be set to warning.
i. Click ok, then accept all other defaults until wizard completes.
1.) On the general tab, set the display name to be 'CCMExec rule'
26 FINAL
© 2007 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal Use Only
Lab Manual LAB 3: Implementing Desired Configuration Management
h. For validation, check the box 'Report a non-compliance event when this
instance count fails.
j. For Applicability, choose all check boxes for x86 and Windows Server
2003.
b. The XML should open with Internet Explorer. Locate the validation criteria.
e. Go back to the Admin console and delete the notepad Configuration Item.
g. Review the settings of the imported rule to verify that they match the
original CI.
e. Under rules, click on the link 'These applications and general configuration
items...'
f. Select the Notepad CI. Right click and view the XML Definition in IE.
g. Note the Logical name and version values under the requireditems tag.
Does this match the same values for the Notepad CI from the previous
exercise?
2. Assigning Baselines
b. Select the notepad baseline and assign to the 'all systems' collection.
a. Open the Configuration Manager Agent control panel tool on the site
server.
d. On the Configurations tab, highlight the notepad baseline and click the
'evaluate' button.
a. Right click the notepad baseline and choose 'export configuration data'
c. Open the CAB file and extract the two xml files.
d. Review both files in notepad. What are the contents of the two files?
f. Import the notepad baseline cab back from the desktop. Is the baseline the
only CI that is imported?
g. Review the settings of the imported baseline to verify that they match the
original CI.
28 FINAL
© 2007 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal Use Only
Lab Manual LAB 3: Implementing Desired Configuration Management
c. Assign the MP Baseline to the collection 'All windows server 2003 systems'
d. Run a machine policy update cycle on the agent and verify that this
baseline is now applied to the site server.
i. Update the policy on the site server's client agent. Verify that the version
has incremented. Is the notepad baseline added or not?
d. Highlight one of the cells from the column 'SDMPackageDigest'. Copy and
paste the contents into notepad. What data does this column contain?
FINAL 29
Microsoft Confidential - For Internal Use Only © 2007 Microsoft Corporation. All rights reserved.
Supporting System Center Configuration Manager 2007
g. Open 'v_CIAssignment' and note the Assignment ID from the previous view.
Scroll to the collectionID and CollectionName column and note the
collection this CI is assigned to. This can also be found in the view
'CITargetedCollections'.
b. Connect to root\ccm\policy\machine\actualconfig
d. Click on the instances button to show each assignment for this client.
e. Double click on the instance and then the 'Show MOF' button on the
instance property dialog.
f. Under the property 'AssignedCIs', note the values of the <ID> and
<Version> XML Tags.
c. Note the entries for the 'ProcessDiscovery' stage. The Baseline IDs should
match those found in SQL and WMI.
30 FINAL
© 2007 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal Use Only
Lab Manual LAB 3: Implementing Desired Configuration Management
i. Highlight the string 'notepad.exe'. Due to the number of errors that will
already be highlighted, change the highlight color under 'preferences' in
Trace32. Note the number of properties that are discovered for each
instance of notepad.exe during an evaluation cycle.
These configuration items can also be used as a simple test to ensure that Desired
Configuration Management is working as expected.
b. Click New
a. Name: Specify a unique and descriptive name for the configuration item,
such as Security Setting for Windows XP: Windows Firewall Enabled.
5. On the Settings page of the Create General Configuration Item Wizard, click
New, and then click WQL Query.
6. In the New WQL Query Settings Properties dialog box, specify the following
on the General tab:
FINAL 31
Microsoft Confidential - For Internal Use Only © 2007 Microsoft Corporation. All rights reserved.
Supporting System Center Configuration Manager 2007
c. Namespace: Root\CIMV2
d. Class: Win32_Service
e. Property: Started
a. Name: Started=true.
c. Operator: Equals
d. Value: true
e. Severity: Warning
10. Click OK twice to close the New WQL Query Setting Properties dialog box.
11. On the Settings page of the Create General Configuration Item Wizard, click
New, and then click WQL Query.
12. In the New WQL Query Settings Properties dialog box, specify the following
on the General tab:
c. Namespace: Root\CIMV2
d. Class: Win32_Service
e. Property: StartMode
13. Click the Validation tab, and then specify the following:
32 FINAL
© 2007 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal Use Only
Lab Manual LAB 3: Implementing Desired Configuration Management
a. Name: StartMode=Auto.
c. Operator: Equals
d. Value: Auto
e. Severity: Warning
16. Click OK twice to close the New WQL Query Setting Properties dialog box.
17. On the Settings page of the Create General Configuration Item Wizard, click
Next.
18. On the Applicability page of the Create General Configuration Item Wizard,
specify the following:
19. Click Next twice, and close the Wizard Completed page.
20. Now that you have created these general configuration items, they can be
added to a configuration baseline using the following configuration baseline
rule:
21. These application and general configuration items are required and must be
properly configured
FINAL 33
Microsoft Confidential - For Internal Use Only © 2007 Microsoft Corporation. All rights reserved.
Supporting System Center Configuration Manager 2007
b. Click New
a. Name: Specify a unique and descriptive name for the configuration item,
such as Client setup parameters registry check.
4. Click Next.
a. Click New
6. In the New Registry Key Properties dialog box, specify the following in the
General tab:
34 FINAL
© 2007 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal Use Only
Lab Manual LAB 3: Implementing Desired Configuration Management
8. Click Next.
9. On the Settings page of the Create General Configuration Item Wizard, click
Next.
10. On the Applicability page of the Create General Configuration Item Wizard,
specify the following:
12. On the Summary page of the Create General Configuration Item Wizard, review
the settings for the configuration item you have created, and then click Next.
13. View the Progress page of the Create General Configuration Item Wizard. When
this is complete, view the summary of actions taken on the Wizard Complete
page.
15. Now that you have created this general configuration item, it can be added to a
configuration baseline using the following configuration baseline rule:
a. These application and general configuration items are required and must
be properly configured
Assign this configuration baseline to computers that should not have this registry
key present, and investigate the computers that report non-compliance.
FINAL 35
Microsoft Confidential - For Internal Use Only © 2007 Microsoft Corporation. All rights reserved.
Lab Manual Lab 4: Deploying Software Updates
Scenario
Config Mgr requires WSUS 3.0 for software updates. The WSUS server must be
dedicated to Config Mgr but must be installed ahead of time. Let's review the WSUS
install.
Tasks
1. Installing WSUS
a. Launch the WSUS console by clicking Start > All Programs > Administrative
Tools > Microsoft Windows Server Update Services.
Note
For Config Mgr it is recommended to run WSUS 'headless' meaning that WSUS will be
installed without the administrator console. When using Config Mgr we are in total control of
the WSUS server. All configurations to WSUS will be done through the Config Mgr Software
FINAL 37
Microsoft Confidential - For Internal Use Only © 2007 Microsoft Corporation. All rights reserved.
Supporting System Center Configuration Manager 2007
Update Point and will enforce these policy settings on WSUS. There is generally no reason to
use the WSUS console for administrative purposes. For troubleshooting it can be useful.
Note
In Config Mgr, the WSUS server is modified to ONLY provide software update
synchronization and scanning on Config Mgr clients. Software Updates are NOT delivered from
the WSUS server - they are delivered via SMS.
c. In the file system, open the C drive and navigate to Program Files > Update
Services. Explore the folders located here. Note that the WSUS logs are
stored under the LogFiles folder. We will look at the WSUS logs in the next
exercise.
b. Right 'click on the ConfigMgr software update point' and select properties.
The options presented here allow configuration of proxy server settings.
c. Next, navigate to Site Management > S00 - MS > Site Settings > Component
Configuration. Right-click the 'Software Update Point Component' node
and select properties. This is where the main configuration of the Software
Update Point is done. Review the settings here and close the window.
Note
The settings seen in step 2 and 3 above are all configurable through the Software Update
Point installation wizard when performing initial configuration.
38 FINAL
© 2007 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal Use Only
Lab Manual Lab 4: Deploying Software Updates
Tasks
1. To initate update synchronization navigate to Computer Management >
Software Updates > Update Repository. Right-click on the 'Update Repository'
node and select 'Run Synchronization'. A warning window will display
indicating the sync process can be time-consuming. Select 'Yes' on the warning
window.
Note
The update sync will very likely fail due to the config of the VM's we are using.
Note
All updates have been pre-synchronized for the lab to avoid synchronization wait time.
When synchronizing normally be aware that the process can take hours - particularly if multiple
categories/languages are selected. Note that we have limited our updates in the lab to just
security updates for Windows XP systems.
3. Review the logs showing the synchronization process. As mentioned above, the
synchronization starts by Config Mgr requesting the WSUS server to update it's
list of software updates from the internet. The softwaredistribution.log shows
this process for the WSUS server and is located at e:\Lab Files\WSUS - SUP
install and config logs\WSUS log files. The initial request to WSUS to
synchronize and then the second step of synchronizing Config Mgr from the
WSUS server is recorded in the WSyncMgr.log located at E:\Lab Files\WSUS -
SUP install and config logs\SUP LogFiles.
FINAL 39
Microsoft Confidential - For Internal Use Only © 2007 Microsoft Corporation. All rights reserved.
Supporting System Center Configuration Manager 2007
Note
Searching through the softwaredistribution.log can be confusing at first. To see the sync
recorded here search for '729 config updates, 725 are new' in the log files. Do a top down
search. Review the log entries starting at this line down.
4. Software updates are loaded into the database and stored as configuration
items. Configuration items are used by several Config Mgr components. In the
SQL database, review the various potential CI types. Expand the SMS_S00
database and navigate to tables. Find the CI_Types table. Right click on the
tables and open it. This table defines the various types of CIs that might be
imported. Note tye type IF of the SoftwareUpdate CI's - it should be 1.
5. Still in the database, open the CI_ConfigurationItems table. This is where the
various imported CI's are stored. Note that the CIType_ID field is mostly filled
with Software Updates based on the type ID.
a. In the Config Mgr console, navigate to Site Management > S00 - MS > Client
Agents. Right-Click on the 'Software Updates Client Agent' and select
properties.
b. On the 'General' tab, place a check mark beside 'Enable Software Updates
on clients'. Review the settings on the remaining tabs and click OK.
d. In the Config Mgr console, update and refresh the all systems collection to
ensure the client system shows up and lists S00 as it's site code.
1. Create a deployment
40 FINAL
© 2007 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal Use Only
Lab Manual Lab 4: Deploying Software Updates
b. Click on the MS06-034 update, right click on the highlighted update and
select 'deploy software updates'.
Note
This update has been pre-downloaded for use in the lab.
c. The 'Deploy Software Updates Wizard' opens. On the General page, type
'Lab deployment - MS06-034' as the name and click next.
Note
Templates are used to store common settings and can significantly reduce the amount of
administrative time to deploy new updates.
e. On the 'Collection' page, click browse and select the 'All Systems' collection
and then click next.
g. On the 'Restart settings' pages, note the settings here and click next.
h. On the 'Event Generation' page, note the settings here and click next.
FINAL 41
Microsoft Confidential - For Internal Use Only © 2007 Microsoft Corporation. All rights reserved.
Supporting System Center Configuration Manager 2007
Note
This step saves the settings just entered as a lab template. All of these settings can be
reused by choosing this template at the first of the deployment wizard.
l. On the 'Distribution Points' page, browse and add the server DP to the
package and click next.
Note
If you get an error about deadline time, set it a minute ahead of the current system clock
and the error should resolve.
p. On the 'Summary' page, review the information and click next. The
deployment will be created. Review the results and close the wizard.
q. In the Config Mgr console, review that we now have a deployment template
defined in the 'Deployment Templates' node. Review properties for this
template to see what all is stored on the template. Also note that we have a
new Deployment package and new Deployment under Deployment
42 FINAL
© 2007 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal Use Only
Lab Manual Lab 4: Deploying Software Updates
r. In the database, expand the SMS_S00 database and expand tables. Locate
and open the CI_AssignmentTargetedCI's table. Write down the
AssignmentID and CI_ID. This table maps a unique assignment ID to the CI
that will be delivered with the assignment. Now open the
CI_CIAssignments table. Find the assignmentID you noted ealier and notice
the AssignmentName column - this is the Name of the deployment we
configured earlier. Also note the TargetCollection value. This value maps
to the collection that is targeted by the assignment in the Collections table.
Now open the CI_ConfigurationItems table. This table is the master table
for all CI's. Find the value CI_ID that matches what you noted earlier. Also
open the CI_UpdateCIs table and find the CI_ID value here. This table is the
detail table for CI's that are specifically for updates. Notice that the CI_ID
entry details information about the MS06-034 update.
v. Back in the control panel applet, initiate a 'Software Updates Scan Cycle'.
Use the component flows located at \\lcmanage\sccm2007flows to trace
the software update through the logs.
FINAL 43
Microsoft Confidential - For Internal Use Only © 2007 Microsoft Corporation. All rights reserved.
Supporting System Center Configuration Manager 2007
Note
Config Mgr is significantly different from SMS 2003 and the patch management habits
learned there may not be the best practices to follow in Config Mgr. The idea of adding new
patches to an existing deployment is one such example. In Config Mgr there is no obvious way
to add new updates to an existing deployment. Instead, it is generally thought best to create
new deployments for new software updates. Config Mgr doesn't care what deployment or
deployment package the updates are in when deploying.
If you do want to add a new software update to an existing deployment, however, it is possible.
a. In the Config Mgr console, navigate to the software update repository and
find MS05-047. Expand Deployment Management so that both the security
update and the existing deployment package, Lab Deployment - MS06-034,
are visible. Click on the MS05-047 patch and drag it to and drop it on the
Lab Deployment - MS06-034 node.
b. The 'deploy software updates wizard' will launch and display options for
appending the new software update to the existing deployment. Navigate
through the wizard to note any differences. When asked whether to
download or not, cancel the wizard.
44 FINAL
© 2007 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal Use Only
Lab Manual Lab 4: Deploying Software Updates
The data for many of the new reports comes from state messages - a new type of
status message in Config Mgr. State messages aren't covered here but are small
condense messages indicating the state - either yes or no - of veraions new objects
in Config Mgr - software updates, desired configuration management, etc.
FINAL 45
Microsoft Confidential - For Internal Use Only © 2007 Microsoft Corporation. All rights reserved.
Supporting System Center Configuration Manager 2007
Tasks
1. Prepare capture task sequence
1.) Click on the Windows PE tab and place a check mark in the 'Enable
command support (testing only)' box. This will enable command
prompt support in Windows PE.
e. Right click on the Distribution Points node and select 'New Distribution
Point'. Select the Distribution Point for the site and select OK.
46 FINAL
© 2007 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal Use Only
Lab Manual Lab 5: Working with Operating System Deployment
1.) Right click 'Task Sequences' and select 'Create Task Sequence
Media'.
g. In the ‘Task Seqence Media Wizard' select ‘Capture Media' and select
Next.
1.) Select CD/DVD set and in the Media file box type
c:\capturemedia.iso.
i. On the 'Boot Image' screen click browse for the boot image and select 'Boot
image (x86) and select OK. On the 'Distribution Point' windows ensure the
Distribution Point configured earlier is selected and click Next.
1.) The resulting .iso will be used to capture the image in the Next step. A
copy of the capture ISO may be found on your host machine in the root
of the C:\ drive
Note
A few configurations need to be in place when preparing a system to be imaged - the system
must be in a workgroup configuration, must have the Config Mgr client installed (doesn't have
to be assigned) and, if XP, must have the sysprep files copied to a folder called sysprep in the
root of the C drive. These configurations are already in place on our image.
a.) f not, open 'My Computer' and double-click on the CD-ROM icon
which should start the wizard.
FINAL 47
Microsoft Confidential - For Internal Use Only © 2007 Microsoft Corporation. All rights reserved.
Supporting System Center Configuration Manager 2007
c. Review the 'Welcome to the Image Capture Wizard' page and click Next.
1.) For the account name enter scsbeta\administrator and for the
password use !LS1setup.
g. The task sequence engine will start and will verify/initialize the Config Mgr
client, run sysprep, reboot into PE and begin capturing the image. Once
booted into PE press the F8 button to launch a command window. This will
allow you to verify network settings, review logs, etc. Once image capture
begins use the command window to review the available drives and their
contents. Which drive(s) can you access? What do they contain? Review
the _SMSTaskSequence folder on the C drive. What does it contain? Open
the logs folder and open the SMSTS.LOG file with notepad. Review the
contents of this log. What does it show? Once complete you may abort the
capture. This XPSP2.WIM image has been previously captured for use in
remaining lab sections and is located on your Config Mgr server in the
E:\Lab Files directory.
Tasks
1. Install and configure the state migration point
Note
The State Migration Point is used to store user state during migration. Data stored here is
48 FINAL
© 2007 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal Use Only
Lab Manual Lab 5: Working with Operating System Deployment
protected so that only the imaging system may have access to the user data.
a. In the Config Mgr console, navigate to Site Management > S00 - MS >
Site Systems.
2.) In the 'New Site Role Wizard' review the general information page
and click Next.
3.) On the 'System Role Selection' page, place a check mark on the State
Migration Point role and click Next.
4.) On the 'State Migration Point' page click the starburst to add a new
directory.
a.) On the 'Storage Folder' window that opens, enter c:\statemig for
the storage folder and then click OK.
b.) Review the remainder of the settings on this wizard screen and
click Next.
5.) Review the data on the summary page and click Next. Close the wizard
after it completes.
b. Open the Config Mgr logs folder and review the State Migration Point
installation logs - SMSSMPSetup.log and SMPMSI.log.
FINAL 49
Microsoft Confidential - For Internal Use Only © 2007 Microsoft Corporation. All rights reserved.
Supporting System Center Configuration Manager 2007
5.) What new SMS_Executive thread is now running to manage the SMP?
_________________________________________________________________________________
_________________________________________________________________________________
2.) On the 'Data Source' screen of the 'Add Operating System Image
Wizard' enter \\sccmsrv1\e$\lab files\xpsp2.wim for the path and
click Next.
3.) Verify the information on the 'General' page of the wizard and click
Next twice.
4.) Verify the import succeeded on the 'Wizard Completed' screen and
click close.
Note
Deploying an image requires creation of a custom task sequence.
Note
It is not required to create a program for the SMS client package - all that is needed is a
package that points to the client source files.
1.) Right-click the Packages node and select New > Package. The 'New
Packages Wizard' will launch.
2.) On the 'General' page of the wizard enter 'Config Mgr client' for the
name of the package and click Next.
50 FINAL
© 2007 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal Use Only
Lab Manual Lab 5: Working with Operating System Deployment
3.) On the 'Data Source' page place a check by 'This package contains
source files' and then click 'set'. On the 'Set Source Directory'
screen select 'Local drive on site server' and enter e:\sms\client as
the source directory. Click OK and then click Next.
5.) Add a Distribution Point for the pack to complete this section.
Note
It is not required to create a program for the USMT 3.0 package - all that is needed is a
package that points to the client source files.
c. Right-click the Packages node and select New > Package. The 'New
Packages Wizard' will launch.
d. On the 'General' page of the wizard enter 'USMT 3.0' for the name of the
package and click Next.
f. On the 'Set Source Directory' screen select 'Local drive on site server'
and enter c:\program files\usmt301 as the source directory.
i. After the summary page the wizard will complete - click close.
FINAL 51
Microsoft Confidential - For Internal Use Only © 2007 Microsoft Corporation. All rights reserved.
Supporting System Center Configuration Manager 2007
Tasks
1. Mass storage driver import
a. We first need to create a source directory that will hold our driver package
that will be created during his exercise.
1.) Navigate to the root of the C drive and create a folder called DriverSrc.
Inside this folder create another folder called DriverTest
1.) On the 'Locate Driver' page of the 'Import New Driver' wizard enter
\\sccmsrv1\e$\lab files\driver as the source folder and click Next.
d. On the 'Driver Details' page verify the driver shows up in the list and is
selected and click Next.
h. The wizard gives the option of also adding the driver to a boot image. If the
drive is a NIC or mass storage driver this option is particular helpful. On
the 'Add Driver to Boot Image' screen, select 'Boot Image (x86)' and
click Next twice to finish the wizard. The wizard will import and configure
the driver. Review the results and close the wizard.
52 FINAL
© 2007 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal Use Only
Lab Manual Lab 5: Working with Operating System Deployment
Tasks
1. Create a new Task Sequence
b. Right-click on Task Sequences and select 'New > Task Sequence'. This
will launch the 'New Task Sequence' wizard.
g. On the 'Install the ConfigMgr client' screen, select the 'Config Mgr Client'
package created earlier and click Next.
h. On the 'Configure State Migration' page, select the USMT 3.0 package
created earlier and click Next.
j. On the 'Install Software Packages' page, note that we have now added the
ability to include updates as part of the image install. Make sure nothing is
included here and click Next.
k. On the summary page, click Next. Review the summary after the wizard
completes and click close.
FINAL 53
Microsoft Confidential - For Internal Use Only © 2007 Microsoft Corporation. All rights reserved.
Supporting System Center Configuration Manager 2007
Note
We will be deploying this task sequence to bare metal. In order to do this we must
first import the new system into a collection.
c. On the 'Select Source' page, select 'Import single computer' and click
Next.
e. Click Next.
f. On the 'Data Preview' page, review the information and select Next.
g. On the 'Choose Target Collection' page, click browse and select the
BareMetalDeploy collection created earlier. Once selected, click OK and
then Next.
h. On the 'Summary page' select Next. The wizard will import the new
computer and populate the collection. Review the results and close the
wizard.
54 FINAL
© 2007 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal Use Only
Lab Manual Lab 5: Working with Operating System Deployment
g. On the 'Security' and 'Summary' pages, click Next and when the wizard
finishes, close it.
b. On the 'Select Media Type' screen, select 'Bootable media' and click
Next.
d. On the 'Security' page, remove the check beside 'Protect media with a
password' and click Next.
e. On the 'Boot image' page, select 'Boot Image (x86)' as the boot image.
Verify the Distribution Point is listed and click Next.
f. On the 'Summary' page, review the information and click Next. When the
wizard completes, review the summary and close the wizard. The
deploymedia.iso that was created is available on your host system in the
root of the C:\drive
5. Deploy image to VM
FINAL 55
Microsoft Confidential - For Internal Use Only © 2007 Microsoft Corporation. All rights reserved.
Supporting System Center Configuration Manager 2007
f. You could also omit these settings provided a DHCP server is available for
addressing. Once complete, select OK and then click Next.
Note
If errors are noted retrieving policy, verify the IP address and that SCCMSRV1 can be pinged.
Also, use the command window to access the SMSTS.LOG to review the cause of the error. The
SMSTS.LOG at this stage will be on the X drive.
h. The wizard will review content and dependencies required by the task
sequence to make sure it is available.
Note
If errors are seen here it is usually due to content not being installed on a
Distribution Point. Review the error and, if needed, review the logs.
i. The task sequence will install the image. Using the command prompt,
review the logs. The SMSTS.log is the master log that will follow through
the deployment steps.
56 FINAL
© 2007 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal Use Only
Lab Manual Lab 5: Working with Operating System Deployment
Tasks
1. Verify that WDS is already installed on the machine by checking for the WDS
console under administrative tools - verify it will launch.
2. In the Config Mgr console, navigate to Site Management > S00 - MS > Site
Settings > Site Systems. Right-click on \\SCCMSRV1 and select 'new roles'.
3. On the 'General’ page' of the 'New Site Role Wizard', select Next.
4. On the 'System Role Selection' page, select 'PXE service point' and click Next.
5. Review the settings on the 'PXE - General' page. Remove the check mark for
requiring a password and click Next.
6. Review the settings on the 'PXE - Database' page and click Next.
7. Review the 'Summary' page and click Next. The wizard will complete, review
the results and close the wizard.
Note
In order for the PXE service point to work, at least one boot image must be available
to the PXE service point.
11. On the 'Copy Package' screen, notice that a new PXE Distribution Point has
been added. Choose this Distribution Point and complete the wizard.
12. Where are the files and logs for supporting the PXE service point?
___________________________________________________________________________________________
FINAL 57
Microsoft Confidential - For Internal Use Only © 2007 Microsoft Corporation. All rights reserved.
Supporting System Center Configuration Manager 2007
___________________________________________________________________________________________
___________________________________________________________________________________________
13. Navigate to C:\RemoteInstall. In this folder we see the three new folders for the
PXE service point.
Note
When creating the program MAKE SURE that the 'Allow this program to be installed
from the Install Software task sequence without being advertised' option is selected on
the advanced tab. Also MAKE SURE that the program is set to run 'whether or not a user
is logged on'. The task sequence editor will filter out any programs not configured in this
way.
3. In the 'New Task Sequence Wizard' select 'Create a new custom task
sequence' and click Next.
4. On the 'Task Sequence Information' page, enter non-OSD task sequence from
the task sequence name and click Next.
58 FINAL
© 2007 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal Use Only
Lab Manual Lab 5: Working with Operating System Deployment
5. On the 'Summary' page, click Next and when the wizard completes, close it.
6. The task sequence has been created - now it needs to be edited to provide
required execution steps.
Note
Any task sequence can be edited in this manner. The others created generally don't
need to be but can still be modified using the same editor.
7. In the 'Task Sequences' node, select the 'non-OSD task sequence'. Right-click
on it and select 'edit'.
8. In the task sequence editor, select 'add'. Review the various choices of actions
that can be taken in a task sequence. Once you are finished reviewing then,
choose the General > Install Software action.
9. On the properties page for this action, choose the package created in step 1 and
choose the notepad program. Add two more 'Install Software' options - the
second one for Wordpad and the third for Calculator. Once done, select OK on
the task sequence.
10. In the Task Sequences node of the console, right-click on the 'non-OSD task
sequence' and select 'advertise'.
11. In the 'New Advertisement Wizard' select 'all systems' for the collection and
click Next.
12. Review the settings in the 'Schedule' page and click Next.
13. On the 'Distribution Points' page, select 'Access content directly from a
Distribution Point when needed by the running task sequence' and click
Next.
14. On the 'Interaction' page, select 'Show the task sequence progress' option
and click Next.
15. On the 'Security' and 'Summary' pages, click Next and when the wizard
processing completes, close the wizard.
16. Review the All Systems collection and verify that SCCMXP01 is listed as a
installed and assigned tp the site. If not, ensure that it is.
17. On the SCCMXP01 Client, go to the control panel and open the Config Manager
applet and refresh machine policy.
FINAL 59
Microsoft Confidential - For Internal Use Only © 2007 Microsoft Corporation. All rights reserved.
Supporting System Center Configuration Manager 2007
18. After several minutes, the 'run advertised program' control panel applet should
display the advertised task sequence. Continue to refresh until it arrives and, if
it doesn't show within 5 minutes, refresh the machine policy again. Once the
task sequence advertisement arrives, click on it and execute. You will notice the
three programs run in the order specified.
Important
The captured image we will use for the remaining sections is not activated - this is done on
purpose.
Tasks
1. Import Windows device drivers
1.) Click Action on the Configuration Manager Console menu, and then
click Import.
c. On the Locate Driver page, specify whether you want to import a specific
device driver or all device drivers contained in a specific directory.
d. To import a specific driver, select Import a specific driver and specify the
source file directory in UNC format and the Windows device driver.INF or
mass storage txtsetup.oem file to be imported.
60 FINAL
© 2007 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal Use Only
Lab Manual Lab 5: Working with Operating System Deployment
e. To import all of the device drivers in a specific directory, select Import all
drivers in the following network path (UNC) to its .inf or txtsetup.oem
file and specify the network path to the device driver directory.
i. To make the driver available to all platforms, select This driver can be
run on any platform.
l. Specify the Name, and Description that should be associated with the new
driver package and provide the source directory in UNC format, and then
select Update Distribution Points when finished to update the
Distribution Points immediately. Drivers must be part of a package and
deployed to Distribution Points before computers can install them. If you
do not update Distribution Points immediately, you must update the
Distribution Points later using the Update Distribution Point wizard.
m. On the Add Driver to Boot Images page, specify the boot image or
images,which should have the driver added.
o. On the Summary page, review the action details, and then click Next to
complete the wizard.
FINAL 61
Microsoft Confidential - For Internal Use Only © 2007 Microsoft Corporation. All rights reserved.
Lab Manual Lab 6: Implementing Service Windows
Tasks
1. Configure a maintenance window to prevent software distribution
c. In the Actions pane, click Modify Collection Settings. The All Windows
Server 2003 Systems Settings dialog box appears displaying
FINAL 63
Microsoft Confidential - For Internal Use Only © 2007 Microsoft Corporation. All rights reserved.
Supporting System Center Configuration Manager 2007
maintenance windows for the collection. Notice that by default, there are
no maintenance windows configured for the collection.
d. Click New (the icon resembles a starburst). The <new> Schedule dialog
box appears allows the configuration of a maintenance window for the
collection.
f. In the Effective date box, set the date to tomorrow. Make sure you choose
tomorrow’s date, not today.
g. In the Start box, set the starting time to be the top of the current hour.
h. In the End, set the starting time to be the top of the next hour. You need at
least a 15 minute window for this exercise. Make sure your configuration
creates a maintenance window that will prevent the server computers
from running the advertised program today and has a duration of at least
15 minutes.
i. In the Recurrence pattern box, verify that None is selected and then click
OK. A Systems Management Server message box appears indicating that
the maintenance window is not configured for a recurring schedule and
that software updates will not install on the members of the collection.
k. Click OK. The list of members of the All Windows Server 2003 Systems
collection appears in the results pane.
b. In the Actions pane, click Modify Collection Settings. The All Windows
XP Systems Settings dialog box appears displaying maintenance windows
for the collection. Notice that by default, there are no maintenance
windows configured for the collection.
64 FINAL
© 2007 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal Use Only
Lab Manual Lab 6: Implementing Service Windows
c. Click New (the icon resembles a starburst). The <new> Schedule dialog
box appears allows the configuration of a maintenance window for the
collection.
g. In the End, set the starting time to be two hours from the current time.
This configuration will create a maintenance window that will allow the
Windows XP client to run the advertised program in the next two hours as
the window is current. You should not need two hours, but to give yourself
plenty of time, you are configuring a two hour window.
h. In the Recurrence pattern box, verify that None is selected and then click
OK. A Systems Management Server message box appears indicating that
the maintenance window is not configured for a recurring schedule and
that software updates will not install on the members of the collection.
j. Click OK. The list of members of the All Windows XP Systems collection
appears in the results pane.
b. In the results pane, if necessary, scroll to the right until you can view the
Maintenance Window column.
c. You may need to refresh the console to view the updated information. The
list of collections appears in the results pane including the listing of
whether or not each collection includes a maintenance window. Notice that
the two collections you configured earlier are identified as having
maintenance windows.
d. In the results pane, drag the Maintenance Window column to appear after
Name. The Maintenance Window column now appears right after Name.
FINAL 65
Microsoft Confidential - For Internal Use Only © 2007 Microsoft Corporation. All rights reserved.
Supporting System Center Configuration Manager 2007
e. In the results pane, click the Maintenance Window column to sort by the
maintenance window attribute. The Maintenance Window column now
appears sorted by the appropriate value, with the collections containing
maintenance windows at the bottom of the display.
c. Click OK to use the only Reporting Point in our site. The Service Windows
Available to a Particular Client Report Information report appears in
the results pane. As this is a prompted report, you must supply the
computer name of the client you wish to view the maintenance windows
for.
66 FINAL
© 2007 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal Use Only
Lab Manual Lab 6: Implementing Service Windows
Tasks
1. Implement the maintenance windows
b. Click the Actions tab. The Systems Management Properties dialog box
displays the available actions for the Advanced Client. Notice the default
actions of Branch DP Maintenance Task, Discovery Data Collection Cycle,
File Collection Cycle, Hardware Inventory cycle, Machine Policy Retrieval &
Evaluation Cycle, Software Inventory Cycle, Software Metering Usage
Report Cycle, Software Updates Evaluation Cycle, User Policy Retrieval &
Evaluation Cycle and Windows Installer Source List Update Cycle.
c. Click Machine Policy Retrieval & Evaluation Cycle, and then click
Initiate Action. The SCCM client will request new policies, which will
include the policy related to the advertised program. A Machine Policy
Retrieval & Evaluation Cycle message box appears indicating the action
was initiated, and may take several minutes to complete.
e. Click OK. It will take a couple of minutes to evaluate and implement the
policy.
f. Open C:\Windows\System32\Ccm\Logs\ServiceWindowManager.log.
Notepad appears displaying the contents of the Service Window Manager
log file.
g. Search for New service window. Notepad displays the first occurrence of
“new service window”. Notice that the current line indicates that there
was a new service window policy implemented.
h. If you are looking at the Windows XP client, you will see lines referring to:
i. If you are looking at the server computer, you will see lines referring to:
FINAL 67
Microsoft Confidential - For Internal Use Only © 2007 Microsoft Corporation. All rights reserved.
Supporting System Center Configuration Manager 2007
j. Close Notepad.
Tasks
1. Distribute an application to a client
b. In the Actions pane, click Distribute, and then click Software. The
Distribute Software to Collection Wizard dialog box appears.
d. Select Create a new package from a definition, and then click Next. The
Distribute Software to Collection Wizard Package Definition dialog box
appears allowing you to select the package definition file to use. Notice the
default package definitions built into SCCM 2007.
g. Under Package definition, verify that SMS 2003 Toolkit 2 is selected, and
then click Next.
68 FINAL
© 2007 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal Use Only
Lab Manual Lab 6: Implementing Service Windows
i. Click Always obtain files from a source directory, and then click Next.
The Distribute Software to Collection Wizard Source Directory dialog
box appears allowing the designation of the source file directory.
j. Click Local drive on site server, and then click Browse. The Browse For
Folder dialog box appears.
m. Under Distribution Points, select SCCMSRV1, and then click Next. The
Distribute Software to Collection Wizard Select Program dialog box
appears allowing the selection of the program to advertise.
n. Under Programs, click Per-system unattended, and then click Next. The
Distribute Software to Collection Wizard Advertisement Name dialog
box appears prompting for a name and comment for the advertisement.
q. After Advertise the program after, verify that the current date and time
is displayed.
r. Verify No. This advertisement never expires is selected, and then click
Next. The Distribute Software to Collection Wizard Assign Program
dialog box appears prompting for program assignments.
FINAL 69
Microsoft Confidential - For Internal Use Only © 2007 Microsoft Corporation. All rights reserved.
Supporting System Center Configuration Manager 2007
t. In the Assign after box, verify that the current time is listed. The time
configured should fit within the time frame of the maintenance window
configured for the All Windows XP Systems collection.
w. Click Close. The list of members of the All Systems collection in the results
pane.
c. In the tree pane, click Programs. The configured programs for the package
appear in the results pane. Notice the Per-system unattended program
which you advertised to the client using the Distribute Software wizard.
d. In the results pane, click Per-system unattended, and then in the Actions
pane, click Properties. The Per-system unattended Properties dialog
box appears displaying general properties for the program. Notice the
command line used.
f. In the Maximum allowed run time (minutes) box, type 5 and then click
OK. The configured programs for the package appear in the results pane.
Notice that the Per-system unattended program now displays a maximum
run time of 5 minutes.
g. In the tree pane, click Distribution Points. The Distribution Points for the
package appear in the results pane. Notice only the local site server is
listed.
70 FINAL
© 2007 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal Use Only
Lab Manual Lab 6: Implementing Service Windows
Note
In the following procedure, you will initiate the searching for advertised programs on your
SCCM client computer. Perform this task on the client computers.
b. Click the Actions tab. The Systems Management Properties dialog box
displays the available actions for the Advanced Client. Notice the default
actions of Branch DP Maintenance Task, Discovery Data Collection Cycle,
File Collection Cycle, Hardware Inventory cycle, Machine Policy Retrieval &
Evaluation Cycle, Software Inventory Cycle, Software Metering Usage
Report Cycle, Software Updates Evaluation Cycle, User Policy Retrieval &
Evaluation Cycle and Windows Installer Source List Update Cycle.
c. Click Machine Policy Retrieval & Evaluation Cycle, and then click
Initiate Action. The SCCM client will request new policies, which will
include the policy related to the advertised program. A Machine Policy
Retrieval & Evaluation Cycle message box appears indicating the action
was initiated, and may take several minutes to complete.
e. Click OK. It will take a couple of minutes to evaluate and implement the
policy. If you are looking at the Windows XP client computer, you will see
an Assigned Program About to Run icon appears in the system tray.
g. Click Run. The program will attempt to install. Since you advertised the
“Per-system unattended” program, this will be a silent installation, and you
will not see any user interface. The install will only take a minute to
complete. If you are looking at either of the two server computers, you will
not see anything occur, as the program will not run.
FINAL 71
Microsoft Confidential - For Internal Use Only © 2007 Microsoft Corporation. All rights reserved.
Supporting System Center Configuration Manager 2007
Note
Complete this procedure on the Windows XP client.
a. On the Start menu, point to All Programs. The All Programs menu
appears. Notice that a new menu titled SMS 2003 Toolkit 2 appears.
f. Close Notepad.
Note
Complete this task on the site server.
a. On the Start menu, point to All Programs. The All Programs menu
appears. Notice that there is no new menu titled Configuration Manager
2003 Toolkit 2 as was displayed on the Windows XP client computer.
72 FINAL
© 2007 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal Use Only
Lab Manual Lab 6: Implementing Service Windows
e. Close Notepad.
d. Click Values. The Values dialog box appears displaying the available
advertisements.
g. Click Display. An Internet Explorer window starts and display the Status
of a specific advertisement report. Notice that there were three clients
that received the advertisement, one was successful in running the
program, and two are listed as “waiting”.
h. Click the arrow to the left of “Succeeded”. The All system resources for a
specific advertisement in a specific state report appears. Notice that one
client listed is the Windows XP client (Configuration Manager Client) and
that the last status is “Program completed with success”.
i. Click Back, and then click the arrow to the left of “Waiting”. The All system
resources for a specific advertisement in a specific state report
appears. Notice that both clients listed are the Windows Server 2003
clients (SCCMSRV1 and SCCMSRV1) and that the last status is “Waiting for
a Service Window”.
FINAL 73
Microsoft Confidential - For Internal Use Only © 2007 Microsoft Corporation. All rights reserved.
Supporting System Center Configuration Manager 2007
b. In the Actions pane, click Modify Collection Settings. The All Systems
Settings dialog box appears displaying maintenance windows for the
collection. Notice that by default, there are no maintenance windows
configured for the collection.
c. Click New (the icon resembles a starburst). The <new> Schedule dialog
box appears allows the configuration of a maintenance window for the
collection.
g. In the End, set the starting time to be two hours from the current time.
h. This configuration will create a maintenance window that will allow the
clients to run the advertised program as the window is current. Even
though the two server computers are members of another collection with a
restricted window, SCCM 2007 performs a union of all available windows
for the client to identify availability.
i. In the Recurrence pattern box, select Daily, and then click OK. The All
Systems Settings dialog box appears displaying maintenance windows for
the collection. Notice that the new maintenance window is displayed for
the collection.
j. Click OK. The list of members of the All Systems collection appears in the
results pane.
74 FINAL
© 2007 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal Use Only
Lab Manual Lab 6: Implementing Service Windows
b. Click the Actions tab. The Systems Management Properties dialog box
displays the available actions for the Advanced Client. Notice the default
actions of Branch DP Maintenance Task, Discovery Data Collection Cycle,
File Collection Cycle, Hardware Inventory cycle, Machine Policy Retrieval &
Evaluation Cycle, Software Inventory Cycle, Software Metering Usage
Report Cycle, Software Updates Evaluation Cycle, User Policy Retrieval &
Evaluation Cycle and Windows Installer Source List Update Cycle.
c. Click Machine Policy Retrieval & Evaluation Cycle, and then click
Initiate Action. The SCCM client will request new policies, which will
include the policy related to the advertised program. A Machine Policy
Retrieval & Evaluation Cycle message box appears indicating the action
was initiated, and may take several minutes to complete.
e. Click OK. It will take a couple of minutes to evaluate and implement the
policy.
h. Click Run.
i. The program will attempt to install. Since you advertised the “Per-system
unattended” program, this will be a silent installation, and you will not see
any user interface. The install will only take a minute to complete.
j. On the Windows XP client computer, you will see nothing new, as the
program has already run.
Note
Perform this task on all client computers.
a. On the Start menu, point to All Programs. The All Programs menu
appears. Notice that a new menu titled Configuration Manager 2003
Toolkit 2 appears.
FINAL 75
Microsoft Confidential - For Internal Use Only © 2007 Microsoft Corporation. All rights reserved.
Supporting System Center Configuration Manager 2007
b. Point to SMS Toolkit 2. The SMS 2003 Toolkit 2 menu appears. This is a
confirmation that the advertised program did install successfully on the
client in the configured service window.
d. Click the arrow to the left of “Succeeded”. The All system resources for a
specific advertisement in a specific state report appears. Notice that all
three clients are listed with a last status of “Program completed with
success”.
76 FINAL
© 2007 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal Use Only
Lab Manual Lab 6: Implementing Service Windows
Tasks
1. Create a maintenance window for the all systems collection
c. Highlight the "All Systems" collection. In the actions menu, select Modify
Collection Settings.
e. Set the window to begin about 1 hour from the current time.
f. Set the duration of the window for 3 hours and do not select to use UTC
time.
b. Create a maintenance window for this collection, but have the start time
begin at 1am and the end time at 4am.
c. After the second window has been created, highlight the Collections
container and verify that the two collections now show Yes under the
Maintenance window column.
Tasks
1. Advertise first.txt to run before the maintenance window.
a. Right click on the All Systems collection and select Distribute, then
Software.
FINAL 77
Microsoft Confidential - For Internal Use Only © 2007 Microsoft Corporation. All rights reserved.
Supporting System Center Configuration Manager 2007
b. You will need to create a new package and program without a definition
file.
e. On the program properties tab, set the max run time to 10 minutes
h. Assign the program and take all the defaults on the Assign program page
for now. Click Finish.
i. Open the properties of the advertisement. On the schedule tab, under the
'Program rerun behavior' option, select 'Always rerun program' from the
drop-down box.
j. On the Interaction tab, give the user the option to run programs
independently of assignments
b. After the second advertisement has been created, open the Configuration
Manager Agent tool from Control panel.
c. Run a Machine Policy Retrieval & Evaluation Cycle from the Actions tab.
78 FINAL
© 2007 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal Use Only
Lab Manual Lab 6: Implementing Service Windows
c. Highlight the string 'first' and review each attempt to run the program on
the site server.
d. Get the properties of this instance and then click the 'show MOF' button to
see the schedule and ID for this window.
e. To read the schedule token, use the SchedCnv.exe utility from E:\Labfiles.
This tool was first distributed in the BackOffice 4.5 Resource Kit.
a. Open SQL Server Management Studio and navigate to the site database.
c. Right click and choose 'Open Table'. You should be able to see all the
configured windows
c. Run this report and select the site server as the client to view maintenance
windows for.
FINAL 79
Microsoft Confidential - For Internal Use Only © 2007 Microsoft Corporation. All rights reserved.
Supporting System Center Configuration Manager 2007
Tasks
1. Create an advertisement that ignores maintenance windows
a. Right click on the All Windows XP collection and select Distribute, then
Software.
b. You will need to create a new package and program without a definition
file.
e. On the program properties tab, set the max run time to 10 minutes
h. Assign the program and accept the default assignment time on the Assign
program page.
i. Check the box for 'ignore maintenance windows when running programs'.
Click finish.
j. Open the properties of the advertisement. On the schedule tab, under the
'Program rerun behavior' option, select 'Always rerun program' from the
drop-down box.
k. On the Interaction tab, give the user the option to run programs
independently of assignments
80 FINAL
© 2007 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal Use Only
Lab Manual Lab 6: Implementing Service Windows
3.) Don't check the box to 'ignore maintenance windows when running
programs'.
b. After the second advertisement has been created, open the Configuration
Manager Agent tool on the XP client's control panel.
c. Run a Machine Policy Retrieval & Evaluation Cycle from the Actions tab.
a. If either advertisement did not run when expected, or ran when it was not
expected, review the Execmgr.log for clues.
b. Review the Maintenance window settings for the XP Client using WMI, SQL
and Config Manager reporting for additional clues.
Tasks
1. Advertise fifth.txt to run before the maintenance window.
a. Right click on the All Systems collection and select Distribute, then
Software.
b. You will need to create a new package and program without a definition
file.
e. On the program properties tab, leave the max run time to the default value
of 120 minutes
FINAL 81
Microsoft Confidential - For Internal Use Only © 2007 Microsoft Corporation. All rights reserved.
Supporting System Center Configuration Manager 2007
h. Assign the program and take all the defaults on the Assign program page
for now. Click Finish.
i. Open the properties of the advertisement. On the schedule tab, under the
'Program rerun behavior' option, select 'Always rerun program' from the
drop-down box.
j. On the Interaction tab, give the user the option to run programs
independently of assignments
a. If the advertisement did not run when expected, or ran when it was not
expected, review the Execmgr.log for clues.
b. Review the Maintenance window settings for the XP Client using WMI, SQL
and Config Manager reporting for additional clues.
82 FINAL
© 2007 Microsoft Corporation. All rights reserved. Microsoft Confidential - For Internal Use Only
Lab Manual Instructor Notes
Instructor Notes
This section provides additional information to assist instructors in course delivery.
Instructor notes are numbered consecutively throughout the document.
Exercise 3. Task 2. Step 10a - Yes, the local site server (SCCMSRV1), the domain
controller (SCCMSRV1) and the Windows XP Professional client (Configuration
ManagerClient) should have been discovered.
Exercise 3. Task 2. Step 10b - Yes, all are listed as being assigned to the site.
FINAL 83
Microsoft Confidential - For Internal Use Only © 2007 Microsoft Corporation. All rights reserved.