Skip to main content
Applies to BloodHound Enterprise only Use this guide to install SharpHound Enterprise on a domain-joined Windows server, upgrade an existing installation, or perform a headless installation for automated deployment workflows.

Before you begin

Install SharpHound Enterprise

1

Open the Download Collectors page

Sign in to your BloodHound Enterprise tenant.In the left menu, click Download Collectors.
2

Download the latest archive

Click the latest SharpHound Enterprise version to begin downloading the .zip archive.
SharpHound download option marked Latest
3

Prepare the target server

Connect to the server where you want to install the SharpHound Enterprise service.Confirm that your SharpHound service account is a member of the local Administrators group.
4

Extract the archive

Copy the downloaded .zip archive to the target server and extract it.
5

Install the service

Choose one of the following installation methods:
Use this method for standard installations where you can interact with the installer UI.
  1. Run SHSetup-v#.#.#.exe as an administrator.
  2. If Microsoft Defender SmartScreen displays the following warning, click More info.
    Microsoft Defender SmartScreen warning
    Confirm that the publisher is Specter Ops, Inc., then click Run anyway.
    SmartScreen prompt showing publisher details
  3. Select the installation path, then click Next. We recommend a path that low-privileged users cannot write to, such as the default C:\Program Files (x86)\SHService.
    SharpHound Enterprise installer path selection
  4. Click Install.
    SharpHound Enterprise installer ready to install
  5. Enter the SharpHound service account credentials in the format DOMAIN\username. If you use a gMSA, follow the guidance in SharpHound hardening: enter credentials for a standard user account that has local administrator access during installation, then switch the service to the gMSA after installation as described in Add the gMSA to the SharpHound Enterprise service.
    SharpHound Enterprise installer service account credentials screen
  6. Click Finish.
    SharpHound Enterprise installer completion screen
6

Confirm that the service is installed

Confirm that the SharpHoundDelegator service is present.Interactive installation
Services console showing the SharpHoundDelegator service
Headless installation
If you do not see the service, see I don’t see the SharpHoundDelegator service.
7

Switch the service account to a gMSA if needed

If you use a gMSA, change the service to run as the gMSA as described in Add the gMSA to the SharpHound Enterprise service.
8

Initialize the configuration directory

Start the service once.For headless installations, run the following command:
This initial startup fails, but it creates the configuration and log directory in the service account’s user profile: %AppData%\BloodHoundEnterprise.
9

Configure the service

Update settings.json and auth.json as described in SharpHound Enterprise Local Configuration.In most environments, update the following values:
  • In settings.json, set RestEndpoint to your BloodHound Enterprise tenant domain in the format CODENAME.bloodhoundenterprise.io.
  • In settings.json, if you use a proxy, set Proxy in the format proxy.acme.com:8080.
  • Create a BloodHound Enterprise collector client, then set Token and TokenID in auth.json to the generated values.
10

Start the service and verify readiness

Start the service.For headless installations, run the following command:
If the service does not start, see The SharpHoundDelegator service won’t start.
Return to BloodHound Enterprise and confirm that the client reports 🟢 Ready.
Collector client status showing Ready
Start data collection by doing one of the following:

Upgrade SharpHound Enterprise

1

Open the Download Collectors page

Sign in to your BloodHound Enterprise tenant.In the left menu, click Download Collectors.
2

Download the latest archive

Click the latest SharpHound Enterprise version to begin downloading the .zip archive.
Latest SharpHound download for upgrade
3

Run the installer on the SharpHound server

Connect to the SharpHound Enterprise server.Extract the .zip archive, then run SHSetup-v#.#.#.exe as an administrator.
4

Complete the upgrade

Click Finish.
SharpHound Enterprise installer finish screen after upgrade
5

Start the service

Start the SharpHoundDelegator service.
If the service does not start, see The SharpHoundDelegator service won’t start.
6

Verify the upgrade

Confirm that the service starts successfully and resumes normal communication with BloodHound Enterprise.

Common installation issues

I don’t see the SharpHoundDelegator service

This issue most often has one of the following causes:
  1. The service account was not added to the local Administrators group before installation.
  2. The credentials entered during installation were incorrect.
The installation log can help with troubleshooting. The file is InstallUtil.Install.Log in the installation directory. The default path is C:\Program Files (x86)\SHService\InstallUtil.Install.Log.
InstallUtil installation log in the SharpHound Enterprise installation directory

The SharpHoundDelegator service won’t start

Check the TempDirectory value in settings.json as described in SharpHound Enterprise Local Configuration. If TempDirectory is null, the service account does not have local administrator privileges. Add the service account to the local Administrators group, then restart the service. If TempDirectory is set to a directory, open that directory, locate service.log, and review the logged errors. Common issues include:
  • RestEndpoint cannot be resolved.
    • Confirm that RestEndpoint matches your BloodHound Enterprise tenant domain in the format CODENAME.bloodhoundenterprise.io.
    • Confirm that the host can resolve the domain from a command prompt.
  • RestEndpoint cannot be reached, such as by timeout or connection refusal.
    • Confirm that firewall exclusions for your BloodHound Enterprise tenant are configured correctly.
    • If you need an explicit proxy, configure it in settings.json.
    • Confirm TLS 1.2 connectivity to your BloodHound Enterprise tenant over port 443.