Skip to content

Instantly share code, notes, and snippets.

@0x09AL
Forked from mekuls/gist:3102944
Created January 2, 2019 21:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 0x09AL/52236cc9356c2dccb2f42f83e6fc10bc to your computer and use it in GitHub Desktop.
Save 0x09AL/52236cc9356c2dccb2f42f83e6fc10bc to your computer and use it in GitHub Desktop.
dcpromo.exe DCINSTALL example for new domain
[DCINSTALL]
InstallDNS=yes
NewDomain=forest
NewDomainDNSName=au.sky
DomainNetBiosName=au
ReplicaOrNewDomain=domain
ForestLevel=4
DomainLevel=4
DatabasePath=%systemroot%\ntds
LogPath=%systemroot%\ntds
SYSVOLPath=%systemroot%\sysvol
RebootOnCompletion=yes
SafeModeAdminPassword="BadPw4u"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment