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
  • tmutil localsnapshot
    Fix what is taking up my Mac Storage? Delete Snapshots Network | Monitoring
  • Implement Azure Bicep
    How to Deploy Azure Resources Using Azure Bicep Automation
  • screenshot 2020 04 27 at 13.30.17
    What are the differences between a Role and a Feature Windows Server
  • What Happens if You Turn Off Your Computer During windows update
    What Happens if You Turn Off Your Computer During an Update Windows
  • Feature image msert tool
    How to remove malware using Microsoft Safety Scanner on Windows 10 and 11 Security | Vulnerability Scans and Assessment
  • regreg
    How to configure screen saver timeout in Windows Windows
  • Windows Admin Center Apply Update
    How to Apply and Enable Automatic Windows Admin Center Update Windows
  • dfggg
    SimpleSAMLphp Setup on Windows Server [Part 1] 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.

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to 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

  • dasfdg
    Unable to execute: The application GUID not found in the application list Windows Server
  • windows 1 2
    How does Dynamic Host Configuration Protocol work Windows Server
  • SA
    How to Create Service Accounts, Organisation Units and Active Directory Security Groups Windows Server
  • 0318 4
    Active Directory Authentication methods: How do Kerberos and NTLM work Windows Server
  • KIOSK AssignedAccess
    Windows Single or Multi App Kiosks Windows
  • Windows 10 Upgrade 1 1
    Perform an in-place upgrade from Windows Server 2016 to Windows Server 2019 Windows Server

More Related Articles

dasfdg Unable to execute: The application GUID not found in the application list Windows Server
windows 1 2 How does Dynamic Host Configuration Protocol work Windows Server
SA How to Create Service Accounts, Organisation Units and Active Directory Security Groups Windows Server
0318 4 Active Directory Authentication methods: How do Kerberos and NTLM work Windows Server
KIOSK AssignedAccess Windows Single or Multi App Kiosks Windows
Windows 10 Upgrade 1 1 Perform an in-place upgrade from Windows Server 2016 to Windows Server 2019 Windows Server

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

  • tmutil localsnapshot
    Fix what is taking up my Mac Storage? Delete Snapshots Network | Monitoring
  • Implement Azure Bicep
    How to Deploy Azure Resources Using Azure Bicep Automation
  • screenshot 2020 04 27 at 13.30.17
    What are the differences between a Role and a Feature Windows Server
  • What Happens if You Turn Off Your Computer During windows update
    What Happens if You Turn Off Your Computer During an Update Windows
  • Feature image msert tool
    How to remove malware using Microsoft Safety Scanner on Windows 10 and 11 Security | Vulnerability Scans and Assessment
  • regreg
    How to configure screen saver timeout in Windows Windows
  • Windows Admin Center Apply Update
    How to Apply and Enable Automatic Windows Admin Center Update Windows
  • dfggg
    SimpleSAMLphp Setup on Windows Server [Part 1] 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,841 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.