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
  • 1 8y62mmvjlr 5uovgoq6zmq
    How to download and install DriveLock on Windows Security | Vulnerability Scans and Assessment
  • cisco catalyst switch 1
    How to Reset a Cisco 3650 Catalyst Switch Network | Monitoring
  • SystemUtilization
    Delivering System Utilization Report on a Linux based OS Linux
  • Slide2 1
    How to deploy WordPress on Azure App Service AWS/Azure/OpenShift
  • Group Policy Error
    How to Fix Failed to open the Group Policy Object on this Computer Windows
  • CI With GitLab 1
    Build Docker Images with GitLab CI Automation
  • 5rgh65436
    New Windows 11 encryption features and security enhancements for Hybrid Work Security | Vulnerability Scans and Assessment
  • sdfg
    How to Upgrade Windows Admin Center Manually Windows Server

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

  • banner 1
    How to Hide or Block Wi-Fi Networks on Windows Network | Monitoring
  • Clone a Virtual Machine via Export and Import
    Clone a VM via Export and Import: Copy Virtual Hard Disk on Hyper-V Virtualization
  • Reset folder view settings on File Explorer for Windows 11 and 10
    Reset folder view settings on File Explorer for Windows 11 and 10 Windows
  • Actualidad 211741393 129861581 1050x760
    Edge GPO settings: All Group Policies available to configure Microsoft Edge Settings Windows Server
  • troubleshooting Active Directory Replication
    How to troubleshoot Active Directory Replication issues Network | Monitoring
  • ClearTPM
    Clear TPM via Management Console or Windows Defender Center App Windows

More Related Articles

banner 1 How to Hide or Block Wi-Fi Networks on Windows Network | Monitoring
Clone a Virtual Machine via Export and Import Clone a VM via Export and Import: Copy Virtual Hard Disk on Hyper-V Virtualization
Reset folder view settings on File Explorer for Windows 11 and 10 Reset folder view settings on File Explorer for Windows 11 and 10 Windows
Actualidad 211741393 129861581 1050x760 Edge GPO settings: All Group Policies available to configure Microsoft Edge Settings Windows Server
troubleshooting Active Directory Replication How to troubleshoot Active Directory Replication issues Network | Monitoring
ClearTPM Clear TPM via Management Console or Windows Defender Center App 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

  • 1 8y62mmvjlr 5uovgoq6zmq
    How to download and install DriveLock on Windows Security | Vulnerability Scans and Assessment
  • cisco catalyst switch 1
    How to Reset a Cisco 3650 Catalyst Switch Network | Monitoring
  • SystemUtilization
    Delivering System Utilization Report on a Linux based OS Linux
  • Slide2 1
    How to deploy WordPress on Azure App Service AWS/Azure/OpenShift
  • Group Policy Error
    How to Fix Failed to open the Group Policy Object on this Computer Windows
  • CI With GitLab 1
    Build Docker Images with GitLab CI Automation
  • 5rgh65436
    New Windows 11 encryption features and security enhancements for Hybrid Work Security | Vulnerability Scans and Assessment
  • sdfg
    How to Upgrade Windows Admin Center Manually 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,825 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.