In Windows Server® 2008 R2, you can use Server Manager to perform some management tasks on remote computers. To manage a computer remotely by using Server Manager, you connect Server Manager to a remote computer in the same manner you would connect Microsoft Management consoles (MMCs) for other technologies.
Supported remote management scenarios
The following remote management scenarios are supported from Server Manager in Windows Server 2008 R2.
- Server to server Server Manager on a full installation of Windows Server 2008 R2 can be used to manage roles and features that are installed on another server that is running Windows Server 2008 R2.
- Server to Server Core Server Manager on a full installation of Windows Server 2008 R2 can be used to manage roles and features that are installed on a Server Core installation of Windows Server 2008 R2.
- Client to server Server Manager is installed as part of Remote Server Administration Tools on a computer that is running Windows® 7. This can be used to manage roles and features on a computer that is running either the full or Server Core installations of Windows Server 2008 R2.
Source computer | To Remote Computer | Domain C (added as trusted host) | |||
---|---|---|---|---|---|
Domain A | Domain B | Workgroup | |||
Domain A | √ | ||||
Domain B | √ | ||||
Workgroup | √ | √ |
Notes | |
|
Security considerations for remote management by using Server Manager
Important | |
You must be a member of the Administrators group on computers that you want to manage by using Server Manager. |
Because Server Manager remote management capability is provided by using Windows PowerShell technology, Server Manager remote management inherits security considerations from Windows PowerShell. A malicious user can try to steal logon credentials provided by an administrator over a remote connection, but generally, this is a low risk. Other potential threats of which there is very low risk include modification of dynamic link libraries (DLLs) by malicious users, or tries to obtain sensitive or personally identifying data in the Server Manager log file. Users who have rights to access the local computer can read Server Manager log files, but log files do not contain sensitive personal or account information such as passwords.
Tasks that you can perform on a remote server by using Server Manager
You can perform the following tasks in Server Manager on a remote computer.
- View Windows automatic updating status
- Run Best Practices Analyzer scans on roles. For more information, see Running and Filtering Scans in Best Practices Analyzer.
- View or change Windows Customer Experience Improvement Program (CEIP) status
- Configure Windows Error Reporting
- View or change Windows Firewall information
- View and manage roles from role home pages
Note To use role- or feature-specific tools or snap-ins in a Server Manager console that is connected to a remote server, those tools must be installed on the source computer by using Remote Server Administration Tools.
- View Internet Explorer Advanced Security Configuration settings
- Manage services from a role home page
Tasks that you cannot perform remotely by using Server Manager
Primarily to minimize security risks to your servers, the following tasks cannot be completed in a remote Server Manager session.
- Add or remove roles, role services, and features
- Configure Remote Desktop settings
- Configure System Properties
- Check for new roles
- Change Windows automatic updating settings
- Change network settings
- Change the computer name or domain membership
- Change Internet Explorer Advanced Security Configuration settings
- Run the Security Configuration Wizard, if the source computer is a server that is running Windows Server 2008 R2
Enabling or disabling remote management in Windows Server 2008 R2
To help protect servers from unauthorized access, and before administrators can connect to a computer that is running Windows Server 2008 R2 remotely by using Server Manager, Server Manager remote management must be enabled on the destination computer.
Before you configure a server for remote management by using Server Manager, you must enable several Group Policy settings that control Windows Firewall exceptions. Follow the steps in To set Group Policy for Server Manager remote management to verify that no Group Policy settings override configuration of the server for remote management.
Note | |
Procedures in this section can be completed only on a computer that is running Windows Server 2008 R2. You cannot enable or disable remote management on a computer that is running Windows 7 because Windows 7 cannot be managed by using Server Manager. |
- To set Group Policy for Server Manager remote management
- To configure Server Manager remote management by using the Windows interface
- To configure Server Manager remote management by using Windows PowerShell
To set Group Policy for Server Manager remote management |
On the computer that you want to manage remotely, open Local Group Policy Editor. To do this, click Start, click Run, type gpedit.msc in the Open box, and then press Enter.
Expand Computer Configuration, Administrative Templates, Windows Components, Windows Remote Management, and then select WinRM Service.
In the details pane, double-click Allow automatic configuration of listeners.
Select Enabled, and then click OK.
In the tree pane, expand Windows Settings, Security Settings, Windows Firewall with Advanced Security, and then Windows Firewall with Advanced Security.
Right-click Inbound Rules, and then click New Rule.
In the New Inbound Rule Wizard, on the Rule Type page, select Predefined.
On the Predefined pull-down menu, select Remote Event Log Management. Click Next.
On the Predefined Rules page, click Next to accept the new rules.
On the Action page, select Allow the connection, and then click Finish. Allow the connection is the default selection.
Repeat steps 5 through 10 to create new inbound rules for the following two additional predefined rule types.
- Remote Service Management
- Windows Firewall Remote Management
- Remote Service Management
Close Local Group Policy Editor.
To configure Server Manager remote management by using the Windows interface |
On the computer that you want to manage remotely, open Server Manager. To open Server Manager, click Start, point to Administrative Tools, and then click Server Manager.
In the Server Summary area of the Server Manager home page, click Configure Server Manager Remote Management.
Do one of the following.
- To let this computer to be managed remotely by using Server Manager, select Enable remote management of this server from other computers.
- To prevent this computer from being managed remotely by using Server Manager, clear the Enable remote management of this server from other computers check box.
- If you want to enable remote management, but cannot change the setting, follow the steps in the procedure To set Group Policy for Server Manager remote management, and then go on to the next step.
- To let this computer to be managed remotely by using Server Manager, select Enable remote management of this server from other computers.
Click OK.
Verify that exceptions to the following firewall rules are enabled, and are not disabled by Group Policy settings.
- Remote Service Management (NP-In)
- Remote Service Management (RPC)
- Remote Service Management (RPC-EPMAP)
- Remote Event Log Management (NP-In)
- Remote Event Log Management (RPC)
- Remote Event Log Management (RPC-EPMAP)
- Windows Firewall Remote Management (RPC)
- Windows Firewall Remote Management (RPC-EPMAP)
To do this, do the following.
Open the Windows Firewall with Advanced Security snap-in by doing one of the following:
In the Security Information area of the Server Manager main window, click Go to Windows Firewall.
In the Server Manager tree pane, expand Configuration, and then click Windows Firewall with Advanced Security.
Click Start, point to Administrative Tools, and then click Windows Firewall with Advanced Security.
In the Getting Started area of the Windows Firewall with Advanced Security details pane, click Inbound Rules.
In the list of rules, locate the rules that are specified in this step.
If No is displayed in the Enabled column for any of the specified rules, double-click the rule to open the Properties dialog box for the rule.
On the General tab of the rule’s Properties dialog box, select Enabled. Click OK.
Note Although remote management by using Server Manager is still possible if exceptions to the Remote Event Log Management firewall rules are disabled, remote connection times can be very slow, depending on the number of roles and features that are running on the computer that you want to manage, unless exceptions to these firewall rules are enabled. We recommend that you enable Remote Event Log Management firewall rules to prevent connection delays.
- Remote Service Management (NP-In)
To configure Server Manager remote management by using Windows PowerShell |
On the computer that you want to manage remotely, open a Windows PowerShell session with elevated user rights. To do this, click Start, click All Programs, click Accessories, click Windows PowerShell, right-click the Windows PowerShell shortcut, and then click Run as administrator.
In the Windows PowerShell session, type the following, and then press Enter.
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
Type the following, and then press Enter to enable all required firewall rule exceptions.
Configure-SMRemoting.ps1 -force -enable
To configure remote management on the Server Core installation option of Windows Server 2008 R2 |
On the computer that you want to manage remotely, at the command prompt that opens by default when a member of the Administrators group logs on to the computer that is running the Server Core installation option of Windows Server 2008 R2, type the following, and then press Enter.
Dism.exe /Online /Enable-Feature /FeatureName:NetFx2-ServerCore /FeatureName:MicrosoftWindowsPowerShell /FeatureName:ServerManager-PSH-Cmdlets /FeatureName:BestPractices-PSH-Cmdlets
After the installation has completed, close all applications, and then restart the computer.
To verify that Windows PowerShell and cmdlets for Server Manager and Best Practices Analyzer are installed, try entering the oclist command, which returns a list of all Windows features that are installed on the computer.
After the operating system has finished loading, log on to the computer as, at minimum, a member of the local Administrators group.
In the Command Prompt window that opens after you have logged on to the computer, type the following to open a Windows PowerShell session, and then press Enter.
powershell
In the Windows PowerShell session, type the following, and then press Enter.
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
Type the following, and then press Enter to enable all required firewall rule exceptions.
Configure-SMRemoting.ps1 -force -enable
Connecting to remote computers by using Server Manager
Do the following to manage a remote server by using Server Manager.
To connect to another computer by using Server Manager |
Open Server Manager. To open Server Manager, click Start, point to Administrative Tools, and then click Server Manager.
In the tree pane, right-click Server Manager, and then click Connect to Another Computer.
In the Connect to Another Computer dialog box, enter the name or IP address of another computer that is running Windows Server 2008 R2 in the Another computer text box, or browse for another server on the network. Click OK.
In the Another computer string box, you can specify a NetBIOS name, a fully-qualified domain name (FQDN), or an IPv4 or IPv6 address. If no port number is specified, the default port number is used. The following are examples of formats you can specify in the Another computer text box.
- ComputerName
- ComputerName:PortNumber
- IP address: n.n.n.n
- IPv6 address: [n:n:n:n]
- IPv4 address with port number: n.n.n.n:PortNumber
- IPv6 address with port number: [n:n:n:n]:PortNumber
Note If an administrator has changed the computer’s default port number, the nondefault port must be opened in Windows Firewall to allow incoming connections on that port. Port 5985 is opened by default when WinRM is configured as described in To set Group Policy for Server Manager remote management in this topic. Nondefault ports remain blocked until opened. For more information about how to unblock a port in Windows Firewall, see the Help for Windows Firewall. For more information about how to configure WinRM, in a Command Prompt session, type winrm help, and then press Enter.
After you connect to a remote computer, notice that the name of the computer changes in the Server Manager console. The computer name in the Server Manager node of the tree pane, the Full Computer Name field in the Server Summary area of Server Manager, and the computer name in the console heading all change to the name of the remote computer to which you are connected. Because Server Manager resolves IP addresses to FQDNs, if you connected to a remote computer by using an IP address, the Server Manager console displays the FQDN of the remote computer.
Note If you are connecting to a computer in a different domain by using an IP address, the remote connection might fail, because of DNS Server limitations that can result in a failure to resolve the IP address to a host name. If this occurs, try connecting by specifying an FQDN.
- ComputerName
To run the Server Manager Get-WindowsFeature cmdlet on a remote computer from a Windows PowerShell session |
Open a Windows PowerShell session with elevated user rights. To do this, click Start, click All Programs, click Accessories, click Windows PowerShell, right-click the Windows PowerShell shortcut, and then click Run as administrator.
Type the following, for which ComputerName is the name of the remote computer that is running Windows Server 2008 R2, and UserName is the name of a user who is a member of the Administrators group on the remote computer, and then press Enter.
Enter-PSSession <ComputerName> –credential <UserName>
You are prompted to enter your password in a secure dialog box. Type your password, and then press Enter.
In the Windows PowerShell session, type the following to load the Server Manager snap-in, and then press Enter.
Import-Module ServerManager
Type the following, and then press Enter.
Get-WindowsFeature
After the results of the Get-WindowsFeature cmdlet are displayed in your Windows PowerShell session, type the following to close the Windows PowerShell session, and then press Enter.
Exit-PSSession
Managing multiple computers by using Server Manager and MMC
You can also create a custom Microsoft Management Console (MMC) that contains multiple Server Manager snap-ins, each targeted to manage a different remote computer.
To manage multiple computers by using Server Manager and MMC |
To open Microsoft Management Console, click Start, click Run, type mmc, and then click OK.
On the File menu, click Add/Remove Snap-in.
In the Available snap-ins list, select Server Manager.
Click Add to add Server Manager to the Selected snap-ins list.
Repeat the previous step as many times as needed to add Server Manager snap-ins to your MMC. Click OK.
In the tree pane of the new MMC, right-click the top node of a Server Manager snap-in, and then click Connect to Another Computer.
In the Connect to Another Computer dialog box, enter the name or IP address of another computer in the Another computer string box, or browse for another server on the network. Click OK.
After you connect to a remote computer, notice that the name of the computer changes in the Server Manager node of the tree pane.
If you have additional Server Manager snap-ins in the MMC, repeat this procedure from step 6 to connect additional Server Manager snap-ins to other remote computers.
On the File menu, click Save to save your custom MMC.
Remote management from Windows 7
Although computers that are running Windows 7 cannot be managed by using Server Manager, you can install Server Manager on a computer that is running Windows 7 by installing Remote Server Administration Tools. Remote Server Administration Tools for Windows 7 is available for download on the
After you install Remote Server Administration Tools on a computer that is running Windows 7, just as on a computer that is running Windows Server 2008 R2, you can create a custom Server Manager MMC to manage multiple remote computers that are running Windows Server 2008 R2. To create a custom Server Manager MMC on a computer that is running Windows 7 and Remote Server Administration Tools, see Managing multiple computers by using Server Manager and MMC in this topic.
To manage remotely from a computer that is running Windows 7 |
Install Remote Server Administration Tools on the computer that is running Windows 7.
Download the Remote Server Administration Tools package from the
Microsoft Web site , then follow the instructions that are provided on the Download Center page to install Remote Server Administration Tools.To use role- or feature-specific tools or snap-ins in a Server Manager console that is connected to a remote server, those tools must be installed on the source computer by using Remote Server Administration Tools.
After Remote Server Administration Tools is installed, open Server Manager. To open Server Manager, click Start, point to Administrative Tools, and then click Server Manager.
In the tree pane, right-click Server Manager, and then click Connect to Another Computer.
In the Connect to Another Computer dialog box, enter the name or IP address of a computer that is running Windows Server 2008 R2 in the Another computer string box, or browse for another server on the network. Click OK.
After you connect to a remote computer, notice that the name of the computer is displayed in the Server Manager console. You can see the name of the remote computer to which you are connected in the Server Manager node of the tree pane, the Full Computer Name field in the Server Summary area of Server Manager, and the computer name in the console heading.