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

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

  • Featured image widgets
    How to use the Widgets feature on Windows 11 Windows
  • image 77
    How to use the DigiCert certificate utility for Windows to create a CSR Windows
  • maxresdefault
    Error 0x8007232B: Can’t activate Windows on this device as we can’t connect to your organization’s activation server Windows
  • Windows Admin Center v2   2401 install   2306 to 2311 upgrade
    Upgrade Windows Admin Center 2306 – 2311: Install WACmg 2410 Network | Monitoring
  • EC2
    How to Add and Format a New Virtual Disk to an EC2 Instance AWS/Azure/OpenShift
  • configure kerberos
    Configure Kerberos Delegation in Windows Windows

More Related Articles

Featured image widgets How to use the Widgets feature on Windows 11 Windows
image 77 How to use the DigiCert certificate utility for Windows to create a CSR Windows
maxresdefault Error 0x8007232B: Can’t activate Windows on this device as we can’t connect to your organization’s activation server Windows
Windows Admin Center v2   2401 install   2306 to 2311 upgrade Upgrade Windows Admin Center 2306 – 2311: Install WACmg 2410 Network | Monitoring
EC2 How to Add and Format a New Virtual Disk to an EC2 Instance AWS/Azure/OpenShift
configure kerberos Configure Kerberos Delegation in Windows 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

Veeam Vanguard

  • How to disable web console in Cisco switches Network | Monitoring
  • How to Convert a Distribution Group to a Security Group
    How to convert distribution group to security group Windows Server
  • windows 10 creators
    Various methods on how to launch Windows Task Manager Windows
  • vmca course
    Veeam Certified Architect: VMCA Training & Certification Review Backup
  • Convert OST to PST
    How to install and work with Stellar Converter for OST Reviews
  • Microsoft365
    Microsoft 365 Backup: Why is it imperative to protect M365? Backup
  • images
    Fix the Synchronization service scheduler is suspended AWS/Azure/OpenShift
  • Configure Data Deduplication on Windows Server
    Video on how to Configure Data Deduplication on Windows Server Windows Server

Subscribe to Blog via Email

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

Join 1,821 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

Active Directory 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.