Professional Documents
Culture Documents
Guide
Microsoft Corporation
Published: September 2007
Abstract
Server Manager is a new tool that is included in Windows Server® 2008 to guide information
technology administrators through the process of installing, configuring, and managing server
roles and features that are part of Windows Server 2008. This document describes Server
Manager and includes a set of scenarios to demonstrate how Server Manager helps
administrators deploy and manage server roles.
1
This document supports a preliminary release of a software product that may be changed
substantially prior to final commercial release, and is the confidential and proprietary information
of Microsoft Corporation. It is disclosed pursuant to a non-disclosure agreement between the
recipient and Microsoft. This document is provided for informational purposes only and Microsoft
makes no warranties, either express or implied, in this document. Information in this document,
including URL and other Internet Web site references, is subject to change without notice. The
entire risk of the use or the results from the use of this document remains with the user. Unless
otherwise noted, the example 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. 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.
Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual
property rights covering subject matter in this document. Except as expressly provided in any
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.
Active Directory, Microsoft, MS-DOS, Visual Basic, Visual Studio, Windows, Windows NT, and
Windows Server are either registered trademarks or trademarks of Microsoft Corporation in the
United States and/or other countries.
2
Contents
Server Manager Scenarios Step-by-Step Guide............................................................... ..............4
In this guide............................................................................................................. ....................4
Who should use this step-by-step guide......................................................................... .............4
Server Manager overview.................................................................................................... ........5
Requirements for Server Manager.................................................................. ............................5
Scenario Overview....................................................................................................................... 5
Scenario 1: Completing the configuration of a new installation of Windows Server 2008 by
using Initial Configuration Tasks........................................................................................ ....6
Scenario 2: Performing initial configuration tasks in the Server Manager console...................7
Participating in CEIP by using Server Manager................................................ ....................7
Changing automatic updating settings by using Server Manager.........................................7
Participating in Windows Error Reporting by using Server Manager.................................. ...8
Scenario 3: Adding Terminal Services and viewing its status................................. ..................8
Adding Terminal Services and TS Web Access.................................................................... .8
Managing Terminal Services by using Server Manager....................................... .................9
Removing Terminal Services by using Server Manager.................................................. ......9
Scenario 4: Using Remote Server Administration Tools to manage Print Services remotely..10
Adding Remote Server Administration Tools for Print Services.................................. .........10
Managing Print Services remotely by using the Print Management snap-in........................11
Removing Remote Server Administration Tools for Print Services......................................11
Scenario 5: Adding and removing the Print Services role by using the Server Manager
command line.................................................................................................................... ..12
Adding Print Services by using the Server Manager command line................................. ...12
Removing Print Services role services by using the command line....................................13
Removing Print Services by using the command line.................................... .....................14
Scenario 6: Adding File Services and Windows Server Backup by using an answer file........14
Adding File Services and Windows Server Backup by using an answer file.......................14
Managing File Services and Windows Server Backup.............................................. ..........15
Removing all roles and features by using an answer file.............................. ......................16
Scenario 7: Adding Windows Server virtualization......................................... ........................17
Installing Windows Server virtualization................................................................... ...........17
Managing Windows Server virtualization by using Server Manager...................................18
Removing Windows Server virtualization by using Server Manager...................................18
Additional resources................................................................................................ ..................19
3
Server Manager Scenarios Step-by-Step
Guide
Server Manager is a new tool available with Windows Server® 2008 that guides information
technology administrators through the process of installing, configuring, and managing server
roles and features that are part of Windows Server 2008.
This step-by-step guide provides an overview of Server Manager and walkthroughs of several
common scenarios for using Server Manager in your enterprise, focusing on new and enhanced
features of Server Manager. This guide helps you learn about how Server Manager functions as a
server role deployment, decommissioning, and management tool. The guide also describes how
Server Manager helps improve productivity, so IT pros can spend less time deploying, managing,
and maintaining their infrastructures, and spend more time using Windows Server 2008 software
packages to add business value.
The scenarios described in this step-by-step guide include initial server configuration tasks as
well as deployment, management, and removal of server roles and features.
In this guide
• Who should use this step-by-step guide
• Server Manager overview
• Requirements for Server Manager
• Scenario overview
4
Server Manager overview
Server Manager makes server administration more efficient by allowing administrators to use a
single tool to do the following:
• View and make changes to server roles and features installed on the server.
• Perform management tasks associated with the operational lifecycle of the server,
such as starting or stopping services, and managing local user accounts.
• Perform management tasks associated with the operational lifecycle of roles, role
services, and features installed on the server.
• Determine server status, identify critical events, and analyze and troubleshoot
configuration issues or failures.
Scenario Overview
The following scenarios guide you through several common uses for Server Manager and its
related technologies Initial Configuration Tasks and Remote Server Administration Tools.
• Scenario 1: Completing the configuration of a new installation of Windows Server
2008 by using Initial Configuration Tasks
• Scenario 2: Performing initial configuration tasks in the Server Manager console
• Scenario 3: Adding Terminal Services and viewing its status
• Scenario 4: Using Remote Server Administration Tools to manage Print Services
remotely
• Scenario 5: Adding and removing the Print Services role by using the Server
Manager command line
• Scenario 6: Adding File Services and Windows Server Backup by using an answer
file
• Scenario 7: Adding Windows Server virtualization
5
Scenario 1: Completing the configuration of a new installation of
Windows Server 2008 by using Initial Configuration Tasks
After Windows Server 2008 Setup is finished, an administrator logs on to the server for the first
time, and the Initial Configuration Tasks window automatically opens. The administrator
completes configuration of the new server by using commands in the Initial Configuration Tasks
window.
Note
If you accidentally close Initial Configuration Tasks, click Start, and then click Run. Type
oobe in the Open text box, and then click OK or press ENTER.
6
Scenario 2: Performing initial configuration tasks in the Server
Manager console
Although initial configuration tasks have been completed and the Initial Configuration Tasks
window is now closed, an administrator has decided to enable automatic updating and feedback
on the computer running Windows Server 2008. The administrator uses Server Manager to
modify settings, instead of running Initial Configuration Tasks once again. The administrator
enrolls the server in the Customer Experience Improvement Program (CEIP), and turns on
automatic updating and Windows Error Reporting.
7
Participating in Windows Error Reporting by using Server Manager
Note
The TS Web Access role service depends on Web Server (IIS) and Windows
System Resource Manager (WSRM). Server Manager prompts you to install IIS
and WSRM if they are not already installed on the computer.
3. The Terminal Services installation process requires an administrator to specify
8
several configuration options. Complete the configuration pages of the Add Roles
Wizard based on what is most appropriate for your organization. For more
information about configuring Terminal Services, and detailed step-by-step guides,
see the Terminal Services page on the Windows Server TechCenter
(http://go.microsoft.com/fwlink/?LinkId=48555).
Note
Installing Remote Server Administration Tools does not install any roles, role
services, or features on a computer. For each role, role service, or feature you
select within Remote Server Administration Tools, you are installing only
management tools and snap-ins that allow you to perform administration tasks
for specified roles, role services, or features installed on other computers.
4. Click Next, and then click Install.
5. When installation is complete, close the wizard.
To manage the remote print server and make sure it is discoverable on the network, the
administrator restarts the print spooler service on the computer running the Server Core
installation of Windows Server 2008. To restart the spooler services on the computer running the
10
Print Services role, type the commands net stop spooler, followed by net start spooler, at the
command prompt.
Note
Removing Remote Server Administration Tools does not remove any roles, role
services, or features from a computer. For each role, role service, or feature you
select within Remote Server Administration Tools, you are removing only
management tools and snap-ins that allow you to perform administration tasks
for specified roles, role services, or features installed on other computers.
5. When removal is complete, close the wizard.
11
Scenario 5: Adding and removing the Print Services role by
using the Server Manager command line
A company has purchased a new server. The new computer must run Print Services for the
engineering department. After installing Windows Server 2008 on the computer and completing
initial configuration tasks, a system administrator adds the Print Services role to the server by
using the Server Manager command line.
Note
The Server Manager command is not case sensitive.
Note
ServerManagerCmd.exe also automatically installs all required roles, role
services, or features. In this scenario, Server Manager automatically installs Web
Server (IIS) and Windows Process Activation Services.
3. When installation is complete, the Command Prompt window displays the
following message:
Success: Installation succeeded.
4. Verify that the Print Server role service of Print Services was installed by typing
the following at the prompt:
ServerManagerCmd.exe -query
Ensure that the Print Services line item in the -query command results is checked and
highlighted, and that the Print Server child object is checked and highlighted. Also ensure
that other role services of Print Services are not checked.
5. At the command prompt, type the following, and then press ENTER:
ServerManagerCmd.exe -install Print-Internet Print-LPD-Service
Note
12
You can install each additional role service one at a time, or use the
–allSubFeatures option to install all the child elements of a role or feature.
Server Manager automatically skips those elements already installed on the
computer, in this case the Print Server role service.
6. When installation is complete, the Command Prompt window displays the
following message:
Success: Installation succeeded.
7. Verify that the LPD Service and Internet Printing Service role services were
installed by typing the following at the command prompt:
ServerManagerCmd.exe -query
Ensure that the Print Services line item in the -query command results is checked and
highlighted, and that all role services of Print Services are now checked and highlighted.
13
Removing Print Services by using the command line
After several months, the administrator moves core printing services to a different server, so that
this server can be repurposed. The administrator removes the Print Services role completely from
this computer by using the command line.
Note
roles, role services, or features that are installed due to dependencies, such as Web
Server (IIS) and Windows Process Activation Service, are not removed with the removal
of Print Services.
Note
For the complete Server Manager command-line schema, see the Microsoft Web site
(http://go.microsoft.com/fwlink/?LinkId=81203).
Adding File Services and Windows Server Backup by using an answer file
The administrator creates an XML answer file to use with the Server Manager command line to
add the File Services role and the Windows Server Backup subfeature on the server.
14
To install File Services and Windows Server Backup by using an answer file
1. Create the following answer file for the Server Manager command line, and save
it to a convenient location as an XML document:
<?xml version="1.0" encoding="utf-8" ?>
<ServerManagerConfiguration Action="Install"
xmlns="http://schemas.microsoft.com/sdm/Windows/ServerManager/Configuration/2007/1"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
Note
Although the only role service of File Services installed by this answer file is DFS
Namespace, the File Services role is installed.
2. If a Command Prompt window is not already open, open a Command Prompt
window with elevated privileges by right-clicking the Command Prompt executable
or the Command Prompt object on the Start menu, and then clicking Run as
administrator.
3. At the prompt, type the following, and then press ENTER:
ServerManagerCmd.exe -inputPath <answerfile.xml> -whatIf -restart
The placeholder answerfile represents the path and name of the XML answer file created
in Step 1. The -whatIf parameter displays a list of all software installed as a result of the
command, including dependent roles, role services, and features.
Adding -restart to the command line restarts the computer automatically when
installation is complete, if restarting is required by the software that you are removing. In
this instance, a restart of the server is required to install Windows Server Backup.
4. When installation is complete, the Command Prompt window displays the
following message:
Success: Installation succeeded.
5. Open the Server Manager console by clicking Start, pointing to Administrative
Tools, and then clicking Server Manager.
6. Verify that the File Services role is installed with the DFS Namespace role
service, and that the Windows Server Backup subfeature of Windows Server Backup
Features is also installed.
15
To manage File Services and Windows Server Backup
1. Back up the server. For more information about backing up your server, see the
Help provided with Windows Server Backup Features.
2. If Server Manager is not already open, open Server Manager by clicking Start,
pointing to Administrative Tools, and then clicking Server Manager.
3. In the Server Manager hierarchy pane, expand Roles, and then select File
Services to view the role management home page for File Services.
4. View the status of event messages and services related to File Services. Expand
the File Services node in the hierarchy pane.
5. Select the DFS Management node to open the DFS Management snap-in. Add,
remove, or modify namespaces. Add a new replication group, following the steps in
the wizard.
<ServerManagerConfiguration Action="Remove"
xmlns="http://schemas.microsoft.com/sdm/Windows/ServerManager/Configuration/2007/1"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
16
command, including dependent roles, role services, and features.
Adding -restart to the command line restarts the computer automatically when
installation is complete, if restarting is required by the software that you are removing.
4. When removal is complete, the Command Prompt window displays the following
message:
Success: Removal succeeded.
5. Open the Server Manager console by clicking Start, pointing to Administrative
Tools, and then clicking Server Manager.
6. Verify that the File Services role and Windows Server Backup are no longer
installed on the computer.
Important
The Windows Server virtualization scenario is only for computers running The 64-bit
edition of Windows Server 2008, and that have support at the processor level for
virtualization. More specific hardware requirements for Windows Server virtualization are
described in the Windows Server virtualization Step-by-Step Guide on the Windows
Server TechCenter (http://go.microsoft.com/fwlink/?LinkId=98822). It is strongly
recommended that you review these hardware requirements before completing any of the
tasks in this scenario.
17
3. In the Roles Summary area, click Add Roles.
4. On the Select Server Roles page of the Add Roles Wizard, select Windows
Server virtualization.
5. Complete the Add Roles Wizard. For more information about specific
configuration pages and settings for Windows Server virtualization, see the Windows
Server virtualization Step-by-Step Guide on the Windows Server TechCenter
(http://go.microsoft.com/fwlink/?LinkId=98822).
18
Additional resources
• Server Manager on Windows Server TechCenter
(http://go.microsoft.com/fwlink/?LinkId=48541)
• Server ManagerTechnical Overview (http://go.microsoft.com/fwlink/?LinkId=85101)
• Server ManagerCommand-Line Schema
(http://go.microsoft.com/fwlink/?LinkId=81203)
19