How to migrate file server from 2008 to 2022

I need to move/upgrade our file server.  Currently on 2012 (non R2).  Just want to make sure this is still the best/easiest way since it was posted several years ago. Need to keep share/permissions in tact. 

Can I just.....

-Build new vm

-shutdown old vm

-move virtual disks/attach to new vm

-rename server to old server name/ip. 

Thanks

Read these next...

  • How to migrate file server from 2008 to 2022

    Snap! -- Traps, Scams, CAPSTONE, Amazon Clinic, AI Art, Wormholes, Ugly Clippy

    Spiceworks Originals

    Your daily dose of tech news, in brief. Welcome to the Snap! Flashback: Back on November 16, 1904, John Fleming applies for a patent for the first vacuum tube (Read more HERE.) Flashback: Back on November 16, 1922, IBM System 360 Designer Amd...

  • How to migrate file server from 2008 to 2022

    Best Cheap, Quick, Self Install Camera System?

    Security

    We're tasked with getting 3 cheap cameras installed as quick as possible.  They will replace old camera system which was very expensive.  Considering either Ring and Nest with Solar Powered panels for the 2 outdoor cameras getting installed.  All replacin...

  • How to migrate file server from 2008 to 2022

    Spark! Pro series - 16th November 2022

    Spiceworks Originals

    Today in History: 1938 – LSD is first synthesized by Swiss chemist Dr. Albert Hofmann  LSD, or lysergic acid diethylamide, is a hallucinogenic drug that was first synthesized a Swiss scientist in the 1930s. During the Cold War, the CIA conducted clandesti...

  • How to migrate file server from 2008 to 2022

    For those using Software Restriction Policies and Whitelisting..... be aware...

    Software

    Starting with Window 11 22H2, you will probably need a new solution.https://borncity.com/win/2022/11/08/windows-11-22h2-no-longer-supports-software-restriction-policies...

  • How to migrate file server from 2008 to 2022

    Spiceworks Holiday Gift Exchange 2022

    Holidays

    It’s that time of year again. The season of giving, and receiving, from your fellow SpiceHeads! Yes, it’s our yearly holiday gift exchange! And if my calculations are correct, this is the 10th year we are doing this in our community. 10 years of Spicew...

KB ID 0001201

Problem

When attempting a File Server Migration why isn’t this better publicised? Did you know Microsoft have a set of Migration tools, and one of them is for file servers? Now traditionally I’d use RoboCopy or XCopy to migrate files and folders, and for ‘User Profiles’ I would normally back them up, and restore them to the new server. This is because the file permissions on ‘correctly deployed’ user profiles mean you can’t open them.

How about a tool, that migrates all the files, folders and profiles while maintaining all the NTFS permissions, AND Share permissions!

Windows File Server Migration Tools

Source Server Pre-requisites

  • Server 2003: .Net 2.0 (With SP1), and PowerShell 2.0, and 25MB free drive space.
  • Server 2008: PowerShell and 25Mb free drive space.
  • Server 2008 R2 and Newer: 25Mb free drive space.
  • All: UDP port 7000 needs to be open, from source to the destination server.

File Server Migration Server 2008 to Server 2019

File Server Migration from Server 2003!

  • Source Server: Windows Server 2003 Standard x64 (x86 supported as well)
  • Destination Server: Windows 2012 R2 Data Center 2012 

Source Server: Here you can see my user profiles, I’ll do the migration with them, as usually they are the most ‘challenging’.

How to migrate file server from 2008 to 2022

You need to create a shared folder on the Source Server, I’ve just granted everyone full control, (this is just for the migration tools).

How to migrate file server from 2008 to 2022

Destination  Server: Open a PowerShell windows and install the tools with the following command;

Install-WindowsFeature Migration –ComputerName {computer-name}

How to migrate file server from 2008 to 2022

Open an administrative command window > Now you need to deploy the migrations tools to the share on the destination server, to do that use the following command;

cd C:\Windows\System32\ServerMigrationTools

SmigDeploy.exe /package /architecture amd64 /os WS03 /path \\{Destination-Server}\{folder-name}

Note: For x86 (32 bit) source servers use x86 instead of amd64. WS03 (Windows Server 2003), WS08 (Windows Server 2008), WS08R2 (Windows Server 2008 R2), and WS12 (Windows Server 2012).

How to migrate file server from 2008 to 2022

Source Server: Open the folder you created earlier and within it you will find another folder that has the tools in. Open an administrative command window and change to this directory > then execute the following command;

Another PowerShell window will open, leave it open, and return to the destination server.

How to migrate file server from 2008 to 2022

Destination Server: Here I’ve created a folder that I’m going to migrate into.

How to migrate file server from 2008 to 2022

Destination Server: Open a PowerShell window and issue the following two commands;

add-pssnapin microsoft.windows.servermanager.migration

Receive-SmigServerData

You will be asked to provide a password, (use what you want, but remember it, you will need it in a minute).

You now have a five minute window to get the migration running, or you will need to re-issie the last command again. 

Source Server: Return to your open PowerShell Window, and issue the following command;

Send-SmigServerData -ComputerName {destination-computer-name} -SourcePath {path-to-source-folder} -DestinationPath {path-to-destination-folder} -include all -recurse

Supply the password, then go and put your feet up.

How to migrate file server from 2008 to 2022

Destination Server: You can watch progress here.

How to migrate file server from 2008 to 2022

Profiles migrated! And permissions intact.

How to migrate file server from 2008 to 2022

Don’t forget to change the path to the user profile, on the user(s) user object(s) in Active Directory.

How to migrate file server from 2008 to 2022

If you have a lot you can do them in bulk by multi-selecting the users.

How to migrate file server from 2008 to 2022

XCOPY – Insufficient Memory

Migrating – Folders and Share Permissions

Can I upgrade to server 2022?

In-place upgrade For example, if your server is running Windows Server 2019, you can upgrade it to Windows Server 2022. However, not every older operating system has a pathway to every newer one and some roles or features don't support this or need you to take extra steps.

Can you upgrade a 2008 server to 2016?

Can Windows Server 2008 be upgraded to 2016? You can't upgrade Windows Server 2008 to 2016 directly unless performing a clean installation. If you want to complete an in-place upgrade, you need to first upgrade from Windows Server 2008 to 2012, and then upgrade to 2016.

Can you migrate 2008 to Azure?

Azure Migrate supports migration of servers running Windows Server 2008.

Should I upgrade to Windows Server 2022?

We recommend upgrading to the latest version of Windows Server. Running the latest version of Windows Server allows you to use the latest features – including the latest security features – and delivers the best performance. You can upgrade to a newer version of Windows Server by up to two versions at a time.