Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Windows » Migrate Roles and Features to Windows Server 2022 using WSMT
  • DevOps
    Create an App Service Plan with Continuous Deployment to deploy a .NET Application from GitHub AWS/Azure/OpenShift
  • fxcgbnm
    How to export and import Windows Start layout Windows
  • unzip mac 994x400 1
    How to set a default app to archive files on macOS Mac
  • Featured Image 1
    How to enable or disable a Remote WMI Connection in Windows Windows
  • add subheading 5 4
    Access EC2 Linux Instance via the Password AWS/Azure/OpenShift
  • powerpoint 1280x720 1
    How to change the speller and proofing language in PowerPoint Microsoft Exchange/Office/365
  • MicrosoftOneDrive32
    Microsoft OneDrive Setup: Files On-Demand & Key Features Backup
  • EnableDisableTPMAutoProv
    Waiting for TPM Auto Provisioning: How to Enable or Disable TPM Auto-provisioning Windows

Migrate Roles and Features to Windows Server 2022 using WSMT

Posted on 27/03/202211/09/2024 Imoh Etuk By Imoh Etuk No Comments on Migrate Roles and Features to Windows Server 2022 using WSMT
How to Migrate Roles and Features to Windows Server 2022 using WSMT
         Migration with Windows Server Migration Tools

In this article, we shall learn how to Migrate Roles and Features to Windows Server 2022 using WSMT. Since the introduction of Windows Server 2003, administrators have had the option to migrate roles and features to newer Windows Server versions using the Windows Server Migration Tools (WSMT). Please see Network File System: How to install NFS Server on Windows Server and how to install and Configure Hyper-V on Windows Server on Windows Server 2019, and 2022 via the Server Manager, PowerShell or DISM.

Despite not receiving recent updates from Microsoft, WSMT remains a viable choice for migrating Windows Server, even though there are alternative methods available based on the specific role being transferred. Please see “How to migrate WDS and MDT to a new Windows Server“.

For instance, Windows Server 2019 brought about the Storage Migration Service for file servers. When it comes to updating domain controllers, administrators often opt to install a new server, allowing for the replication of the Active Directory database and SYSVOL. However, it’s important to note that using WSMT may exhibit some bugs when employed with Server 2022.

However migrating windows server using WSMT remains valuable for tasks like transferring roles like DHCP, along with local settings including users and groups.

These guides may be of interest to you: What is ADK, MDT, Microsoft Endpoint Configuration Manager (SCCM), Intune, Autopilot, and WSUS, how to Import a user profile in Windows to another PC, and How to Transfer User Profile to another User in Windows.

Installing and Running WSMT

Install the Windows Server Migration Tools on the destination server using the Server Manager GUI. Installing the tools with PowerShell is also possible, as shown below:

Install-WindowsFeature Migration –ComputerName <computer_name>
Windows Server Migration Tool Installation
WSMT Feature

After installing the WSMT on the destination server, the workflow allows you to deploy these tools to the source server. In this case, I’m using a UNC path, which is supported.

Deploy Windows Server Migration Tool
Deploy the server migration tools from the destination server to the source server using the UNC path
After executing the above command, the SMT_ws16_amd64 directory is automatically created on the source server.

How to Transfer Windows License from one PC to the other on Windows, How to transfer data from an old PC to a new PC, and How to transfer data from an old PC to a new PC.

Frequent Mistakes in Migrating Windows Server Using WSMT

Migrating a windows server using WSMT can often display a number of buggy behaviors during testing on newer servers.

After you’ve deployed the tools to the source server, you should run the SmigDeploy.exe command to automatically register the PowerShell cmdlets. Several errors might occur during this process. Such errors include:

  • .NET errors indicate that.NET was not installed, even when it was.
  • When registering the cmdlets, PowerShell crashes.
  • Errors relating to access denied and memory corruption

Navigate using PS C:\SMIG\SMT_ws16_amd64>dir path to the SmigDeploy.exe file directory published to the source server from the destination server, you will be able to see the contents of the SmigDeploy.exe file. Running this file registers the PowerShell cmdlets on the source server.

Please see how to Deploy MVC Application to AWS EC2 Using RDP Connection and Web Deploy, and Migrate Veeam MSSQL Database to a new MSSQL Server.

Workarounds for the WSMT Bugs

The solution is to simply install WSMT on the source server instead of using the published WSMT from the destination server. After installing the Windows feature on the source server, you will need to manually register the snap-in using the following cmdlet:

Add-PSSnapin Microsoft.Windows.ServerManager.Migration

Then, you can run the Export-SmigServerSetting cmdlet to export roles and features. The export cmdlet below will do this for you:

Export-SmigServerSetting -featureID <your FeatureID> -User All -Group -path c:\SMIG -Verbose

Once the feature ID is exported, you can then import the features on the destination server using the import cmdlet.

Import-SmigServerSetting -FeatureID <your FeatureID> -Path <path to the source export> -Verbose

In summary, for several years, Microsoft has not enhanced the WSMT. As a result, you’ll almost certainly run into some frustrating bugs while using them with Windows Server 2022.

Nonetheless, they’re still valuable in situations where you don’t have access to newer tools or if an in-place update isn’t possible.

I hope you found this guide useful on how to Migrate Roles and Features to Windows Server 2022 using WSMT. Please feel free to leave a comment below.

5/5 - (1 vote)

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Pocket (Opens in new window) Pocket
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
Windows, Windows Server Tags:PowerShell

Post navigation

Previous Post: How to install PostgreSQL on Ubuntu
Next Post: How to redirect requests for your bucket’s website endpoint to another bucket or domain

Related Posts

  • Add or remove features   fix dotnet framework issues
    Fix the request to add or remove features on the specified server failed Windows
  • Error 1069 Windows could not start
    Fix Error 1069: Windows could not start the Veeam backup service on local computer Backup
  • How to Disable UAC with Group Policy and enable PIN in Windows Hello
    How to Disable UAC with Group Policy and enable PIN in Windows Hello Windows
  • images 1
    How to reset and reinstall Windows 10 locally Windows
  • 1 kajkbmlyehn0inifwrh 8w
    How to install Kerberos packages with Cygwin on Windows Windows Server
  • Featured image Unblock Microsoft Store
    How to Unblock Microsoft Store on Windows 11 Windows

More Related Articles

Add or remove features   fix dotnet framework issues Fix the request to add or remove features on the specified server failed Windows
Error 1069 Windows could not start Fix Error 1069: Windows could not start the Veeam backup service on local computer Backup
How to Disable UAC with Group Policy and enable PIN in Windows Hello How to Disable UAC with Group Policy and enable PIN in Windows Hello Windows
images 1 How to reset and reinstall Windows 10 locally Windows
1 kajkbmlyehn0inifwrh 8w How to install Kerberos packages with Cygwin on Windows Windows Server
Featured image Unblock Microsoft Store How to Unblock Microsoft Store on Windows 11 Windows

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • DevOps
    Create an App Service Plan with Continuous Deployment to deploy a .NET Application from GitHub AWS/Azure/OpenShift
  • fxcgbnm
    How to export and import Windows Start layout Windows
  • unzip mac 994x400 1
    How to set a default app to archive files on macOS Mac
  • Featured Image 1
    How to enable or disable a Remote WMI Connection in Windows Windows
  • add subheading 5 4
    Access EC2 Linux Instance via the Password AWS/Azure/OpenShift
  • powerpoint 1280x720 1
    How to change the speller and proofing language in PowerPoint Microsoft Exchange/Office/365
  • MicrosoftOneDrive32
    Microsoft OneDrive Setup: Files On-Demand & Key Features Backup
  • EnableDisableTPMAutoProv
    Waiting for TPM Auto Provisioning: How to Enable or Disable TPM Auto-provisioning Windows

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,832 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.