Promoting a DC with Access Denied Error

If you are trying to promote a member server to a domain controller and get this error:

 Install-ADDSDomainController : The operation failed because:

The path chosen for the system volume is not accessible. Please either manually delete the contents of the path or choose another location for the system


"Access is denied."

At line:1 char:1

+ Install-ADDSDomainController -DomainName stwater.intra -SiteName Azur ...

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : NotSpecified: (:) [Install-ADDSDomainController], DCPromoExecutionException

    + FullyQualifiedErrorId : DCPromo.General.54,Microsoft.DirectoryServices.Deployment.PowerShell.Commands.InstallADDSDomainControllerCommand

All you need to do is remove the C:\Windows\SysVOL directory and you are good to go :)