Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

571 lines
19 KiB

  1. ; Sample DCPROMO2 AnswerFile.
  2. ; Copyright (C) 1998-2001 Microsoft Corporation
  3. ;
  4. ; To invoke dcpromo with an answerfile, use the following syntax:
  5. ; dcpromo /answer:<answerfile name>
  6. ;
  7. ; where <answerfile name> is the name of the answerfile to be used, relative
  8. ; to the directory from which dcpromo is invoked
  9. ;
  10. ; The answer file is essentially an INI file, the options for which complete
  11. ; the fields of each page of the wizard. Default values are those used if
  12. ; the option is not specified.
  13. ;
  14. ; For all operations (insallations or un-installations), the following
  15. ; options apply:
  16. ; RebootOnSuccess
  17. ;
  18. ; For all installations, the following options apply:
  19. ; DatabasePath
  20. ; LogPath
  21. ; SYSVOLPath
  22. ; SafeModeAdminPassword
  23. ; CriticalReplicationOnly
  24. ; SiteName
  25. ;
  26. ; For BDC upgrades or new replica installations, the following additional
  27. ; options apply:
  28. ; ReplicaOrMember=Replica
  29. ; ReplicaOrNewDomain=Replica
  30. ; ReplicaDomainDNSName
  31. ; ReplicationSourceDC
  32. ; ReplicationSourcePath
  33. ;
  34. ; For child domain installations, the following additional options apply:
  35. ; ReplicaOrNewDomain=Domain
  36. ; NewDomain=Child
  37. ; ParentDomainDNSName
  38. ; ChildName
  39. ; DomainNetbiosName
  40. ; AutoConfigDNS
  41. ; AllowAnonymousAccess
  42. ;
  43. ; For new tree in existing forest installations, the following
  44. ; additional options apply:
  45. ; ReplicaOrNewDomain=Domain
  46. ; NewDomain=Tree
  47. ; NewDomainDNSName
  48. ; DomainNetbiosName
  49. ; AutoConfigDNS
  50. ; AllowAnonymousAccess
  51. ;
  52. ; For DC demotion, the following additional options apply:
  53. ; AdministratorPassword
  54. ; IsLastDCInDomain
  55. ; RemoveApplicationPartitions
  56. ;
  57. ; For all of the above scenarios, the following options can also apply:
  58. ; UserName
  59. ; Password
  60. ; UserDomain
  61. ;
  62. ; For new tree in new forest installations, the following additional
  63. ; options apply:
  64. ; ReplicaOrNewDomain=Domain
  65. ; NewDomain=Forest
  66. ; NewDomainDNSName
  67. ; DNSOnNetwork
  68. ; DomainNetbiosName
  69. ; AutoConfigDNS
  70. ; AllowAnonymousAccess
  71. ;
  72. ; for PDC upgrades, the following additional options apply:
  73. ; SetForestVersion
  74. ;
  75. ; When running in advanced mode, these options apply:
  76. ;
  77. ; ReplicationSourcePath
  78. ; ConfirmGc
  79. ; Syskey
  80. Here is a table that illustrates which options are used in what scenario:
  81. Option | Root | Tree | Child| Repl | PDC->| BDC->| BDC->| Dem
  82. | | | | | Root | Repl | Memb |
  83. | | | | | | | |
  84. AdministratorPassword | | | | | | | | X
  85. AllowAnonymousAccess | X | X | X | | X | | |
  86. AutoConfigDNS | X | X | X | | X | | |
  87. ChildName | | | X | | | | |
  88. ConfirmGc | | | | IFM | | | |
  89. CriticalReplicationOnly| X | X | X | X | X | X | X |
  90. DNSOnNetwork | X | | | | X | | |
  91. DatabasePath | X | X | X | X | X | X | X |
  92. DisableCancelForDnsInstallX | X | X | X | X | X | |
  93. DomainNetbiosName | X | X | X | | | | |
  94. IsLastDCInDomain | | | | | | | | X
  95. LogPath | X | X | X | X | X | X | X |
  96. NewDomain | X | X | X | | | | |
  97. NewDomainDNSName | X | X | | | X | | |
  98. ParentDomainDNSName | | | X | | | | |
  99. Password | | X | X | X | | X | | X
  100. RebootOnSuccess | X | X | X | X | X | X | X | X
  101. RemoveApplicationPartitions | | | | | | | X
  102. ReplicaDomainDNSName | | | | X | | X | |
  103. ReplicaOrMember | | | | | | X | X |
  104. ReplicaOrNewDomain | X | X | X | X | | | |
  105. ReplicationSourceDC | | | | X | | X | |
  106. ReplicationSourcePath | | | | IFM | | | |
  107. SYSVOLPath | X | X | X | X | X | X | X |
  108. SafeModeAdminPassword | X | X | X | X | X | X | X |
  109. SetForestVersion | | | | | X | | |
  110. SiteName | X | X | X | X | X | X | X |
  111. Syskey | | | | IFM | | | |
  112. UserDomain | | X | X | X | | X | | X
  113. UserName | | X | X | X | | X | | X
  114. [DCInstall]
  115. ; ReplicaOrMember
  116. ; Used only for BDC upgrades.
  117. ;
  118. ; Possible values:
  119. ; "Replica" - convert the BDC to a replica DS DC.
  120. ; "Member" (or any other value) - demote the BDC to a member server of its
  121. ; domain.
  122. ;
  123. ; Default: "Member"
  124. ReplicaOrMember=Replica
  125. ; ReplicaOrNewDomain
  126. ; Used only for new NT5 server installs.
  127. ;
  128. ; Possible values:
  129. ; "Domain" - convert the server into the first DC of a new DS domain. A
  130. ; value for NewDomain is required.
  131. ; "Replica" (or any other value) - convert the server into a replica DS DC.
  132. ;
  133. ; Default: "Replica"
  134. ReplicaOrNewDomain=Replica
  135. ; NewDomain
  136. ;
  137. ; Used to indicate the type of the new domain, whether it will be a new
  138. ; domain in a new forest, the root of a new tree in an existing forest, or a
  139. ; child of an existing domain.
  140. ;
  141. ; Possible values:
  142. ;
  143. ; "Tree" - the new domain will be the root of a new tree in an existing
  144. ; forest.
  145. ;
  146. ; "Child" - the new domain will be a child of an existing domain.
  147. ;
  148. ; "Forest" (or any other value) - the new domain will be the first domain in
  149. ; a new forest of domain trees.
  150. ;
  151. ; Default: "Forest"
  152. NewDomain=Forest
  153. ; ReplicaDomainDNSName
  154. ; Used for BDC upgrades and new replica dc installs. Value is the DNS
  155. ; domain name of the domain to be replicated from. It is assumed that the
  156. ; currently logged-on user has administrative privileges to that domain,
  157. ; and that DNS services are properly configured.
  158. ;
  159. ; The domain name must refer to an existing DS domain.
  160. ;
  161. ; Default: none. This value must be specified.
  162. ReplicaDomainDNSName=spruce.example.microsoft.com
  163. ; ParentDomainDNSName
  164. ; Used when child domain install is indicated. Value is the DNS domain name
  165. ; of an existing DS domain. It is assumed that the currently logged-on
  166. ; user has administrative privileges to this domain, and that DNS services
  167. ; are properly configured.
  168. ;
  169. ; Default: none. This value must be specified.
  170. ParentDomainDNSName=spruce.example.microsoft.com
  171. ; ChildName
  172. ; Used when child domain install is indicated. Value is the DNS label to be
  173. ; prepended to the value specified by ParentDomainDNSName to form a new
  174. ; domain name contiguous with and subordinate to the parent. E.g. if the
  175. ; parent name is "spruce.example.microsoft.com" and ChildName is "blue", then
  176. ; the name of the new domain is "blue.spruce.example.microsoft.com". This
  177. ; new domain name must not be in use and DNS services must be properly
  178. ; configured.
  179. ;
  180. ; Default: none. This value must be specified.
  181. ChildName=blue
  182. ; DomainNetbiosName
  183. ; Used to assign a flat name to the new domain. The name must not already
  184. ; be in use as a domain or computer name. This key is ignored when upgrading
  185. ; pre-Windows 2000 PDCs.
  186. ;
  187. ; Default: none. This value must be specified.
  188. DomainNetbiosName=blue-dom
  189. ; NewDomainDNSName
  190. ; Used when new tree in existing domain or new forest installation is
  191. ; indicated. Value is the DNS domain name to be created. This name may
  192. ; not be currently in use.
  193. ;
  194. ; Default: none. This value must be specified.
  195. NewDomainDNSName=aspen.example.microsoft.com
  196. ; DNSOnNetwork
  197. ; Used in new forest installations when DNS client is not configured.
  198. ;
  199. ; Possbile values:
  200. ; "No" - "No, DNS is not on the network, install the DNS service, and
  201. ; create a zone for the new domain"
  202. ; "Yes" (or any other value) - "Yes, DNS is on the network, double-check
  203. ; that the local machine's DNS client configuration is complete." (Note
  204. ; that if the local DNS client is not configured, the wizard will go into
  205. ; interactive mode.)
  206. ;
  207. ; Default: "Yes"
  208. DNSOnNetwork=Yes
  209. ; DatabasePath
  210. ; Value must be the fully-qualified, non-unc path to a directory of a fixed
  211. ; disk of the local machine. If the directory exists, it must be empty.
  212. ; If it does not, it will be created. The volume must have sufficient disk
  213. ; space available -- at least 20MB for new domains. For replicas, the
  214. ; space required is a function of domain size. For optimal performance,
  215. ; the database path should be on a different volume than the log path.
  216. ;
  217. ; Default: %systemroot%\NTDS
  218. DatabasePath=C:\ntds
  219. ; LogPath
  220. ; Value must be the fully-qualified, non-unc path to a directory of a fixed
  221. ; disk of the local machine. If the directory exists, it must be empty.
  222. ; If it does not, it will be created. The volume must have sufficient disk
  223. ; space available -- at least 10MB for new domains. For replicas, the
  224. ; space required is a function of domain size. For optimal performance,
  225. ; the database path should be on a different volume than the log path.
  226. ;
  227. ; Default: %systemroot%\NTDS
  228. LogPath=C:\NTDS
  229. ; SYSVOLPath
  230. ; Value must be the fully-qualified, non-unc path to a directory of a fixed
  231. ; disk of the local machine. If the directory exists, it must be empty.
  232. ; If it does not, it will be created. The volume must be formatted with
  233. ; NTFS version 5.0.
  234. ;
  235. ; Default: %systemroot%\SYSVOL
  236. SYSVOLPath=d:\sysvol
  237. ; SiteName (optional)
  238. ; Value is the name of an existing site in which to place the new DC. If
  239. ; not specified, a suitable site will be selected.
  240. ;
  241. ; Default: "Default-First-Site"
  242. SiteName=My-Answer-File-Site
  243. ; IsLastDCInDomain
  244. ; Only used for demote. Value indicates that the machine is the last DC
  245. ; in the domain.
  246. ;
  247. ; "Yes" - DC is to be treated as the last in the domain.
  248. ; "No" - (or any other value) - DC is not the last in the domain.
  249. ;
  250. ; Default: No
  251. IsLastDCInDomain=No
  252. ; AdministratorPassword
  253. ; Used when demoting a domain controller, to establish the local
  254. ; Administrator account password.
  255. ;
  256. ; Default: no password
  257. AdministratorPassword=foo
  258. ; RebootOnSuccess
  259. ; Used to indicate whether the machine should be rebooted upon successful
  260. ; operation, or not. The server must be rebooted for the directory
  261. ; service to be started.
  262. ;
  263. ; "Yes" - reboot the machine
  264. ; "NoAndNoPromptEither" - do not reboot the machine, and don't show the prompt
  265. ; to reboot either. Just silently exit.
  266. ; "No" - (or any other value) do not reboot the machine.
  267. ;
  268. ; Default: "No"
  269. RebootOnSuccess=No
  270. ; UserName
  271. ; Used to indicate the account credentials to be used for the installation
  272. ; operation. This parameter does not apply if the operation is installation
  273. ; of the first domain controller in a new forest, or if the operation is
  274. ; removal of Active Directory from any domain controller that is not the last
  275. ; dc of a domain, or is a dc of the forest root domain.
  276. ;
  277. ; Default: none, which will cause the operation to be done in the context
  278. ; of the currently-logged on user.
  279. UserName=Administrator
  280. ; Password
  281. ; Used to indicate the account credentials to be used for the installation
  282. ; operation. Applies in the same conditions as UserName.
  283. ;
  284. ; Default: none.
  285. Password=bar
  286. ; UserDomain
  287. ; Used to indicate the domain that the UserName should be taken from.
  288. ; Applies in the same conditions as UserName.
  289. ;
  290. ; Default: If the operation is to create a new forest or to become a member
  291. ; server from a BDC upgrade, there is no default. If the operation is to
  292. ; create a new tree, then the default is the DNS name of the forest the
  293. ; computer is presently joined to. If the operation is to create a new child
  294. ; domain or a replica, then the default is the DNS name of the domain the
  295. ; computer is joined to. If the operation is to demote the computer, and the
  296. ; computer is a DC for a child domain, then the default is the DNS name of
  297. ; the parent domain. If the operation is to demote the computer, and the
  298. ; computer is a DC of a tree root domain, then the default is the DNS name of
  299. ; the forest.
  300. UserDomain=myDomain
  301. ; AutoConfigDNS
  302. ; Used to indicate whether the wizard should install and configure DNS for
  303. ; the new domain, as it has detected that dynamic dns updates are not
  304. ; available.
  305. ;
  306. ; If the wizard can't verify that dynamic DNS registration will be
  307. ; successful, and the value of this key is "Yes", then the wizard will
  308. ; install and configure DNS on the local computer.
  309. ;
  310. ; Otherwise, dynamic DNS is available, or the value is not "Yes", and so
  311. ; DNS will not be installed.
  312. ;
  313. ; Default: "Yes"
  314. AutoConfigDNS=Yes
  315. ; AllowAnonymousAccess
  316. ; Used when downlevel (pre Windows 2000) servers will be authenticating users
  317. ; from this domain or any trusting domain. This option indicates whether
  318. ; dcpromo should cause the permissions to be set to permit anonymous access
  319. ; to user and group information.
  320. ;
  321. ; This setting controls the initial membership of the pre-Win2k compatible
  322. ; access group. When set to "Yes", the Everyone SID is made a member of the
  323. ; group. When set to "No", Everyone is not made a member of the group.
  324. ;
  325. ; "Yes" - downlevel servers will be used with this domain. Allow anonymous
  326. ; access.
  327. ; "No" (or any other value) - all server apps in the domain are Windows
  328. ; 2000 or later use more restrictive permissions.
  329. ;
  330. ; Default: if upgrading an NT4 PDC, "Yes". Otherwise, "No"
  331. ; ReplicationSourceDC (optional)
  332. ; Used to indicate the name of the domain controller from which the domain
  333. ; information is to be replicated. Only applies in new replica or BDC
  334. ; upgrade cases. If no value is supplied, the closest domain controller
  335. ; for the domain being replicated will be selected.
  336. ;
  337. ; Default: (no value) - select a dc automatically
  338. ReplicationSourceDC=
  339. ; SafeModeAdminPassword
  340. ; Used to supply the password to be set on the administrator account used
  341. ; when the computer is started in safe mode (or a variant of safe mode, like
  342. ; ds repair mode)
  343. ;
  344. ; Default: (no value) - blank password
  345. SafeModeAdminPassword=MyHappyPassword
  346. ; CriticalReplicationOnly
  347. ; Used to specify that the promotion operation should perform only critical
  348. ; replication, then continue, skipping the (possibly very lengthy) non-
  349. ; critical portion. Set to "yes" to skip non-critical replication.
  350. ;
  351. ; (in the case that non-critical replication is skipped, that replication
  352. ; will automatically and silently resume when the computer is rebooted and
  353. ; assumes its new role as a domain controller.)
  354. ;
  355. ; Default: (no value) - no; i.e. do critical and non-critical replication
  356. CriticalReplicationOnly=yes
  357. ; ReplicationSourcePath
  358. ;
  359. ; Used to indicate that the bulk of the directory data replication should
  360. ; be drawn from backup files that have been restored to a volume on the
  361. ; server, rather from another domain controller.
  362. ;
  363. ; However, complete replication can not be performed entirely from copied
  364. ; files: access to another domain controller is still required. (see
  365. ; ReplicationSourceDC)
  366. ;
  367. ; Indicates the location of the files to be used to create a new replica
  368. ; domain controller. The value must be the fully-qualified path to a
  369. ; folder on the local computer where the files have been copied.
  370. ;
  371. ; If this value is present and non-empty, then data replication will be
  372. ; performed using the restored files. If this value is not present or is
  373. ; empty, then replication will take place entirely over the wire.
  374. ;
  375. ; If the value refers to a valid set of restored backup files, then any
  376. ; value for the ReplicaDomainDNSName key will be ignored, as the domain
  377. ; name to which the restored files belong takes precedence.
  378. ;
  379. ; Default: none
  380. ;
  381. ; Example: "C:\restored\ds"
  382. ReplicationSourcePath=
  383. ; ConfirmGc
  384. ;
  385. ; Only applies if ReplicationSourcePath is specified. If restored files
  386. ; were created from a backup of a global catalog, then the replica can also
  387. ; be made a global catalog from those files. Use this value to indicate
  388. ; whether the replica should also be a global catalog, or not.
  389. ;
  390. ; If this value is "Yes" and the backup was of a global catalog, then the
  391. ; replica will also be made a global catalog. Otherwise, the replica will
  392. ; not be made a global catalog
  393. ;
  394. ; Default: "Yes"
  395. ConfirmGc=No
  396. ; Syskey
  397. ;
  398. ; Only applies if ReplicationSourcePath is specified. This value is used
  399. ; if the restored files used to install a replica indicate that the system
  400. ; key must be supplied by the user.
  401. ;
  402. ; If the restored files indicate that the system key must be supplied on
  403. ; diskette, then the system will look for the key on drive A:
  404. ;
  405. ; Default: none
  406. Syskey=
  407. ; SetForestVersion
  408. ;
  409. ; Only applies if the machine is a NT4 domain controller completing upgrade,
  410. ; and the domain controller will be the first dc in a new forest
  411. ; (NewDomain=Forest). This key will indicate whether or not to set the new
  412. ; forest behavior version level to 1. Level 1 allows more efficient
  413. ; replication of large group memberships, but will prevent any Windows 2000
  414. ; domain controllers from being added to the forest.
  415. ;
  416. ; If the value is "Yes", the level will be set to 1. If not, the level will
  417. ; not be set.
  418. ;
  419. ; Default: "No"
  420. SetForestVersion=No
  421. ; DisableCancelForDnsInstall
  422. ;
  423. ;
  424. ; Only applies if the answerfile options are such that the wizard will
  425. ; install DNS on the computer (if it is not allready installed). DNS is
  426. ; installed by invoking the system optional component manager.
  427. ;
  428. ; If this values is "Yes", then the OCM will be invoked with the /c switch
  429. ; to cause the cancel button to not appear. Any other value will cause
  430. ; the cancel button to appear.
  431. ;
  432. ; Default: "No"
  433. DisableCancelForDnsInstall=Yes
  434. ; RemoveApplicationPartitions
  435. ;
  436. ; Only applies for demotions, if the domain controller hosts the last
  437. ; replica of any application directory partition. This value is used to
  438. ; confirm that you wish to remove the application partitions on the DC, and
  439. ; you are cognizant of the fact that removing the last replica of a
  440. ; partition results in the partition (and all data in it) being destroyed.
  441. ;
  442. ; If this value is "Yes", then the wizard will proceed if it is the last
  443. ; replica of any application partitions. Otherwise, the wizard will drop
  444. ; into interactive mode, and you will have to manually confirm removal
  445. ; of the partitions
  446. ;
  447. ; Default: "No"
  448. RemoveApplicationPartitions=Yes