How to install active directory in windows server 2012 standard
The Notifications Pane opens and displays a Post-deployment Configuration notification. Click the Promote this server to a domain controller link that appears in the notification. Enter your root domain name in the Root domain name field and click Next. Note : These selections affect features and server domain controller eligibility. For further information on domains and forest functional levels, see the official Microsoft documentation.
The system checks if all of the necessary prerequisites are installed on the system. If the system passes these checks, click Install. Note : The server automatically reboots after the installation is complete. How—To Home. Click Install. Now close the wizard. Right-click o ver IPv4 and select New Scope. Give the scope a name. A descriptive name is always a good idea. Like Site A or B. After we click Next. Give the scope range and we click Next.
Leave the default value and we click Next. Click to configure the scope options and we click Next. Give the IP of our router and we click Next. For more information about domain controller Location, review Directory Service Functions. The only configurable domain controller capability is the DNS server option. Microsoft recommends that all domain controllers provide DNS services for high availability in distributed environments, which is why this option is selected by default when installing a domain controller in any mode or domain.
The Global Catalog and read only domain controller options are unavailable when creating a new forest root domain; the first domain controller must be a GC, and cannot be a read only domain controller RODC. The specified Directory Services Restore Mode Password must adhere to the password policy applied to the server, which by default does not require a strong password; only a non-blank one.
Always choose a strong, complex password or preferably, a passphrase. By default, the NetBIOS domain name matches the left-most label of the fully qualified domain name provided on the Deployment Configuration page. For example, if you provided the fully qualified domain name of corp. If the name is 15 characters or less and does not conflict with another NetBIOS name, it is unaltered. If the name is more than 15 characters, the wizard provides a unique, truncated suggestion.
The Review Options page enables you to validate your settings and ensure they meet your requirements before you start the installation. This is not the last opportunity to stop the installation when using Server Manager.
This is simply an option to confirm your settings before continuing the configuration. This enables you to use the Server Manager graphical interface as a Windows PowerShell deployment studio. Use the Active Directory Domain Services Configuration Wizard to configure options, export the configuration, and then cancel the wizard.
This process creates a valid and syntactically correct sample for further modification or direct use. For example:. Server Manager generally fills in all arguments with values when promoting and does not rely on defaults as they may change between future versions of Windows or service packs. The one exception to this is the -safemodeadministratorpassword argument which is deliberately omitted from the script.
To force a confirmation prompt, omit the value when running cmdlet interactively. This new phase validates that the server configuration is capable of supporting a new AD DS forest. These tests alert you with suggested repair options. You can run the tests as many times as required. The domain controller process cannot continue until all prerequisite tests pass. The Prerequisites Check also surfaces relevant information such as security changes that affect older operating systems.
For more information on the specific prerequisite checks, see Prerequisite Checking. When the Installation page displays, the domain controller configuration begins and cannot be halted or canceled. Detailed operations display on this page and are written to logs:. You can run multiple role installation and AD DS configuration wizards from the same Server Manager console simultaneously. The Results page shows the success or failure of the promotion and any important administrative information.
The domain controller will automatically reboot after 10 seconds. This section explains how to install the first domain controller in a forest root domain using Windows PowerShell on a Core Windows Server computer. By implementing a few straightforward ServerManager deployment cmdlets into your deployment processes, you further realize the vision of AD DS simplified administration. The next figure illustrates the Active Directory Domain Services role installation process, beginning with you running PowerShell.
This layering simplifies the most tasks and reduces need for direct usage of the powerful but dangerous when misused DISM module. If you also want the AD DS management tools installed - and this is highly recommended - then provide the -IncludeManagementTools argument:. To list all features and roles with their installation status, use Get-WindowsFeature without arguments. Specify -ComputerName argument for the installation status from a remote server.
Because Get-WindowsFeature does not have a filtering mechanism, you must use Where-Object with a pipeline to find specific features. The pipeline is a channel used between multiple cmdlets to pass data and the Where-Object cmdlet acts as a filter. For example, to find all features containing "Active Dir" in their Display Name property, use:. Note also that Windows PowerShell 3. Windows PowerShell 2. Note how using the Select-Object cmdlet with the -expandproperty argument returns interesting data:.
The Select-Object -expandproperty argument slows down overall installation performance slightly. The Install-AddsForest cmdlet only has two phases prerequisite checking and installation. The two figures below show the installation phase with the minimum required argument of -domainname. The -DomainNetBIOSName argument is required if you want to change the automatically generated character name based on the DNS domain name prefix or if the name exceeds 15 characters.
If not specified as an argument, the cmdlet prompts you to enter and confirm a masked password. This is the preferred usage when running the cmdlet interactively.
For example, to create a new forest named corp. If specified with a value , the value must be a secure string. This is not the preferred usage when running the cmdlet interactively. For example, you can manually prompt for a password by using the Read-Host cmdlet to prompt the user for a secure string:.
As the previous option does not confirm the password, use extreme caution: the password is not visible. You can also provide a secure string as a converted clear-text variable, although this is highly discouraged. Finally, you could store the obfuscated password in a file, and then reuse it later, without the clear text password ever appearing. Providing or storing a clear or obfuscated text password is not recommended.
Anyone running this command in a script or looking over your shoulder knows the DSRM password of that domain controller. Anyone with access to the file could reverse that obfuscated password. With that knowledge, they can logon to a DC started in DSRM and eventually impersonate the domain controller itself, elevating their privileges to the highest level in an Active Directory forest.
An additional set of steps using System. Cryptography to encrypt the text file data is advisable but out of scope.
0コメント