- Install and Configure WMF 5.1
- Download and install the WMF 5.1 package
- Install WMF 5.1 for Windows Server 2008 R2 and Windows 7
- WMF 5.1 Prerequisites for Windows Server 2008 R2 SP1 and Windows 7 SP1
- Installing WMF 5.1 on Windows Server 2008 R2 and Windows 7
- WinRM Dependency
- Install WMF 5.1 for Windows Server 2012 R2, Windows Server 2012, and Windows 8.1
- Install from Windows File Explorer
- Installing from the Command Prompt
- Подготовка среды для Windows Admin Center Prepare your environment for Windows Admin Center
- Подготовка Windows Server 2012 и 2012 R2 Prepare Windows Server 2012 and 2012 R2
- Установка WMF версии 5.1 или более поздней версии Install WMF version 5.1 or higher
- Подготовка Microsoft Hyper-V Server 2016 Prepare Microsoft Hyper-V Server 2016
- Для управления Microsoft Hyper-V Server 2016 с помощью Windows Admin Center выполните следующие действия. To manage Microsoft Hyper-V Server 2016 with Windows Admin Center:
- Шаг 1. Включение удаленного управления Step 1: Enable Remote Management
- Шаг 2. Включение роли файлового сервера Step 2: Enable File Server Role
- Шаг 3. Включение модуля Hyper-V для PowerShell Step 3: Enable Hyper-V Module for PowerShell
- Подготовка Microsoft Hyper-V Server 2012 R2 Prepare Microsoft Hyper-V Server 2012 R2
- Для управления Microsoft Hyper-V Server 2012 R2 с помощью Windows Admin Center выполните следующие действия. To manage Microsoft Hyper-V Server 2012 R2 with Windows Admin Center:
- Шаг 1. Установка Windows Management Framework 5.1 Step 1: Install Windows Management Framework 5.1
- Шаг 2. Включение удаленного управления Step 2: Enable Remote Management
- Шаг 3. Включение роли файлового сервера Step 3: Enable File Server Role
- Шаг 4. Включение модуля Hyper-V для PowerShell Step 4: Enable Hyper-V Module for PowerShell
- Настройка портов на целевом сервере Port configuration on the target server
Install and Configure WMF 5.1
WMF 5.0 is superseded by WMF 5.1. Users with WMF 5.0 must upgrade to WMF 5.1 to receive support. WMF 5.1 requires the .NET Framework 4.5.2 (or above). Installation will succeed, but key features will fail if .NET 4.5.2 (or above) is not installed.
Download and install the WMF 5.1 package
Download the WMF 5.1 package for the operating system and architecture you wish to install it on:
Operating System | Prerequisites | Package Links |
---|---|---|
Windows Server 2012 R2 | Win8.1AndW2K12R2-KB3191564-x64.msu | |
Windows Server 2012 | W2K12-KB3191565-x64.msu | |
Windows Server 2008 R2 | .NET Framework 4.5.2 | Win7AndW2K8R2-KB3191566-x64.ZIP |
Windows 8.1 | x64:Win8.1AndW2K12R2-KB3191564-x64.msux86:Win8.1-KB3191564-x86.msu | |
Windows 7 SP1 | .NET Framework 4.5.2 | x64:Win7AndW2K8R2-KB3191566-x64.ZIPx86:Win7-KB3191566-x86.ZIP |
- WMF 5.1 Preview must be uninstalled before installing WMF 5.1 RTM.
- WMF 5.1 may be installed directly over WMF 5.0 or WMF 4.0.
- It is not required to install WMF 4.0 prior to installing WMF 5.1 on Windows 7 and Windows Server 2008 R2.
Install WMF 5.1 for Windows Server 2008 R2 and Windows 7
Installation instructions for Windows Server 2008 R2 and Windows 7 have changed, and differ from the instructions for the other packages. Installation instructions for Windows Server 2012 R2, Windows Server 2012, and Windows 8.1 are below.
WMF 5.1 Prerequisites for Windows Server 2008 R2 SP1 and Windows 7 SP1
Installation of WMF 5.1 on either Windows Server 2008 R2 SP1 or Windows 7 SP1, requires the following:
- Latest service pack must be installed.
- WMF 3.0 must not be installed. Installing WMF 5.1 over WMF 3.0 will result in the loss of the PSModulePath ( $env:PSModulePath ), which can cause other applications to fail. Before installing WMF 5.1, you must either un-install WMF 3.0, or save the PSModulePath and then restore it manually after WMF 5.1 installation is complete.
- WMF 5.1 requires at least .NET Framework 4.5.2. You can install Microsoft .NET Framework 4.5.2 by following the instructions at the download location.
Installing WMF 5.1 on Windows Server 2008 R2 and Windows 7
Navigate to the folder into which you downloaded the ZIP file.
Right-click on the ZIP file, and select Extract All. . The ZIP file contains two files: an MSU and the Install-WMF5.1.ps1 script file. Once you have unpacked the ZIP file, you can copy the contents to any machine running Windows 7 or Windows Server 2008 R2.
After extracting the ZIP file contents, open PowerShell as administrator, then navigate to the folder containing the contents of the ZIP file.
Run the Install-WMF5.1.ps1 script in that folder, and follow the instructions. This script will check the prerequisites on the local machine, and install WMF 5.1 if the prerequisites have been met. The prerequisites are listed below.
Install-WMF5.1.ps1 takes the following parameters to ease automating the installation on Windows Server 2008 R2 and Windows 7:
- AcceptEula: When this parameter is included, the EULA is automatically accepted and will not be displayed.
- AllowRestart: This parameter can only be used if AcceptEula is specified. If this parameter is included, and a restart is required after installing WMF 5.1, the restart will happen without prompting immediately after the installation is completed.
WinRM Dependency
Windows PowerShell Desired State Configuration (DSC) depends on WinRM. WinRM is not enabled by default on Windows Server 2008 R2 and Windows 7. Run Set-WSManQuickConfig , in a Windows PowerShell elevated session, to enable WinRM.
Install WMF 5.1 for Windows Server 2012 R2, Windows Server 2012, and Windows 8.1
Install from Windows File Explorer
- Navigate to the folder into which you downloaded the MSU file.
- Double-click the MSU to run it.
Installing from the Command Prompt
After downloading the correct package for your computer’s architecture, open a Command Prompt window with elevated user rights (Run as Administrator). On the Server Core installation options of Windows Server 2012 R2, Windows Server 2012, or Windows Server 2008 R2 SP1, Command Prompt opens with elevated user rights by default.
Change directories to the folder into which you have downloaded or copied the WMF 5.1 installation package.
Run one of the following commands:
- On computers that are running Windows Server 2012 R2 or Windows 8.1 x64, run Win8.1AndW2K12R2-KB3191564-x64.msu /quiet /norestart .
- On computers that are running Windows Server 2012, run W2K12-KB3191565-x64.msu /quiet /norestart .
- On computers that are running Windows 8.1 x86, run Win8.1-KB3191564-x86.msu /quiet /norestart .
Installing WMF 5.1 requires a reboot. Using the /quiet option alone will reboot the system without warning. Use the /norestart option to avoid rebooting. However, WMF 5.1 will not be installed until you have rebooted.
Подготовка среды для Windows Admin Center Prepare your environment for Windows Admin Center
Применяется к: Windows Admin Center, ознакомительная версия Windows Admin Center Applies to: Windows Admin Center, Windows Admin Center Preview
Существует несколько версий Windows Server, которые требуют дополнительной подготовки, прежде чем ими можно будет управлять с помощью Windows Admin Center: There are some Server versions that need additional preparation before they are ready to manage with Windows Admin Center:
Также есть некоторые сценарии, в которых нужно изменить конфигурацию портов на целевом сервере, прежде чем выполнять управление с помощью Windows Admin Center. There are also some scenarios where port configuration on the target server may need to be modified before managing with Windows Admin Center.
Подготовка Windows Server 2012 и 2012 R2 Prepare Windows Server 2012 and 2012 R2
Установка WMF версии 5.1 или более поздней версии Install WMF version 5.1 or higher
Для платформы Windows Admin Center нужны функции PowerShell, которые не входят в состав Windows Server 2012 и 2012 R2R2 по умолчанию. Windows Admin Center requires PowerShell features that are not included by default in Windows Server 2012 and 2012 R2. Для управления Windows Server 2012 или 2012 R2 с помощью Windows Admin Center необходимо установить WMF версии 5.1 или более поздней версии на эти серверы. To manage Windows Server 2012 or 2012 R2 with Windows Admin Center, you will need to install WMF version 5.1 or higher on those servers.
Введите $PSVersiontable в PowerShell, чтобы проверить, что платформа WMF установлена, и что используется версия 5.1 или более поздняя версия. Type $PSVersiontable in PowerShell to verify that WMF is installed, and that the version is 5.1 or higher.
Если она не установлена, можно скачать и установить WMF 5.1. If it is not installed, you can download and install WMF 5.1.
Подготовка Microsoft Hyper-V Server 2016 Prepare Microsoft Hyper-V Server 2016
Чтобы можно было управлять Microsoft Hyper-V Server 2016 с помощью Windows Admin Center, необходимо включить некоторые роли Windows Server. To manage Microsoft Hyper-V Server 2016 with Windows Admin Center, there are some Server roles you’ll need to enable before you can do so.
Для управления Microsoft Hyper-V Server 2016 с помощью Windows Admin Center выполните следующие действия. To manage Microsoft Hyper-V Server 2016 with Windows Admin Center:
- Включите удаленное управление. Enable Remote Management.
- Включите роль файлового сервера. Enable File Server Role.
- Включите модуль Hyper-V для PowerShell. Enable Hyper-V Module for PowerShell.
Шаг 1. Включение удаленного управления Step 1: Enable Remote Management
Для включения удаленного управления в Hyper-V Server выполните следующие действия. To enable remote management in Hyper-V Server:
- Войдите в Hyper-V Server. Log into Hyper-V Server.
- В средстве Настройка сервера (SCONFIG) введите 4, чтобы настроить удаленное управление. At the Server Configuration (SCONFIG) tool, type 4 to configure remote management.
- Введите 1, чтобы включить удаленное управление. Type 1 to enable Remote Management.
- Введите 4 для возврата в главное меню. Type 4 to return to the main menu.
Шаг 2. Включение роли файлового сервера Step 2: Enable File Server Role
Чтобы включить роль файлового сервера для обеспечения базовых возможностей обмена файлами и удаленного управления, выполните следующие действия. To enable File Server Role for basic file sharing and remote management:
- В меню Сервис выберите пункт Роли и компоненты. Click Roles and Features in the Tools menu.
- В разделе Роли и компоненты найдите пункт Файловые службы и службы хранилища и установите флажки Файловые службы и службы iSCSI и Файловый сервер: In Roles and Features, find File and Storage Services, and check File and iSCSI Services and File Server:
Шаг 3. Включение модуля Hyper-V для PowerShell Step 3: Enable Hyper-V Module for PowerShell
Чтобы включить модуль Hyper-V для функций PowerShell, выполните следующие действия. To enable Hyper-V Module for PowerShell features:
- В меню Сервис выберите пункт Роли и компоненты. Click Roles and Features in the Tools menu.
- В разделе Роли и компоненты найдите пункт Средства удаленного администрирования сервера и установите флажки Средства администрирования ролей и Модуль Hyper-V для PowerShell. In Roles and Features, find Remote Server Administration Tools and check Role Administration Tools and Hyper-V Module for PowerShell:
Теперь сервер Microsoft Hyper-V Server 2016 готов к управлению через Windows Admin Center. Microsoft Hyper-V Server 2016 is now ready for management with Windows Admin Center.
Подготовка Microsoft Hyper-V Server 2012 R2 Prepare Microsoft Hyper-V Server 2012 R2
Чтобы управлять Microsoft Hyper-V Server 2012 R2 через Windows Admin Center, необходимо включить некоторые роли Windows Server. To manage Microsoft Hyper-V Server 2012 R2 with Windows Admin Center, there are some Server roles you’ll need to enable before you can do so. Кроме того, необходимо установить WMF версии 5.1 или более поздней версии. In addition, you will need to install WMF version 5.1 or higher.
Для управления Microsoft Hyper-V Server 2012 R2 с помощью Windows Admin Center выполните следующие действия. To manage Microsoft Hyper-V Server 2012 R2 with Windows Admin Center:
- Установите Windows Management Framework (WMF) версии 5.1 или более поздней версии Install Windows Management Framework (WMF) version 5.1 or higher
- Включение удаленного управления Enable Remote Management
- Включение роли файлового сервера Enable File Server Role
- Включение модуля Hyper-V для PowerShell Enable Hyper-V Module for PowerShell
Шаг 1. Установка Windows Management Framework 5.1 Step 1: Install Windows Management Framework 5.1
Для платформы Windows Admin Center нужны функции PowerShell, которые не входят в состав Microsoft Hyper-V Server 2012 R2 по умолчанию. Windows Admin Center requires PowerShell features that are not included by default in Microsoft Hyper-V Server 2012 R2. Для управления Microsoft Hyper-V Server 2012 R2 с помощью Windows Admin Center необходимо установить WMF версии 5.1 или более поздней версии. To manage Microsoft Hyper-V Server 2012 R2 with Windows Admin Center, you will need to install WMF version 5.1 or higher.
Введите $PSVersiontable в PowerShell, чтобы проверить, что платформа WMF установлена, и что используется версия 5.1 или более поздняя версия. Type $PSVersiontable in PowerShell to verify that WMF is installed, and that the version is 5.1 or higher.
Если она не установлена, вы можете скачать WMF 5.1. If it is not installed, you can download WMF 5.1.
Шаг 2. Включение удаленного управления Step 2: Enable Remote Management
Для включения удаленного управления Hyper-V Server выполните следующие действия. To enable Hyper-V Server remote management:
- Войдите в Hyper-V Server. Log into Hyper-V Server.
- В средстве Настройка сервера (SCONFIG) введите 4, чтобы настроить удаленное управление. At the Server Configuration (SCONFIG) tool, type 4 to configure remote management.
- Введите 1, чтобы включить удаленное управление. Type 1 to enable remote management.
- Введите 4 для возврата в главное меню. Type 4 to return to the main menu.
Шаг 3. Включение роли файлового сервера Step 3: Enable File Server Role
Чтобы включить роль файлового сервера для обеспечения базовых возможностей обмена файлами и удаленного управления, выполните следующие действия. To enable File Server Role for basic file sharing and remote management:
- В меню Сервис выберите пункт Роли и компоненты. Click Roles and Features in the Tools menu.
- В разделе Роли и компоненты найдите пункт Файловые службы и службы хранилища и установите флажки Файловые службы и службы iSCSI и Файловый сервер: In Roles and Features, find File and Storage Services and check File and iSCSI Services and File Server:
Шаг 4. Включение модуля Hyper-V для PowerShell Step 4: Enable Hyper-V Module for PowerShell
Чтобы включить модуль Hyper-V для функций PowerShell, выполните следующие действия. To enable Hyper-V Module for PowerShell features:
- В меню Сервис выберите пункт Роли и компоненты. Click Roles and Features in the Tools menu.
- В разделе Роли и компоненты найдите пункт Средства удаленного администрирования сервера и установите флажки Средства администрирования ролей и Модуль Hyper-V для PowerShell. In Roles and Features, find Remote Server Administration Tools and check Role Administration Tools and Hyper-V Module for PowerShell:
Теперь сервером Microsoft Hyper-V Server 2012 R2 можно управлять с помощью Windows Admin Center. Microsoft Hyper-V Server 2012 R2 is now ready for management with Windows Admin Center.
Настройка портов на целевом сервере Port configuration on the target server
Windows Admin Center использует протокол общего доступа к файлам SMB для некоторых задач копирования файлов, например при импорте сертификата на удаленном сервере. Windows Admin Center uses the SMB file sharing protocol for some file copying tasks, such as when importing a certificate on a remote server. Чтобы эти операции копирования файлов прошли успешно, брандмауэр на удаленном сервере должен разрешать входящие подключения через порт 445. For these file copy operations to succeed, the firewall on the remote server must allow inbound connections on port 445. Вы можете с помощью средства брандмауэра в Windows Admin Center убедиться, что настроено входящее правило «File Server Remote Management (SMB-In)» (Удаленное управление файловым сервером SMB-in), которое разрешает доступ через этот порт. You can use the Firewall tool in Windows Admin Center to verify the incoming rule for ‘File Server Remote Management (SMB-In)’ is set to allow access on this port.
Готовы к установке Windows Admin Center? Ready to install Windows Admin Center? Скачать Download now