---
title: "Roles & the Schedule Service Account"
description: "Find which roles can set up the Access Analyzer Schedule Service Account and what rights its credentials need to schedule tasks and apply locks on jobs."
sidebar_position: 30
---

# Roles & the Schedule Service Account

After you enable Role-Based Access, a user or group with the appropriate access role has the ability
to schedule a job or job group as a Schedule Service Account at the **Settings** > **Schedule**
node. You can add multiple accounts as needed.

**Who Configures This Account?**

- Administrator role
- Power User role
- Global Options Administrator role

Whose Credentials Should You Use for the Schedule Service Account?

- A user with either:

    - Administrator role
    - Power User role
    - Job Initiator role

:::note
to run or schedule a Host Inventory query, the Schedule Service Account must have
an Administrator, Power User, or Host Management Administrator role. Therefore, if the account has
the Job Initiator role assigned, it must have the Host Management Administrator role as well.
:::


Access Analyzer uses the Schedule Service Account to access the Task folders when scheduling tasks
and to apply locks on jobs.

- Schedule Tasks

    - to have the appropriate level of rights to schedule tasks, the credentials specified
      must at least have the following:

        - Create Files/Write Data rights on the Windows Task Folder
        - Create Files/Write Data rights on the System 32 Task folder
        - Otherwise, they should have local Administrator privileges on the Access Analyzer Console
          server

    - The user whose credentials are specified must also have a role that allows scheduling
      tasks – Administrator, Power User, or Job Initiator

- Apply Locks

    :::note
    If the Access Analyzer user whose credentials are used has the role of Job Initiator,
    the job must be locked in order for it to execute successfully.
    :::


    - Access Analyzer uses these credentials to apply locks on jobs, which lets the Job Approver
      have fewer rights on the Jobs directory. Therefore, the credentials specified must at least
      have the following:

        - Modify rights on this directory
        - Otherwise, these credentials should have local Administrator privileges on the Access
          Analyzer Console server

    - The Job Approver uses these credentials to apply locks. Therefore, you must add the Job
      Approver to the local policy **Impersonate a client after Authentication**.

Don't choose the **Use local System account to schedule tasks** option. This account doesn't have
the appropriate rights to apply locks on jobs. Therefore, it doesn't work in conjunction with Role
Based Access.

See the [Schedule](/docs/accessanalyzer/12.0/configuration/schedule.md) topic for additional instructions on configuring the Schedule
Service Account.

:::tip
Remember, these credentials must be for a user with local Administrator privileges or rights to
the Windows Task Folder and the System 32 Task folder on the Access Analyzer Console server.
:::
