Prerequisites
Ports and protocols
Permissions
A complete scan requires an account with domain administrator rights. Enter it asDOMAIN\user or user@domain.local.
A regular domain user is sufficient as long as the default configuration of
Active Directory has not been changed. The configuration partition and the
BitLocker recovery keys are then missing: the class msFVE-RecoveryInformation
is reserved for domain administrators.
To capture BitLocker recovery keys without a domain administrator, set up a
delegation: create a security group, grant it permissions on the
msFVE-RecoveryInformation objects through object management, and add the scan
account to the group.
If the scan runs without credentials of its own under the gateway’s service
account, that account needs the same rights.
Network requirements
- The firewall allows the ports above.
- The domain is entered with its FQDN, such as
docusnap.intern.
Discovery-ActiveDirectory.exe scan script—see
Scanning by Script.
Domain and credentials
The Domain step takes the Domain first and the Windows credentials below it. If the domain field is visible, it must be filled. You choose the credentials in a searchable picker. In first position stands the entry that lets the scan run under the gateway service’s account. Two rows above it create a new entry: New Credentials… a reusable one, One-Time Credentials… one that applies to this job only.Active Directory and Windows (AD) are the two modules where credentials are
not enforced: the step can be passed without an entry. Whether the scan then
succeeds depends on which account the gateway service runs under in your network.
For the first job an explicitly stored account is advisable.
Active Directory Options
The Domain step contains the Active Directory Options section. Customize opens two checkboxes; next to the button you see how many of them are selected, by default 2 of 2 selected.Common issues
Related modules
- Windows (AD) fetches the systems from the same directory instead of capturing the directory—see Windows. The two jobs complement each other.
- Windows DNS, Windows DHCP and DFS can have their targets searched for in Active Directory instead of having them typed in.
- NTFS Security discovers its servers through the directory and needs domain and credentials for that as well—see NTFS permissions.