DFS Replication service is not running – Migrating Server 2003 to 2012 Essentials

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:

  1. Open SBSMigrationPrep.ps1 located in C:\Documents and Settings\All Users\Application Data\Microsoft\Microsoft Baseline Configuration Analyzer 2\Models\SBSMigrationPrep.ps1 in Notepad.
  2. Find “DFSR”
  3. We will get the function as shown bellow
    function Check-DFSReplicationServiceStatus()
    {
    $service = Get-Service -Name ‘DFSR’
    $status = $service.Status
    @”

    $status

    “@
    }
  4. 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.

5 Responses

Leave a Reply to Cristina Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.