A central hub of Azure cloud migration services and tools to discover, assess, and migrate workloads to the cloud.
To migrate an on-premises Windows Server 2008 R2 server to an Azure VM, use Azure Migrate (recommended) or Azure Site Recovery. Both approaches rely on replication of the on-premises server to Azure, then failover and cutover.
1. Recommended: Migrate with Azure Migrate
- Review prerequisites and architecture
- Review the Azure Migrate agent-based migration architecture and limitations for Windows Server 2008/2008 R2.
- Windows Server 2008/2008 R2 are End of Life; plan OS upgrades after migration as needed.
- Prepare Azure
- Ensure an Azure subscription, resource group, and target region are ready.
- Ensure the migrated VM will have network connectivity (virtual network, subnet, NSG rules, etc.).
- Discover and replicate the on-premises server
- Use Azure Migrate: Server Migration to discover the on-premises Windows Server 2008 R2 machine.
- Enable replication from on-premises to Azure using the Azure Migrate Migration and modernization tool.
- Test migration
- Run a test migration to create a test VM in Azure and validate OS boot, application behavior, and connectivity.
- Migrate (cutover)
- Perform the actual migration (failover) to Azure so that the replicated VM becomes the production Azure VM.
- Complete the migration
- After confirming the Azure VM is working as expected:
- In the Azure Migrate Migration and modernization tool, right-click the migrated VM and select Stop replication. This:
- Stops replication for the on-premises machine.
- Removes the machine from the Replicated servers count.
- Cleans up replication state information.
- Verify and troubleshoot any Windows activation issues on the Azure VM.
- Perform post-migration application tweaks (host names, connection strings, web server configuration, etc.).
- Perform final application and migration acceptance testing.
- Cut over production traffic to the Azure VM.
- Remove the on-premises VM from local inventory and backups.
- Update internal documentation with the new Azure VM location and IP.
- In the Azure Migrate Migration and modernization tool, right-click the migrated VM and select Stop replication. This:
- After confirming the Azure VM is working as expected:
2. Alternative: Migrate with Azure Site Recovery
Azure Site Recovery can also be used, but is recommended primarily for disaster recovery. For Windows Server 2008/2008 R2 migration it is still supported.
- Check OS support and limitations
- Supported: Windows Server 2008 R2 SP1 (64-bit, Standard/Enterprise/Datacenter) on VMware VMs, Hyper-V VMs, and physical servers.
- Server Core is not supported.
- Ensure latest service pack and Windows updates are installed.
- Ensure .NET Framework 3.5 SP1 is installed for the mobility service.
- Only crash-consistent recovery points are supported for Windows Server 2008 SP2; set app-consistent snapshot frequency to Off.
- Prepare Azure
- In the Azure portal, create a Recovery Services vault:
- Create a resource > Management Tools > Backup and Site Recovery.
- Name the vault (for example,
W2K8-migration), choose subscription, create a resource group (for example,w2k8migrate), and select the Azure region.
- Pin the vault to the dashboard if desired.
- In the Azure portal, create a Recovery Services vault:
- Prepare on-premises environment
- For VMware: set up the on-premises Configuration Server on VMware.
- If not possible on VMware, set up the Configuration Server on a physical server or other VM.
- Set up the target environment
- In the vault, select Prepare infrastructure > Target.
- Select the Azure subscription and Resource Manager deployment model.
- Site Recovery validates compatible storage accounts and networks.
- Create a replication policy
- Go to Site Recovery infrastructure > Replication Policies > +Replication Policy.
- Configure:
- Policy name.
- RPO threshold (alert if exceeded).
- Recovery point retention (hours; up to 24 for premium storage, 72 for standard storage).
- App-consistent snapshot frequency: set to Off for Windows Server 2008 to avoid false critical health alerts.
- Enable replication
- Enable replication for the Windows Server 2008 R2 SP1 server to be migrated using the Site Recovery workflow for VMware/physical or Hyper-V as appropriate.
- Run a test migration (test failover)
- After initial replication completes and status is Protected, run a test failover to Azure.
- Use an isolated network to validate OS boot, application behavior, and RDP connectivity.
- Migrate (failover) to Azure
- In Settings > Replicated items, select the server and choose Failover.
- Select the latest Recovery Point.
- Select Shut down machine before beginning failover (Site Recovery attempts shutdown but continues even if it fails).
- Monitor progress on the Jobs page and verify the Azure VM appears and runs correctly.
- Complete migration and clean up
- In Replicated items, right-click the server and select Complete Migration. This:
- Finishes the migration.
- Stops replication and Site Recovery billing for that server.
- Cleans up replication data (does not delete the migrated VM).
- In Replicated items, right-click the server and select Complete Migration. This:
- Post-migration notes and troubleshooting
- If dynamic disks appear offline or as foreign after failover, use
diskmgmt.mscto import/reactivate them and fix “Failed redundancy” on mirrored sets. - Ensure the
vmstorfl.sysdriver exists atC:\Windows\system32\drivers\vmstorfl.sys. If missing, create a dummy file using:-
copy nul c:\Windows\system32\drivers\vmstorfl.sys
-
- For 32-bit Windows Server 2008 SP2 VMs where RDP fails immediately after failover:
- Restart the VM from the Azure portal.
- Verify Remote Desktop is allowed and that firewall rules/NSGs are not blocking RDP.
- Perform at least one successful test failover per server before final migration.
References: