I had to recently migrate a customer from Windows Server 2003 to Windows Server 2012 Essentials, unfortuantly the Migration Preparation tool would keep failing on “DFS Replication service is not running”.
DFS Replication service did not exist until Server 2003 R2. So to get round this I made the following modification:
- Open SBSMigrationPrep.ps1 located in C:\Documents and Settings\All Users\Application Data\Microsoft\Microsoft Baseline Configuration Analyzer 2\Models\SBSMigrationPrep.ps1 in Notepad.
- Find “DFSR”
- We will get the function as shown bellow
$service = Get-Service -Name ‘DFSR’
$status = $service.Status
- Change the contents of “$service = Get-Service -Name ‘DFSR'” to $service = Get-Service -Name ‘DFS’
Once we have done this re-run the Migration and Preparation Tool and it should now complete successfully.
Brilliant, thanks for this work around.
You are awesome. 🙂 Thank you!
Thanks for posting this Jon. Great tip that I needed to complete the migration tool!
Great work there Jon! Took care of it for me!