I'm looking for advice on migrating a file server from Windows Server 2016 to Windows Server 2022. The server is running as a virtual machine, and it has a separate data disk from the operating system. I've heard varied opinions on the best approach: some suggest simply detaching the data disk and attaching it to the new server, while others recommend using methods like Storage Migration Service or Robocopy. What methods have worked best for you? Any recommendations?
5 Answers
Best method I've found involves exporting share details via the registry, detaching the disk, and reattaching it to a new VM after making sure it’s all set up. Downtime can be minimal, just a few minutes if you time it right.
I love that approach—fast and effective, and you really minimize downtime.
In-place upgrade is an option too! If it’s mainly for hosting SMB shares, it shouldn’t give you much trouble—just be prepared for a 30-minute downtime.
Honestly, just a few minutes of prep, and it’s usually a breeze. I’ve done many upgrades without hiccups!
I’ve tried both Robocopy and the detach/reattach method, and honestly, both worked without any issues. Just make sure you have a complete and tested backup before starting.
Haha, Mr. Moneybags over here with backups! Seriously though, it’s crucial.
Totally agree, having the OS on C: and data on a separate D: drive saved me so much hassle during upgrades!
Has anyone here mentioned DFS? That’s actually the easiest approach. With DFS, you can sync data for a month then just disconnect. It's seamless!
You're right, DFS makes the whole process smoother. Plus with the newer improvements, it works like a charm.
Assuming your DFS setup is solid, it’s the way to go for sure!
I'm an old school fan of Robocopy myself. Quick and effective, I've used it countless times for migrations without downtime.

That sounds efficient! I've actually done something similar, and it's always worked well for me.