Active Directory Domain Services Flashcards
Install, Configure, Manage, and Maintain Activity Directory Domain Services
What is IFM? When would you use it?
Installation from Media
Allows you to promote a server to an AD Domain Controller, using a seed of the AD database from a file that has been exported from another DC.
You would only use this if there is extremely low bandwidth between remote domain controllers. This option allows you to, for example, mail a hard drive containing the data.
Once the seed has been imported, it performs a sync to update any changes since the seed was created.
What does this stand for?
FSMO role
Flexible Single Master Operation role
What is an RODC, and when would you use it?
Read-Only Domain Controller
There is only a single use-case for this: If you have a remote site where the domain controller cannot be physically secured.
An RODC only gets passwords replicated to it for specified users and computers.
What are the uses of Organizational Units in AD?
The only function they serve is in application of Group Policy.
There is no other reason to separate users and computers out into OUs.
What are the FSMO roles?
There are five:
- PDC Emulator
- RID Master
- Infrastructure Master
- Schema Master
- Domain Naming Master
What is a SID?
Security ID
SIDs are numbers assocated with all AD objects.
What is a RID?
Relative ID
A RID is a superset of a SID; it consists of a sequential number that gets added onto each SID.
How do you join a computer to a domain, and rename the computer, with PowerShell?
Run this command on the computer to be joined to the domain and renamed:
Add-Computer -DomainName “example.local” -NewName Station01 -Restart
• This will also force a reboot, which is optional
What is command used to install AD?
PowerShell:
install-windowsfeature ad-domain-services
What is the command used to promote a server to a Domain Controller?
PowerShell:
Install-ADDSDomainController -DomainName “example.local” -Credential (Get-Credential example\administrator)
How do you use IFM to promote a server to a Domain Controller?
Add this option to the Install-ADDDSDomainController PowerShell command:
-InstallationMediaPath “c:\directory-of-IFM-data”
What is this command?
Get-ADDCCloningExcludedApplicationList
It will provide a list of all applications on the current machine that Windows has not positively verified to support cloning.
What is a GC?
Global Catalog
A partial, read-only copy of all the objects in the forest, intended to just hold the set of objects that are usually important. – For example, the schema attributes that an application or process is likely to need from some area elsewhere in the forest.
In a single-forest, single-domain setup; every DC tends to be a GC server. But, if you do have multiple domains in a forest, you may find not every DC is a GC.
What is this command, and how do you use it?
Move-ADDirectoryServerOperationMasterRole
This command is to gracefully transfer a FSMO role from one DC to another.
You would need the following parameters:
Move-ADDirectoryServerOperationMasterRole -Identity “newserver01” -OperationMasterRole [rolename]
Where [rolename] is the specific role you want to transfer, and newserver01 is the target server’s hostname.
How do you seize a FSMO role from one DC to another, and when would you do so?
Same cmdlet as the graceful transfer, except add this parameter:
-Force
- This will attempt to transfer gracefully, but will force it if it cannot.
- You can also use ntdsutil to seize roles.
- You would ONLY seize a FSMO role if a DC has failed and cannot be online for a graceful transfer.
How do you promote a server to an RODC?
Using the same command as normal promotion to a DC:
Install-ADDSDomainController -DomainName “example.local” -Credential (Get-Credential example\administrator)
and add this parameter into that command:
-ReadOnlyReplica
What is this?
DCDIAG
A command-line utility
- Has been around for a long time
- Performs several tests on your AD domain, for health diagnostics
- Allows you to analyze the state of DCs in a forest as an aid in troubleshooting.
How do you extend the AD Schema?
These four commands must be run in order, one after the other has completed.
- adprep /forestprep
- adprep /domainprep
- adprep /rodcprep (if you need to deploy an RODC)
- adprep /gpprep (if you also need to upgrade your Group Policy)
What are the possible Forest and Domain Functional Levels?
Windows Server 2008
Windows Server 2008 R2
Windows Server 2012
Windows Server 2012 R2
Windows Server 2016
How do you raise a domain and forest functional level?
Only after completing all prerequisite steps, the final step of actually raising the level
Right-click the domain in AD > Raise Domain Functional Level
Or, for the forest, it’s the same, except you right click the top level above the domain > Raise Forest Functional Level
How can you correct DNS errors regarding SRV records?
On the domain controller, run:
ipconfig -registerdns
Or, simply rebooting the server will also result in it re-registering its records with DNS.
What is ADAC?
Active Directory Administrative Center
The newer management interface for AD, based on Server Manager. Everything it does is actually running PowerShell commands underneath.
What is a template in AD?
A user that has been created and then disabled, which you use as a source to copy a new user from.
It’s an older method of simplifying user creation.
What fields can be preconfigured using a template in AD?
Group memberships
Home directories
Profile settings
Logon scripts
Logon hours
Password settings
Department name
Manager