Using Windows Task Scheduler to Run the Jamf PKI Proxy in the Background

Jamf PKI Proxy Installation and Configuration Guide

Solution
Application
Content Type
Technical Documentation
Utilities & Services
Jamf PKI Proxy
ft:locale
en-US

Requirements
  • Windows requires port :9443 or a specified port in the configuration opened for communication to work.

  • The certificates "keys" and the jamf-pki-proxy configuration file must be stored in the following location:
    C:\Users\YourUser\AppData\Local\Jamf
  1. Place the jamf-pki-proxy in a suitable location for the current user (e.g., C:\Users\yourUser\Jamf\jamf-pki-proxy).
    Note:

    Create the Jamf directory in the Users directory if it does not exist.

  2. Create the task in Windows Task Scheduler.

    The following image shows the General tab for the scheduled task.

    Ensure that the Run whether user is logged on or not option is selected to enable the jamf-pki-proxy to continue running after the user logs out.

    Screenshot of the General tab, showing the "Run whether user is logged on or not" button is selected.

    The image below shows an example of the action to be performed. Set the location to the jamf-pki-proxy and add the arguments start > dev/null. Adding the redirect > dev/null will prevent output from the jamf-pki-proxy being displayed in a new command prompt. All output from the jamf-pki-proxy will still be logged in Windows Application logs.

    Screenshot of the Actions tab, displaying the options for editing an action.

  3. Set a trigger action depending on preference of how and when this task should run.

    You can also manually start or stop this task via the Actions toolbar for this task.

  4. When the task starts to run, refresh the page in Jamf Pro to confirm that the connection was successful.