Active Directory, Scripts

MoveSysvol – Automate the relocation of the Sysvol folder (DFSR Version)

Prerequisites

  • All DCs in default Domain Controllers OU
  • SYSVOL replicated with DFSR

MoveSysvol (DFSR version) automated by Shaun Vermaak is a batch to automatically relocate the Sysvol folder as per https://technet.microsoft.com/en-us/library/cc816594(v=ws.10).aspx
The following must be in the working folder or in path:
MoveSysvol.bat
SetDFSR.vbs
sysvol.inf

UPDATE: Please ensure that all DCs are in the default Domain Controllers OU
Usage:
MoveSysvol.bat OLDSYSVOLPATH NEWSYSVOLPATH DOMAINFQDN
Example: MoveSysvol.bat C:WindowsSYSVOL D:SYSVOL TESTDOMAIN.COM



Download: MoveSysvolDFSR.zip

MoveSysvol version history

  1. July 1, 2015

    • DFSR version, following Microsoft's DFSR SYSVOL relocation procedure
    • Uses SetDFSR.vbs in place of SetFRS.vbs; linkd.exe and robocopy.exe no longer listed
    • Update: all DCs must be in the default Domain Controllers OU
  2. June 14, 2009

    • Initial release: batch to relocate SYSVOL as per KB842162
    • Needs linkd.exe and robocopy.exe (not included)

Posted on

Tagged Tools

No comments yet

Comments are moderated and appear once approved.