I had to recently migrate a few customers from Windows Server 2003 to Windows Server 2012 Essentials, unfortunately 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
function Check-DFSReplicationServiceStatus()
{
$service = Get-Service -Name ‘DFSR’
$status = $service.Status
@”$status“@
} - Change the contents of “$service = Get-Service -Name ‘DFSR’” to $service = Get-Service -Name ‘DFS’
Once you have done this, re-run the Migration and Preparation Tool and it should now complete successfully.
Recent Comments