Hi there I am getting an error DFS replication event 4012 and I cant figure out how to restart it to get my DNS back up on my AD The path is C:\windows\sysvol\domain I went into the DFS tool and cant see anything on how to fix it.

  • Please post the full text of the event in your question.
    – joeqwerty
    Jan 31, 2017 at 2:07

1 Answer 1


As per www.eventid.net, try running this command on the domain controller:

wmic.exe /namespace:\\root\microsoftdfs path DfsrMachineConfig set MaxOfflineTimeInDays=120

Wait an hour for the replication to resume.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.