Installing NiFi
Also available as:

Using a Domain User for NiFi Windows Service


  • The computer must be part of the domain.

  • The specified user must exist in the domain, and a correct password must be provided.

  • ActiveDirectory PowerShell module must be available.

  1. In the Group Policy Management Editor, set permission to ‘Log on as a service.’

    Figure 1.1. Log_on_as_service.png

  2. Navigate to a machine on which NiFi is installed and enter the following command:


    The gpupdate command is a machine-wide command and can be executed from any directory on the NiFi machine.

  3. Install the ActiveDirectory PowerShell module by entering the following in the PowerShell console:

    Add-WindowsFeature RSAT-AD-PowerShell
  4. In the HDF NiFi setup window, uncheck ‘Local User’ checkbox then click Install.

    Figure 1.2. HDF_NiFi_setup.png

After installation, you can update Java options at nifi-install-dir\conf\bootstrap.conf file. Repository locations are at nifi-install-dir\conf\ file.