当前位置: 主页 > 操作系统 > 其他系统 > 安装Windows Server迁移工具

安装Windows Server迁移工具

时间:2010-7-27来源:互联网 点击:

  如果计划从运行 Windows Server 2008 或 Windows Server 2003 的计算机中迁移角色、功能或其他数据,则在目标服务器上安装Windows Server迁移工具后必须完成两项其他任务。

  - 在运行Windows Server 2008 R2的计算机上创建Windows Server迁移工具部署文件夹。

  - 在运行Windows Server 2008或Windows Server 2003的源计算机上注册Windows Server迁移工具。

  一、在完整安装的Windows Server 2008 R2上安装Windows Server迁移工具的步骤

  1、使用提升的用户权限打开 Windows PowerShell 会话。若要执行此操作,请依次单击「开始」、“所有程序”、“附件”和“Windows PowerShell”,右键单击“Windows PowerShell”快捷方式,然后单击“以管理员身份运行”。

  2、将服务器管理器模块加载到 Windows PowerShell 会话中。若要加载服务器管理器模块,请键入以下内容,然后按 Enter。

  Import-Module ServerManager

  3、键入以下内容,然后按 Enter。

  Add-WindowsFeature Migration

  二、在服务器核心安装的Windows Server 2008 R2上安装Windows Server迁移工具的步骤

  1、oclist 命令显示服务器核心安装选项中的可用角色和功能、角色和功能命令 ID 以及安装的角色或功能的列表。在命令提示符下,键入以下命令,然后按 Enter。

  oclist

  默认情况下,运行 Windows Server 2008 R2 服务器核心安装选项的计算机上的命令提示符已使用提升的用户权限运行。您不必在服务器核心环境中使用提升的用户权限启动命令提示符。

  2、在显示的 oclist 命令结果中查找以下内容。如果所有三项内容都位于已安装的程序列表中,请跳过下一步。如果缺少任一项,请继续执行下一步。

  NetFx2-ServerCore

  MicrosoftWindowsPowerShell

  ServerManager-PSH-Cmdlets

  3、键入下列内容之一,然后按 Enter。

  ocsetup NetFx2-ServerCore;MicrosoftWindowsPowerShell;ServerManager-PSH-Cmdlets

  Pkgmgr /iu:NetFx2-ServerCore;MicrosoftWindowsPowerShell;ServerManager-PSH-Cmdlets

  4、请执行以下操作之一。

  若要在“命令提示符”窗口中使用 ocsetup 或 pkgmgr 命令安装 Windows Server 迁移工具,请键入下列内容之一,然后按 Enter。您已完成了该过程,不需要执行其余步骤。

  ocsetup ServerMigration

  pkgmgr /iu:ServerMigration

  若要使用 Windows PowerShell 安装 Windows Server 迁移工具,请继续执行下一步。

  5、通过在当前的“命令提示符”会话中键入以下内容,然后按 Enter,打开一个 Windows PowerShell 会话。

  %windir%\System32\WindowsPowerShell\v1.0\powershell.exe

  6、将服务器管理器管理单元加载到 Windows PowerShell 会话中。若要加载服务器管理器管理单元,请键入以下内容,然后按 Enter。

  Import-Module ServerManager

  7、使用服务器管理器的 Windows PowerShell Add-WindowsFeature cmdlet 来安装 Windows Server 迁移工具。在 Windows PowerShell 会话中,键入以下命令,然后按 Enter。

  Add-WindowsFeature Migration

站长资讯网
. TAG: windows server 迁移工具
推荐内容最近更新人气排行
关于我们 | 友情链接 | 网址推荐 | 常用资讯 | 网站地图 | RSS | 留言