Exportar (0) Imprimir
Expandir Todos

Windows Server Migration Tools Installation, Access, and Removal

Actualizado: Maio de 2012

Aplica-se a: Windows Server 2008 R2

Ferramentas de Migração do Windows Server Installation, Access, and Removal describes how to locate, install, use, and remove Ferramentas de Migração do Windows Server. Administrators can use Ferramentas de Migração do Windows Server to migrate server roles, features, operating system settings, and other data and shares to computers that are running Windows Server® 2008 R2.

The following table indicates the Windows Server operating systems that Ferramentas de Migração do Windows Server supports.

 

Source server processor Source server operating system Destination server operating system Destination server processor

x86- or x64-based

Windows Server 2003 with Service Pack 2

Windows Server 2008 R2, both full and Server Core installation options

x64-based

x86- or x64-based

Windows Server 2003 R2

Windows Server 2008 R2, both full and Server Core installation options

x64-based

x86- or x64-based

Windows Server 2008, full installation option

Windows Server 2008 R2, both full and Server Core installation options

x64-based

x64-based

Windows Server 2008 R2

Windows Server 2008 R2, both full and Server Core installation options

x64-based

x64-based

Server Core installation option of Windows Server 2008 R2

Windows Server 2008 R2, both full and Server Core installation options

x64-based

The versions of operating systems shown in the previous table are the oldest combinations of operating systems and service packs that are supported. If available, newer service packs are supported.

The following editions of Windows Server are supported as either source or destination servers:

  • Windows Server Foundation

  • Windows Server Standard

  • Windows Server Enterprise

  • Windows Server Datacenter

Migrations between physical operating systems and virtual operating systems are supported.

Migration from a source server to a destination server that is running an operating system in a different system UI language (that is, the installed language) than the source server is not supported. For example, you cannot use Ferramentas de Migração do Windows Server to migrate roles, operating system settings, data, or shares from a computer that is running Windows Server 2008 in the French system UI language to a computer that is running Windows Server 2008 R2 in the German system UI language.

noteNota
The system UI language is the language of the localized installation package that was used to set up the Windows operating system.

Both x86- and x64-based migrations are supported for Windows Server 2003 and Windows Server 2008. All editions of Windows Server 2008 R2 are x64-based.

Roles that are running on the Server Core installation option of Windows Server 2008 cannot be migrated, because the Microsoft .NET Framework is not available in the Server Core installation option of Windows Server 2008.

At minimum, you must be a member of the Administrators group on both source and destination servers to install, remove, or set up Ferramentas de Migração do Windows Server.

Follow the steps in this section if you are registering Ferramentas de Migração do Windows Server on computers that are running Windows Server 2003 or Windows Server 2008. Otherwise, see Installing Windows Server Migration Tools.

noteNota
All commands in this guide are case-insensitive unless specifically noted.

Complete the following tasks to prepare a source server that is running Windows Server 2008 for Ferramentas de Migração do Windows Server.

  • Verify that the source server has sufficient disk space (at least 23 MB) to store the Ferramentas de Migração do Windows Server deployment folder.

  • Install Windows PowerShell by using Gestor de servidor or by running the Gestor de servidor command prompt tool, ServerManagerCmd.exe. If your source server is running the Server Core installation option of Windows Server 2008 R2, see Server Core installation option of Windows Server 2008 R2 for more information about how to install Ferramentas de Migração do Windows Server on the source server. For more information about how to add features to the server by using Gestor de servidor, see Adding Server Roles and Features in the Gestor de servidor Help (http://go.microsoft.com/fwlink/?LinkId=133158).

Complete the following tasks to prepare a source server that is running Windows Server 2003 or Windows Server 2003 R2 for Ferramentas de Migração do Windows Server.

  • Verify that the source server has sufficient disk space (at least 25 MB) to store the Ferramentas de Migração do Windows Server deployment folder.

  • Download and install Microsoft .NET Framework  2.0. Microsoft .NET Framework  2.0 is available for download from the Microsoft Web site (http://go.microsoft.com/fwlink/?linkid=100351).

  • Download and install Windows PowerShell 1.0, or a later version. Windows PowerShell 1.0 is available for download from the Microsoft Web site (http://go.microsoft.com/fwlink/?LinkId=133160).

noteNota
Windows PowerShell 2.0 is available in a graphically-oriented version. For more information about Graphical Windows PowerShell, see Graphical Windows PowerShell (http://go.microsoft.com/fwlink/?LinkId=133161).

Because you might have to restart the server after you install Ferramentas de Migração do Windows Server, notify users in advance that they might experience downtime while the server operating system loads. To minimize downtime, and reduce its effect on users in your enterprise, install Ferramentas de Migração do Windows Server during off-peak hours.

This section describes how to install Ferramentas de Migração do Windows Server on both source and destination servers. If both source and destination computers are running Windows Server 2008 R2, install Ferramentas de Migração do Windows Server on both computers by following installation steps in either Full installation option of Windows Server 2008 R2 or Server Core installation option of Windows Server 2008 R2.

If you plan to migrate roles, features, or other data from computers that are running either Windows Server 2008 or Windows Server 2003, you must complete two additional tasks after you install Ferramentas de Migração do Windows Server on destination servers.

  1. Create a Ferramentas de Migração do Windows Server deployment folder on a computer that is running Windows Server 2008 R2. For more information, see Creating a deployment folder on destination computers.

  2. Register Ferramentas de Migração do Windows Server on source computers that are running either Windows Server 2008 or Windows Server 2003. For more information, see Registering Windows Server Migration Tools on source computers.

For more detailed information, see Windows Server 2008 or Windows Server 2003 source computers.

You can install Ferramentas de Migração do Windows Server by using the Windows PowerShell cmdlet Add-WindowsFeature for Gestor de servidor.

  1. 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.

  2. Load the Gestor de servidor module into your Windows PowerShell session. To load the Gestor de servidor module, type the following, and then press Enter.

    Import-Module ServerManager
    
  3. Type the following, and then press Enter.

    Add-WindowsFeature Migration
    
    noteNota
    You can also install Ferramentas de Migração do Windows Server on a full installation of Windows Server 2008 R2 by using the Gestor de servidor console. For more information about how to use the Gestor de servidor console, see Adding Server Roles and Features in the Server Manager Help on the Microsoft Web site (http://go.microsoft.com/fwlink/?LinkId=134104).

  4. To migrate Hyper-V or Routing and Remote Access Services to Windows Server 2008 R2, you must also do the following:

    1. Download the Windows Server 2008 R2 Migration Utilities package on the local computer that is running Windows Server 2008 R2. The download package is available on the Microsoft Web site (http://go.microsoft.com/fwlink/?LinkId=178389).

    2. In the Windows PowerShell session opened in step 1, install Windows Server 2008 R2 Migration Utilities by typing the following command, in which Path represents the fully-qualified path to the package, and then press Enter.

      <Path>\Windows6.1-KB977336-v2-x64.msu
      
    3. Follow the instructions in the Installation Wizard to complete installation.

    4. Restart the computer after the installation of Windows Server 2008 R2 Migration Utilities is finished.

Install Windows PowerShell, and then Windows PowerShell cmdlets for Gestor de servidor in the Windows PowerShell session that you use to install Ferramentas de Migração do Windows Server. By default, Windows PowerShell is not installed on the Server Core installation option of Windows Server 2008 R2.

  1. The oclist command displays a list of the roles and features that are available in the Server Core installation option, the role and feature command IDs, and roles or features that are installed. At a command prompt, type the following, and then press Enter.

    oclist
    
    noteNota
    By default, a command prompt on computers that are running the Server Core installation option of Windows Server 2008 R2 already runs with elevated user rights. You do not have to start the command prompt with elevated user rights in the Server Core environment.

  2. Look for the following programs in the displayed results of the oclist command. If all three are in the list of installed programs, skip the next step. If any of them are missing, go on to the next step.

    • NetFx2-ServerCore

    • MicrosoftWindowsPowerShell

    • ServerManager-PSH-Cmdlets

  3. Type one of the following, and then press Enter.

    start /w ocsetup NetFx2-ServerCore;MicrosoftWindowsPowerShell;ServerManager-PSH-Cmdlets
    
    Pkgmgr /iu:NetFx2-ServerCore;MicrosoftWindowsPowerShell;ServerManager-PSH-Cmdlets
    
  4. Do one of the following.

    • To install Ferramentas de Migração do Windows Server by using the ocsetup or pkgmgr commands, at the command prompt, type one of the following, and then press Enter. You have completed the procedure and do not have to perform the remaining steps.

      • start /w ocsetup ServerMigration
        
      • pkgmgr /iu:ServerMigration
        
    • To install Ferramentas de Migração do Windows Server by using Windows PowerShell, go on to the next step.

  5. Open a Windows PowerShell session by typing the following in the current command prompt session, and then press Enter.

    %windir%\System32\WindowsPowerShell\v1.0\powershell.exe
    
  6. Load the Gestor de servidor snap-in into your Windows PowerShell session. To load the Gestor de servidor snap-in, type the following, and then press Enter.

    Import-Module ServerManager
    
  7. Install Ferramentas de Migração do Windows Server by using the Windows PowerShell Add-WindowsFeature cmdlet for Gestor de servidor. In the Windows PowerShell session, type the following, and then press Enter.

    Add-WindowsFeature Migration
    
  8. To migrate Hyper-V or Routing and Remote Access Services to Windows Server 2008 R2, you must also do the following:

    1. Download the Windows Server 2008 R2 Migration Utilities package on the local computer that is running Windows Server 2008 R2. The download package is available on the Microsoft Web site (http://go.microsoft.com/fwlink/?LinkId=178389).

    2. In the Windows PowerShell session opened in step 5, install Windows Server 2008 R2 Migration Utilities by typing the following command, in which Path represents the fully-qualified path to the package, and then press Enter.

      <Path>\Windows6.1-KB977336-v2-x64.msu
      
    3. Follow the instructions in the Installation Wizard to complete installation.

    4. Restart the computer after the installation of Windows Server 2008 R2 Migration Utilities is finished.

Complete the following two tasks to install Ferramentas de Migração do Windows Server.

  1. Create deployment folders for source computers by using the smigdeploy.exe tool that is included with Ferramentas de Migração do Windows Server on a computer that is running Windows Server 2008 R2. For more information, see Creating a deployment folder on destination computers.

  2. Register Ferramentas de Migração do Windows Server on source computers that are running either Windows Server 2008 or Windows Server 2003 by using SmigDeploy.exe. For more information, see Registering Windows Server Migration Tools on source computers.

Create the deployment folder on a computer that is running Windows Server 2008 R2, and on which Ferramentas de Migração do Windows Server already is installed. After you create the deployment folder, copy it to the local drive of a migration source computer that is running either Windows Server 2008 or Windows Server 2003.

  1. If you have not already installed Ferramentas de Migração do Windows Server on the destination server, see Installing Windows Server Migration Tools in this topic.

  2. Open a Command Prompt window with elevated user rights. Para abrir uma janela da linha de comandos, clique em Iniciar, aponte para Todos os programas, clique em Acessórios, clique com o botão direito do rato em Linha de comandos e depois clique em Executar como administrador.

  3. At the command prompt, change to the directory in which the smigdeploy.exe tool is stored. Type the following, and then press Enter.

    cd %Windir%\System32\ServerMigrationTools\
    
  4. Do one of the following to create a Ferramentas de Migração do Windows Server deployment folder.

    • To create a folder to copy to an AMD64 source computer that is running Windows Server 2008, type the following, in which deployment folder path represents the path of the deployment folder on the source computer, and then press Enter.

      SmigDeploy.exe /package /architecture amd64 /os WS08 /path <deployment folder path>
      
    • To create a folder to copy to an AMD64 source computer that is running Windows Server 2003, type the following, in which deployment folder path represents the path of the deployment folder on the source computer, and then press Enter.

      SmigDeploy.exe /package /architecture amd64 /os WS03 /path <deployment folder path>
      
    • To create a folder to copy to an x86 source computer that is running Windows Server 2008, type the following, in which deployment folder path represents the path of the deployment folder on the source computer, and then press Enter.

      SmigDeploy.exe /package /architecture X86 /os WS08 /path <deployment folder path>
      
    • To create a folder to copy to an x86 source computer that is running Windows Server 2003, type the following, in which deployment folder path represents the path of the deployment folder on the source computer, and then press Enter.

      SmigDeploy.exe /package /architecture X86 /os WS03 /path <deployment folder path>
      
noteNota
Each of these commands creates a deployment folder named in the format SMT_<Operating System>_<Architecture> and stores it in the specified deployment folder path.

You can also specify a network path as the path for the deployment folder. Verify that you have access to the network path before you create the deployment folder.

For more information about SmigDeploy.exe, at a command prompt, type SmigDeploy.exe /?, and then press Enter.

Before you can use a technology’s Windows PowerShell snap-in for the first time, it must be registered with Windows PowerShell. You can use SmigDeploy.exe to register the Ferramentas de Migração do Windows Server snap-in on a migration source computer that is running either Windows Server 2008 or Windows Server 2003.

Before you start the procedure in this section, verify the following.

  • Microsoft .NET Framework 2.0 is installed on computers that are running Windows Server 2003.

  • Windows PowerShell 1.0 or a later version is installed on computers that are running either Windows Server 2008 or Windows Server 2003.

  1. Copy the Ferramentas de Migração do Windows Server deployment folder that was created by using the procedure in Creating a deployment folder on destination computers to a local drive on the source computer that is running either Windows Server 2008 or Windows Server 2003. Make sure that the operating system architecture of the deployment folder matches those of the source computer to which you are copying the folder.

    For example, the SMT_WS08_amd64 folder should only be copied to the local drive of an AMD64 source computer that is running Windows Server 2008.

  2. On the source computer, open a Command Prompt window.

    • On computers that are running Windows Server 2003, you do not have to run a Command Prompt window with elevated user rights. Click Start, click Run, type cmd, and then click OK.

    • On computers that are running Windows Server 2008, you must open a Command Prompt window with elevated user rights. To do this, click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.

  3. At the command prompt, change to the directory to which you copied the Ferramentas de Migração do Windows Server deployment folder in step 1.

    noteNota
    You can register and run Ferramentas de Migração do Windows Server cmdlets from a removable drive, CD-ROM, or DVD-ROM. However, to increase the reliability of registering the cmdlets, we recommend that you copy the deployment folder to a local drive of the source computer. You cannot register or run Ferramentas de Migração do Windows Server cmdlets from a network location.

  4. In the deployment folder directory, type the following command to register Ferramentas de Migração do Windows Server cmdlets, and then press Enter.

    .\Smigdeploy.exe
    
noteNota
When registration is complete, a status message is displayed that indicates that the registration completed successfully, and a Windows PowerShell session opens. You can run Ferramentas de Migração do Windows Server cmdlets in this Windows PowerShell session. If you close the Windows PowerShell session, see Windows Server 2003 or Windows Server 2008 source computers for information about how to access and use Ferramentas de Migração do Windows Server cmdlets.

This section describes how to run Ferramentas de Migração do Windows Server cmdlets.

Start Windows PowerShell and run Ferramentas de Migração do Windows Server cmdlets by using any of the following procedures. These can apply to either source or destination servers.

  • To open a Ferramentas de Migração do Windows Server custom Windows PowerShell session, click Start, point to Administrative Tools, open the Windows Server Migration Tools folder, right-click Windows Server Migration Tools, and then click Run as administrator.

  1. 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.

  2. Load Ferramentas de Migração do Windows Server into your Windows PowerShell session. To load Ferramentas de Migração do Windows Server, type the following, and then press Enter.

    Add-PSSnapin Microsoft.Windows.ServerManager.Migration
    

  1. Open Command Prompt with elevated user rights. To do this, click Start, right-click Command Prompt, and then click Run as administrator.

  2. At the command prompt, type the following, and then press Enter.

    powershell.exe -PSConsoleFile %SystemRoot%\system32\ServerMigrationTools\ServerMigration.psc1
    

Start Windows PowerShell and use Ferramentas de Migração do Windows Server cmdlets by using any of the following procedures.

  • At a command prompt on a computer that is running the Server Core installation option of Windows Server 2008 R2, type the following, and then press Enter.

    powershell.exe -PSConsoleFile %SystemRoot%\system32\ServerMigrationTools\ServerMigration.psc1
    

  1. At a command prompt, type the following, and then press Enter.

    powershell
    
  2. Load Ferramentas de Migração do Windows Server into the Windows PowerShell session. To load Ferramentas de Migração do Windows Server, type the following, and then press Enter.

    Add-PSSnapin Microsoft.Windows.ServerManager.Migration
    

If you close the Windows PowerShell session that is opened automatically when the SmigDeploy.exe finishes registering the Ferramentas de Migração do Windows Server cmdlets, you can run Ferramentas de Migração do Windows Server cmdlets by using any of the following procedures.

  • Do one of the following:

    • On computers that are running Windows Server 2003, click Start, point to Administrative Tools, open the Windows Server Migration Tools folder, and then click Windows Server Migration Tools.

    • On computers that are running Windows Server 2008, click Start, point to Administrative Tools, open the Windows Server Migration Tools folder, right-click Windows Server Migration Tools, and then click Run as administrator.

  1. Do one of the following:

    • On computers that are running Windows Server 2003, open a Windows PowerShell session by clicking Start, clicking All Programs, opening the Windows PowerShell folder, and clicking the Windows PowerShell shortcut.

    • On computers that are running Windows Server 2008, open a Windows PowerShell session with elevated user rights. To do this, click Start, click All Programs, open the Windows PowerShell folder, right-click the Windows PowerShell shortcut, and then click Run as administrator.

  2. In the Windows PowerShell session, type the following to load the Ferramentas de Migração do Windows Server snap-in, and then press Enter.

    Add-PSSnapin Microsoft.Windows.ServerManager.Migration
    

  1. Do one of the following.

    • On computers that are running Windows Server 2003, open a Command Prompt window by clicking Start, clicking Run, typing cmd, and then pressing Enter.

    • On computers that are running Windows Server 2008, open a Command Prompt window with elevated user rights. To do this, click Start, click All Programs, click Accessories, right-click the Command Prompt shortcut, and then click Run as administrator.

  2. At the command prompt, change directories to the location of the Ferramentas de Migração do Windows Server deployment folder.

  3. In the deployment directory, type the following to open a Windows PowerShell session with preloaded Ferramentas de Migração do Windows Server cmdlets, and then press Enter.

    Powershell.exe -PSConsoleFile ServerMigration.psc1
    

For more information about Ferramentas de Migração do Windows Server and Windows PowerShell, see the following resources.

  • For detailed, step-by-step information about how to migrate specific roles or data, see the Windows Server Migration Portal on the Windows Server 2008 R2 TechCenter (http://go.microsoft.com/fwlink/?LinkID=128554).

  • In a Windows PowerShell session, type the following, and then press Enter to view detailed information about how to use a specific cmdlet.

    Get-Help <cmdlet_name> -full
    
  • To open Ferramentas de Migração do Windows Server Help, click Start, point to Administrative Tools, click Windows Server Migration Tools, and then click Windows Server Migration Tools Help. This is not available on the Server Core installation option.

  • See the Windows PowerShell page on the Microsoft Web site (http://go.microsoft.com/fwlink/?LinkID=122931).

Follow the procedures in this section to remove Ferramentas de Migração do Windows Server from computers.

Remove Ferramentas de Migração do Windows Server by using the following procedure.

  1. 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.

  2. If you installed Windows Server 2008 R2 Migration Utilities for migrating Hyper-V or Routing and Remote Access Services, type the following, and then press Enter to remove the Migration Utilities package. Otherwise, go on to the next step.

    wusa.exe /uninstall /kb:977336
    
  3. Load the Gestor de servidor snap-in into your Windows PowerShell session. To load the Gestor de servidor snap-in, type the following, and then press Enter.

    Import-Module ServerManager
    
  4. Type the following, and then press Enter.

    Remove-WindowsFeature Migration
    
noteNota
You can also remove Ferramentas de Migração do Windows Server from a full installation of Windows Server 2008 R2 by using the Gestor de servidor console. For more information about how to use the Gestor de servidor console, see Removing Server Roles and Features in the Server Manager Help on the Microsoft Web site (http://go.microsoft.com/fwlink/?LinkId=134107).

Remove Ferramentas de Migração do Windows Server by using the following procedure.

  1. At a command prompt on a computer that is running the Server Core installation option of Windows Server 2008 R2, type the following, and then press Enter.

    powershell
    
  2. If you installed Windows Server 2008 R2 Migration Utilities for migrating Hyper-V or Routing and Remote Access Services, type the following, and then press Enter to remove the Migration Utilities package. Otherwise, go on to the next step.

    wusa.exe /uninstall /kb:977336 /quiet
    
  3. Load the Gestor de servidor module into your Windows PowerShell session. To load the Gestor de servidor module, type the following, and then press Enter.

    Import-Module ServerManager
    
  4. Type the following, and then press Enter.

    Remove-WindowsFeature Migration
    

To remove Ferramentas de Migração do Windows Server, you must first reverse the registration of Ferramentas de Migração do Windows Server cmdlets, and then remove the deployment folder.

  1. Do one of the following.

    • On computers that are running Windows Server 2003, open a Command Prompt window by clicking Start, clicking Run, typing cmd, and then pressing Enter.

    • On computers that are running Windows Server 2008, open a Command Prompt window with elevated user rights. To do this, click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.

  2. At a command prompt, change directories to the location of the Ferramentas de Migração do Windows Server deployment folder.

  3. Type the following to reverse the registration of Ferramentas de Migração do Windows Server cmdlets, and then press Enter.

    SmigDeploy.exe /unregister
    
  4. When SmigDeploy.exe has finished, delete the Ferramentas de Migração do Windows Server deployment folder and its contents.

Considera isto útil?
(1500 caracteres restantes)
Obrigado pelos seus comentários

Conteúdo da Comunidade

Mostrar:
© 2014 Microsoft