Directory agent: run it close to the domain controller

VaultPilot DC Agent Service is a Windows service that runs close to the domain controller. It syncs OU, group, and user metadata from the directory into VaultPilot. The AD bind password stays on the machine that runs the agent.

Runtime
Windows service near the DC
Credential entry
Local secure prompt
Sent to the server
OU, group, and user metadata
Current agent
1.2.27
Illustration of a directory agent enrolling next to the domain controller

Enroll and install the agent

In VaultPilot, create an agent record under Integrations > Active Directory. Download vaultpilot-dc-agent.ps1 from the release assets or from the interface. Run the generated install command on the agent machine in an Administrator PowerShell session. The command may still show older PassMan names for compatibility, so run it exactly as generated.

Secrets go in at the local prompt

The script asks in the local terminal for the domain controller, the bind username, and the bind password. The agent token is entered at the same secure prompt. Never put the token on the command line, where it ends up in terminal history. Prepare the following before you install.

What the agent collects and never sends

The agent collects only OU, group, and user metadata. It never reads or sends AD passwords, password hashes, Kerberos tickets, vault keys, or plaintext secrets.

Version and readiness checks

VaultPilot 3.0.3 ships DC Agent 1.2.27, and both the service wrapper and the PowerShell worker should report 1.2.27 and ready. A successful sync does not upgrade the agent. Unlocking an account, requiring a password change, assigning a random password, and disabling an account need at least 1.2.20; older agents keep syncing but cannot run these actions.

Repair, token replacement, and removal

For an installed service, replace the token with the command on the existing provider card. The old token stops working immediately. The repair command keeps the same Windows service and must contain only -PromptAgentToken; paste the new token only into the local prompt. To remove the agent, use -UninstallService.