Beruflich Dokumente
Kultur Dokumente
ServerManagerStepbyStepGuide:Scenarios
In this guide
Who should use this stepbystep guide
Server Manager overview
Requirements for Server Manager
Scenario Overview
Scenario Overview
http://technet.microsoft.com/enus/library/cc753762(d=printer,v=ws.10).aspx#BKMK_Who
1/10
1/6/2015
ServerManagerStepbyStepGuide:Scenarios
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 HyperV
http://technet.microsoft.com/enus/library/cc753762(d=printer,v=ws.10).aspx#BKMK_Who
2/10
1/6/2015
ServerManagerStepbyStepGuide:Scenarios
3. The Terminal Services installation process requires an administrator to specify 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 stepbystep guides, see the Terminal Services page on the Windows Server TechCenter http://go.microsoft.com/fwlink/?LinkId=48555.
http://technet.microsoft.com/enus/library/cc753762(d=printer,v=ws.10).aspx#BKMK_Who
3/10
1/6/2015
ServerManagerStepbyStepGuide:Scenarios
Scenario 4: Using Remote Server Administration Tools to manage Print Services remotely
An administrator is running the Server Core installation option of Windows Server 2008. The administrator installs the Print Services role on this server. After
that, the administrator wants to manage the server remotely from another computer that is running a full installation of Windows Server 2008.
http://technet.microsoft.com/enus/library/cc753762(d=printer,v=ws.10).aspx#BKMK_Who
4/10
1/6/2015
ServerManagerStepbyStepGuide:Scenarios
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 snapins that allow you to perform
administration tasks for specified roles, role services, or features installed on other computers.
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 Print Services role, type the
commands net stop spooler, followed by net start spooler, at the command prompt.
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.
5/10
1/6/2015
ServerManagerStepbyStepGuide:Scenarios
The administrator can start the Server Manager command line and add Print Services from any directory on the local computer. At first, the administrator
adds only the Print Server role service, but then decides to add the role services LPD Service and Internet Printing Service.
Note
The Server Manager command is not case sensitive.
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 PrintInternet PrintLPDService
Note
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.
http://technet.microsoft.com/enus/library/cc753762(d=printer,v=ws.10).aspx#BKMK_Who
6/10
1/6/2015
ServerManagerStepbyStepGuide:Scenarios
ServerManagerCmd.exe query
Ensure that, although the Print Services object in the query results is checked and highlighted, the LPD Service is not.
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.
Scenario 6: Adding File Services and Windows Server Backup by using an answer file
An administrator wants to create a DFS namespace to facilitate file sharing among company employees. Because important data is hosted on the server
running File Services, it is important to back up the server by using Windows Server Backup.
Note
For the complete Server Manager commandline 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.
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:
<?xmlversion="1.0"encoding="utf8"?>
<ServerManagerConfigurationAction="Install"xmlns="http://schemas.microsoft.com/sdm/Windows/ServerManager/Configuration/200
<RoleServiceId="FSDFSNamespace"/>
<FeatureId="Backup"/>
</ServerManagerConfiguration>
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 rightclicking the Command
http://technet.microsoft.com/enus/library/cc753762(d=printer,v=ws.10).aspx#BKMK_Who
7/10
1/6/2015
ServerManagerStepbyStepGuide:Scenarios
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.
<?xmlversion="1.0"encoding="utf8"?>
<ServerManagerConfigurationAction="Remove"xmlns="http://schemas.microsoft.com/sdm/Windows/ServerManager/Configuration/2007
<RoleServiceId="FSDFSNamespace"/>
<FeatureId="BackupFeatures"/>
2. If a Command Prompt window is not already open, open a Command Prompt window with elevated privileges by rightclicking 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 removed 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.
4. When removal is complete, the Command Prompt window displays the following message:
Success: Removal succeeded.
http://technet.microsoft.com/enus/library/cc753762(d=printer,v=ws.10).aspx#BKMK_Who
8/10
1/6/2015
ServerManagerStepbyStepGuide:Scenarios
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.
Installing HyperV
The administrator's first task is to run Setup for the two HyperV update packages. After the updates are complete, HyperV is available for installation by
using Server Manager.
To install HyperV
1. Doubleclick the following two update packages stored in %windir%\WSV to make HyperV available for installation by using Server Manager:
Windows6.0KB939854x64.msu
Windows6.0KB939853x64.msu
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 Roles Summary area, click Add Roles.
4. On the Select Server Roles page of the Add Roles Wizard, select HyperV.
5. Complete the Add Roles Wizard. For more information about specific configuration pages and settings for HyperV, see the HyperV StepbyStep
Guide on the Windows Server TechCenter http://go.microsoft.com/fwlink/?LinkId=98822.
http://technet.microsoft.com/enus/library/cc753762(d=printer,v=ws.10).aspx#BKMK_Who
9/10
1/6/2015
ServerManagerStepbyStepGuide:Scenarios
3. On the Remove Server Roles page of the Remove Roles Wizard, clear the check box for Windows Server virtualization. Click Next.
4. After confirming that you want to remove HyperV, on the Confirm Removal Selections page, click Remove.
5. Verify that HyperV has been removed from the server by refreshing Server Manager and viewing the Roles Summary area.
Additional resources
Server Manager on Windows Server TechCenter http://go.microsoft.com/fwlink/?LinkId=48541
Server Manager Technical Overview http://go.microsoft.com/fwlink/?LinkId=85101
Server Manager CommandLine Schema http://go.microsoft.com/fwlink/?LinkId=81203
Community Additions
2015 Microsoft
http://technet.microsoft.com/enus/library/cc753762(d=printer,v=ws.10).aspx#BKMK_Who
10/10