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
Attachment(s):
[list-attachments]
Extremely helpful script. Easy to use. Thanks Shaun
Where can I get the script?
https://blog.ittelligence.com/wp-content/uploads/2012/03/MoveSysvol.zip