Thursday, September 8, 2011

Unattend installation of Active Directory


You can automatically run DCPROMO during an unattended installation. Enter the command
start ->run -> dcpromo /answer:path of answerfile

You’ll see a dialog box that says DCPROMO is running in unattended mode. Then, the machine will reboot.

now type these things to make a unattend.doc file

Value
Explanation
AdministratorPassword
The new password for the domain Administrator account
AutoConfigDNS
Specifies whether the wizard should configure DNS
ChildName
Name of the child part of the domain
CreateOrJoin
Specifies whether the domain will join an existing forest or create a new one
DatabasePath
Location for the Active Directory database
DNSOnNetwork
Used when a new forest of domains is installed and no DNS client is configured on the computer
DomainNetBiosName
NetBIOS name for the domain
IsLastDCInDomain
Only valid when demoting an existing domain controller to a member server
LogPath
Path for the Directory Service (DS) logs
NewDomainDNSName
Name of the new tree or when a new forest is created
ParentDomainDNSName
Specifies the name of the parent domain
Password
Password for the username used to promote the server
RebootOnSuccess
Specifies whether an automatic reboot should be performed
ReplicaDomainDNSName
Name of the domain to be replicated from
ReplicaOrMember
Specifies whether a Windows NT 4.0 or 3.51 BDC being upgraded should become a replica domain controller or be demoted to a regular member server
ReplicaOrNewDomain
Specifies whether the machine is a new domain controller in a new domain or a replica of an existing domain
SiteName
Name of the site (Default-First-Site by default)
SysVolPath
Path of SYSVOL
TreeOrChild
Specifies whether entry is a new tree or child of existing domain
UserDomain
Domain for the user being used in promotion
UserName
Name of the user performing the upgrade

for examle type these parameter for unattend.doc file

[DCInstall]
Rebootonsuccess = no
Databasepath = %SYSTEMROOT%\NTDS
Logpath = $SYSTEMROOT%\NTDS
Sysvolpath = %SYSTEMROOT%\Sysvol
Username = administrator        
Password =
ReplicaorNewDomain = Domain
TReeorChild = Tree
Createorjoin = Create
NewDomainDNSName = Networknuts.Net
DNSonNetwork = no
DomainNetBiosName = Networknuts
AllowAnonymousAccess = no
AutoConfigDNS = Yes
SiteName = Default-First-Site
SafemodeAdminpassword = Password



No comments:

Post a Comment