Windows Server migration: upgrades and Storage Migration Service
-
Phase 0: Before you start
-
Phase 1: The foundation
-
Phase 2: Core administration and security
-
Phase 3: Enterprise infrastructure
-
Phase 4: Troubleshooting step by step
-
Phase 5: Final project and career
Every server you build gets replaced one day. A good Windows Server migration moves the roles, data and settings onto a newer version with a short outage that everyone knew about in advance, and it leaves you a way back if something goes wrong.
You’ll work out when to upgrade in place and when to migrate, and write a readiness check for in-place upgrades. Then you’ll move a file share with Storage Migration Service, keeping its permissions, and confirm that SYSVOL is already on DFS Replication.
| Time | You need | By the end you can |
|---|---|---|
| About 90 minutes | DC01, SRV01 (with Windows Admin Center from Lesson 40) and NODE1 from Lesson 36 | Choose between in-place upgrade and migration, check upgrade readiness, migrate shares with Storage Migration Service, verify SYSVOL replication, and plan cutover and rollback |
What it is, in one line
A Windows Server migration means moving a server’s roles, data and identity onto a new or upgraded server, either by upgrading the operating system where it sits or by building a fresh server and moving everything across.
In Simple Words
Renovating or moving house
When your house gets old, you can either renovate it while you’re still living there or build a new one and move. Renovating is quicker if the house is sound, but moving lets you fix the foundations, change the layout and throw out years of clutter. An in-place upgrade is the renovation: same server, newer Windows. A migration is the move, where you build a new server and carry over the shares, the settings and even the old house’s address so the post still turns up. Either way, you photograph everything before you start in case you have to put it all back, and that’s your backup and rollback plan.
Engineer's View
Upgrade rules, migration tools, cutover
In-place upgrade to Server 2025: a non-clustered server can jump up to four versions in one go, straight from 2012 R2, 2016, 2019 or 2022. The edition stays the same (you may go from Standard to Datacenter, never the other way), you can’t switch between Core and Desktop Experience, the language and architecture have to match, NIC teaming has to be turned off first, and you can’t upgrade to an evaluation copy. Clusters use a rolling upgrade, one version at a time.
Migration tools: Storage Migration Service (SMS) inventories file servers, moves their shares, data, permissions and settings to a new server, and can cut over by handing the old server’s name and IP addresses to the new one. For DCs you add new DCs and demote the old ones (Lesson 35). Other roles have their own export and import (Export-DhcpServer for DHCP, print migration, IIS deployment), or you rebuild them.
SYSVOL: very old domains replicated SYSVOL with FRS, which hasn’t been supported since Server 2019, and dfsrmig moves it over to DFS Replication. Any domain created on 2008 or later is already on DFSR.
Plan: take an inventory, check compatibility (apps, agents, drivers), make backups and snapshots, do a test run, agree a cutover window and the checks that prove success, and set a point where you decide whether to roll back.
How it works, step by step
Here’s how Storage Migration Service moves a file server:
Inventory and transfer can run in the middle of the working day while users carry on, and you can run the transfer again to copy only what’s changed. The cutover is the one part that needs a short outage, because that’s when the old server’s identity moves to the new one.
Should you upgrade or migrate? Here’s a quick guide:
- Readiness check for in-place upgrades with a small PowerShell function.
- SMS on NODE1 as orchestrator and destination.
- Inventory SRV01 and transfer the Partner share to NODE1, keeping permissions.
- Verify data and ACLs on NODE1 (no cutover in the lab).
- SYSVOL state with dfsrmig.
Hands-on lab: check readiness and migrate a share
Before you run any command, double-check it
Read every command twice before you press Enter. Check the target: the system or account, the IDs, the names and the sizes. These commands are for learning and were tested in our lab, not on your system. At work, run the read-only list commands first, follow your change process, make sure a backup exists, and ask a second person to check anything that changes or deletes data. You run them at your own risk.
Start DC01, SRV01, NODE1 and CL01, and take a snapshot of NODE1 called “Before SMS”. Work as SAATLAB\adm.rahul in PowerShell as administrator.
1Write an in-place upgrade readiness check
On SRV01, create this function and run it (it’ll work on any server you’re planning to upgrade):
function Test-UpgradeReady {
$os = Get-CimInstance Win32_OperatingSystem
$cv = Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion'
$c = Get-CimInstance Win32_LogicalDisk -Filter "DeviceID='C:'"
$team = @(Get-NetLbfoTeam -ErrorAction SilentlyContinue).Count
$build = [int]$cv.CurrentBuild
[pscustomobject]@{
Computer = $env:COMPUTERNAME
Caption = $os.Caption
Build = $build
DirectTo2025 = ($build -ge 9600)
InstallType = $cv.InstallationType
Evaluation = ($os.Caption -like '*Evaluation*')
CFreeGB = [math]::Round($c.FreeSpace / 1GB, 1)
EnoughSpace = ($c.FreeSpace -gt 32GB)
NicTeams = $team
IsDC = ((Get-CimInstance Win32_ComputerSystem).DomainRole -ge 4)
}
}
Test-UpgradeReadyYou should see something like this on SRV01:
Computer : SRV01
Caption : Microsoft Windows Server 2025 Datacenter Evaluation
Build : 26100
DirectTo2025 : True
InstallType : Server
Evaluation : True
CFreeGB : 37.4
EnoughSpace : True
NicTeams : 0
IsDC : FalseBuild 9600 is Server 2012 R2, the oldest version that can upgrade straight to 2025. The other fields follow the rules: keep the same InstallType (Core stays Core), turn off NIC teams, leave space for setup, and handle DCs differently (most teams add a new DC instead of upgrading one). Run it across all your servers with Invoke-Command to build your upgrade list.
✅ Checkpoint: Test-UpgradeReady returns a readiness object for SRV01.

2Install Storage Migration Service on NODE1
From DC01:
Invoke-Command -ComputerName NODE1 -ScriptBlock {
Install-WindowsFeature SMS, SMS-Proxy | Select-Object Success, RestartNeeded
}You should see something like this:
Success RestartNeeded
------- -------------
True NoSMS is the orchestrator that runs the jobs, and SMS-Proxy speeds up transfers on the destination. Here NODE1 does both jobs, but in real projects the orchestrator is often a separate management server.
✅ Checkpoint: SMS and SMS-Proxy are installed on NODE1.
3Inventory SRV01 in Windows Admin Center
On CL01, open Windows Admin Center (https://srv01.saatlab.internal:6516), connect to NODE1 and open the Storage Migration Service tool. Pick New job, call it SRV01-Partner and set the source type to Windows servers and clusters.
Type in the SAATLAB\adm.rahul credentials, add SRV01 as the source device and start the scan. Once it’s done, SRV01’s shares show up with their sizes and paths, Departments, Home$ and Partner among them.
[Add your screenshot here: SMS inventory of SRV01 shares]
✅ Checkpoint: The inventory lists SRV01’s shares with their paths and sizes.
4Transfer the Partner share to NODE1
In the job, click Next to get to Transfer data. Enter credentials, pick NODE1 as the destination, and map volume D: on SRV01 to volume C: on NODE1 (SMS maps whole volumes and keeps the folder paths, so the share ends up in C:\Shares\Partner). Include only the Partner share, leave Retain the existing permissions switched on, run Validate and then Start transfer.
When it’s finished, check from DC01:
Invoke-Command -ComputerName NODE1 -ScriptBlock {
Get-SmbShare -Name Partner | Select-Object Name, Path
Get-ChildItem C:\Shares\Partner | Select-Object Name
icacls C:\Shares\Partner
}You should see something like this:
Name Path
---- ----
Partner C:\Shares\Partner
Name
----
schedule.txt
C:\Shares\Partner NT AUTHORITY\SYSTEM:(OI)(CI)(F)
BUILTIN\Administrators:(OI)(CI)(F)
PARTNER\GG_Partners:(OI)(CI)(M)
Successfully processed 1 files; Failed processing 0 filesThe share arrived along with the file Anil wrote in Lesson 33 and its permissions, partner forest group included. In a real project you’d run the transfer once more just before the window to pick up recent changes and then run the Cut over step, which renames SRV01, gives NODE1 its name and IP and updates AD and DNS. Don’t cut over in the lab, because SRV01 has to keep its identity.
✅ Checkpoint: NODE1 has a Partner share with schedule.txt and the same permissions as on SRV01.
5Confirm SYSVOL uses DFS Replication
On DC01:
dfsrmig /getglobalstate
Get-SmbShare -Name SYSVOL | Select-Object Name, PathYou should see something like this:
Current DFSR global state: 'Eliminated'
Succeeded.
Name Path
---- ----
SYSVOL C:\Windows\SYSVOL\sysvol“Eliminated” means FRS has been removed completely and SYSVOL runs on DFS Replication, which is what you’d expect for a domain built on Server 2025. In an old domain you’d see “Start” or no state at all, and you’d step through the dfsrmig states Prepared, Redirected and Eliminated before adding any new DCs.
✅ Checkpoint: dfsrmig reports the global state Eliminated.
Break It, Then Fix It
Migrations hardly ever fail on the big steps. They fail on the small blockers nobody checked, and here are two of them.
1Break it: the destination blocks the file sharing ports
From DC01, turn off the File and Printer Sharing rules on NODE1:
Invoke-Command -ComputerName NODE1 -ScriptBlock { Disable-NetFirewallRule -DisplayGroup 'File and Printer Sharing' }In Windows Admin Center, make a second SMS job for the Departments share and run Validate at the transfer step.
You’ll see a validation result like this:
Destination proxy registration Pass
Destination SMB connectivity Fail Couldn't connect to the destination device over SMB.
Make sure File and Printer Sharing (SMB-In) is allowed.
Source credentials have administrator PassStorage Migration Service copies data over SMB and talks to the machines over WMI and Netlogon, so those firewall rules have to be open on the source, the destination and the orchestrator. Validation catches the problem before a single file moves, and that’s the reason you always run it.
To fix it, turn the rules back on and validate again:
Invoke-Command -ComputerName NODE1 -ScriptBlock { Enable-NetFirewallRule -DisplayGroup 'File and Printer Sharing' }✅ Checkpoint: Validation failed on SMB connectivity while the rules were off and passes after re-enabling them.

2Break it: not enough space to upgrade
On SRV01, fill up C: with a large file and then run the readiness check:
fsutil file createnew C:\Temp\filler.bin 10737418240
Test-UpgradeReady | Select-Object Computer, CFreeGB, EnoughSpaceYou’ll see something like this:
Computer CFreeGB EnoughSpace
-------- ------- -----------
SRV01 27.4 FalseSetup needs room for the new Windows image, the old one (Windows.old) and its temporary files. If you start an upgrade on a nearly full disk it can fail halfway through and roll back, and your maintenance window is gone.
To fix it, remove the clutter and clean up old component versions:
Remove-Item C:\Temp\filler.bin
Dism.exe /Online /Cleanup-Image /StartComponentCleanup
Test-UpgradeReady | Select-Object Computer, CFreeGB, EnoughSpaceYou should see something like this:
Computer CFreeGB EnoughSpace
-------- ------- -----------
SRV01 38.1 True✅ Checkpoint: EnoughSpace was False with the filler file and True after removing it and cleaning up components.
This happened at work
The new file server that kept the name but not the address
One team migrated an old file server with Storage Migration Service, and the inventory and transfer went without a hitch. At cutover the new server took over the old one’s name, but they decided to keep the new server’s own IP address “to keep things clean”. People who mapped drives by name were fine. A payroll application, three scanners and a nightly ETL job, though, all pointed at the old server’s IP address, and on Monday every one of them failed, while the old server, renamed but still on the network, sat there quietly receiving the scanned invoices.
That same day the team added the old IP to the new server as a second address, and then spent the rest of the week tracking down and fixing every hard-coded IP.
The fix: cutovers now move the old IP addresses as well, and before any migration the inventory includes a week of SMB connection logs showing who connects, from where, and whether by name or IP.
The lesson: a server’s identity is its name and its addresses, so find everything that uses either one before you switch over.
Common mistakes and troubleshooting
| Mistake or symptom | What happens | What to do instead |
|---|---|---|
| Upgrading more versions than supported | Setup blocks or fails | Check the upgrade path (2012 R2 and later for 2025) |
| Trying to switch Core to Desktop during upgrade | Not supported | Keep the installation type or migrate instead |
| NIC teaming left on | Upgrade problems with networking | Disable NIC teaming before upgrading |
| Not enough disk space | Upgrade fails and rolls back | Check free space; clean components first |
| Skipping SMS validation | Transfers fail halfway | Validate and fix firewall and credentials first |
| Cutover without moving IP addresses | Apps and devices using IPs break | Move old IPs or fix every hard-coded IP first |
| No backup or snapshot before upgrade | No way back | Back up and plan a rollback decision point |
| Upgrading DCs in place without care | Risky for AD | Add new DCs and demote old ones |
| Unknown dependencies | Surprises after cutover | Inventory connections, scheduled tasks, services and apps |
Interview questions
Click a question to open it. Each one is worded the way an interviewer would ask it, and underneath you’ll find why they ask it and one way you could answer in your own words.
Fresher level
1. What’s the difference between an in-place upgrade and a migration?
Why they ask this: They want to check you know the two basic ways of moving to a newer Windows Server.
How you might answer: An in-place upgrade installs the newer Windows over the existing server and keeps its roles and data, while a migration means building a new server and moving the roles and data onto it. The upgrade is quicker, but a migration gives me a clean server and an easy way back.
2. Someone asks if their old server can go straight to Windows Server 2025. Which versions can upgrade directly?
Why they ask this: They’re checking that you know the current upgrade paths and where they stop.
How you might answer: Non-clustered servers on 2012 R2, 2016, 2019 or 2022 can go straight to 2025, which is up to four versions in one jump. Anything older, or a clustered server, needs a different path.
3. You’re about to upgrade a server tonight. What do you always do before you start?
Why they ask this: They want to see you plan for things going wrong as well as for success.
How you might answer: I take a backup, plus a snapshot if it’s a VM, and I check that the apps and agents on it support the new version. I also agree a rollback plan and a time slot with the owners, so everyone knows what happens if it goes wrong.
2–5 years experience
4. What does Storage Migration Service do, and why is it useful for file servers?
Why they ask this: They want to know you understand the tool and the awkward parts it handles for you.
How you might answer: It inventories the old file server and then transfers the shares, data, permissions and local users to the new one. The best part is the cutover, because it can move the old server’s name and IP addresses to the new server, so users and mapped drives carry on working.
5. When would you choose a migration over an in-place upgrade?
Why they ask this: They want to see you weigh the options and explain why you chose one.
How you might answer: I’d migrate when the hardware is old, when the OS is too old to upgrade directly, or when we want to switch between Server Core and Desktop Experience. It’s also the better choice when a server has piled up years of changes I’d like to clean out, or when I want the lower risk of a side-by-side approach.
6. Before adding new domain controllers, how would you check whether SYSVOL still replicates with FRS?
Why they ask this: They want to know you’re aware of the legacy issues that can block a DC upgrade.
How you might answer: I’d run dfsrmig /getglobalstate, and if it says Eliminated, SYSVOL is already on DFSR. If it doesn’t, I’d migrate through the Prepared, Redirected and Eliminated states before adding any newer DCs.
Senior level
7. Say you’re asked to move 30 file servers to Windows Server 2025. How would you plan it?
Why they ask this: They want to see you think at scale, in waves, with pilots and rollback plans.
How you might answer: I’d start by inventorying everything with Storage Migration Service and connection logs, and group the servers by business owner. Then I’d pilot with one server and do staged transfers with delta syncs. Cutovers would happen in agreed time slots and move both names and IPs, with DFS namespaces in front wherever I can, and each wave would get its own monitoring and rollback plan.
8. How would you upgrade a Hyper-V cluster to Server 2025 without taking the VMs down?
Why they ask this: They’re checking that you understand the cluster OS rolling upgrade and the last steps people tend to forget.
How you might answer: I’d do a cluster OS rolling upgrade, one version at a time: drain and evict a node, clean install the new version, add it back and repeat for each node. Once every node is done, I update the cluster functional level and then the VM configuration versions.
9. Before an upgrade, the app owner asks how you’ll check their application still works. What would you look at?
Why they ask this: They want to see that you look past Windows itself, at agents, drivers and authentication.
How you might answer: I’d read the vendor’s support statement and check every agent on the server, like backup, antivirus and monitoring, along with drivers, .NET and runtime versions and any features that have been removed. Authentication changes matter too, such as LDAP signing and RC4, and then I’d do a test run in a lab before touching the real server.
Quick quiz
Q1. What is the oldest version that upgrades directly to Server 2025?
- Server 2012
- Server 2012 R2
- Server 2016
Show answer
B — Up to four versions at once.
Q2. Can you switch from Server Core to Desktop Experience during an upgrade?
- Yes
- No
- Only on Datacenter
Show answer
B — Keep the installation type or migrate.
Q3. Why did SMS validation fail in Break It step 1?
- Wrong share
- File and Printer Sharing was blocked on NODE1
- Not enough RAM
Show answer
B — SMS copies over SMB.
Q4. What does dfsrmig state “Eliminated” mean?
- SYSVOL is broken
- FRS is gone and SYSVOL uses DFSR
- DFS is disabled
Show answer
B — Expected for modern domains.
Q5. In the work story, what broke after cutover?
- User drive mappings
- Apps and scanners using the old IP address
- Group Policy
Show answer
B — Move the IP addresses too.
Quick recap
- A Windows Server migration is either an in-place upgrade or a move to a new server.
- Server 2025 upgrades directly from 2012 R2 and later, and you keep the edition family and the installation type.
- Check readiness (build, space, NIC teaming, DC role) and take a backup first.
- Storage Migration Service inventories, transfers (with permissions) and cuts over file servers.
- Move names and IP addresses at cutover.
- Confirm SYSVOL uses DFSR with
dfsrmig /getglobalstate.
Next lesson
Lesson 42: The diagnostic workflow → Next you’ll learn a step-by-step way to troubleshoot (define, scope, what changed, test, fix, verify), try it on three broken lab scenarios and write a short incident report.
Further reading: Windows Server migration
Want to go deeper into Windows Server migration? Microsoft’s upgrade overview lists every supported path, and the Storage Migration Service overview explains inventory, transfer and cutover. You can also see the full plan for this course on the Windows Server Administration course page.
