Migrate Servers - Paiet/Tech-Journal-for-Everything GitHub Wiki

Migrate Roles and Features to Windows Server https://docs.microsoft.com/en-us/windows-server/get-started/migrate-roles-and-features Migrate Roles and Features to Windows Server https://docs.microsoft.com/en-us/windows-server/get-started/migrate-roles-and-features

  • Why? Not all situations are ideal for upgrades.

    • Between versions such as if pre server 2012
    • Between platforms such as x86 to x64
    • Between editions such as downgrading Datacenter to Standard
    • Between physical and virtual machines
    • Between 2012 and 2012R2 core to GUI and GUI to core Note:
      • Language migrations not supported.
      • Server 2008 core not supported because lack of .netframework
  • Role Migration uses UDP & TCP port 7000, firewall settings may conflict.

  • What are the benefits?

    • Reduced risk by automating
    • migrate roles faster
    • simplifies which assists in delegation
  • Why? Not all situations are ideal for upgrades.

    • Between versions such as if pre server 2012
    • Between platforms such as x86 to x64
    • Between editions such as downgrading Datacenter to Standard
    • Between physical and virtual machines
    • Between 2012 and 2012R2 core to GUI and GUI to core Note:
      • Language migrations not supported.
      • Server 2008 core not supported because lack of .netframework
  • Role Migration uses UDP & TCP port 7000, firewall settings may conflict.

  • What are the benefits?

    • Reduced risk by automating
    • migrate roles faster
    • simplifies which assists in delegation

Migrate Servers Pt 2

  • Before using the migration tools they must be installed on the DESTINATION server and also installing the appropriate version on the source server!!!
  • Add roles and features wizard
    • Windows Server Migration Tools
  • PowerShell
    • Install-WindowsFeature Migration
  • Next, you must create a distribution folder
    • Launch Admin CMD
    • navigate to the directoryC:\Windows\System32\ServerMigrationTools
    • Run: SmigDeploy.exe /package /architecture amd64 /os WS12R2 /path c:\temp
    • SmigDeploy will then create a new folder in the specified path
    • Copy that folder to source server
    • Register Smigdeploy.exe

Now you can use any of the following commands below: Export-SmigServerSettings Exports certain Windows features and operating system settings to a migration store. Get-SmigServerFeature Displays a list of Windows features that can be migrated from the local server or from a migration store. Import-SmigServerSetting Imports certain Windows features and operating system settings from a migration store and applies them to the local server. Recieve-SmigServerData Enables a destination server to receive migrated files, folders, permissions and share properties from a source server. Send-SmigServerData Migrate files, folders, permissions, and share properties from a source server to a destination server.