Skip to content

Configuring Windows Scheduled Tasks

Jesper Nielsen edited this page Mar 16, 2026 · 1 revision

Configure and reconfigure Windows Scheduled Tasks. Declaratively define whether specific scheduled tasks should be enabled or disabled.

Note

This feature module is currently in review / under design and not yet available for production use.

Overview

The windowsScheduledTasks module provides desired state configuration for Windows Scheduled Tasks, allowing administrators to declaratively define whether specific tasks should be enabled or disabled. This is useful for controlling system maintenance, telemetry, diagnostics, and other background operations across managed devices.

Each task entry in the configuration specifies a task name, display name, and desired state (Enabled or Disabled). The module compares the current state of each task against the desired state and only applies changes when they differ, ensuring non-destructive, idempotent operations.

Running tasks are automatically stopped before being disabled to prevent conflicts. Tasks that do not exist on the device are logged and skipped.

Design considerations

Open questions that will shape the final implementation.

  • Task path support for disambiguating tasks with identical names
  • Interaction with Group Policy-managed scheduled tasks
  • Whether to support task creation or only state management of existing tasks

Related resources

For more information, see the following resources.

Have an idea or want to help shape this module? Join the conversation in Discussions.


Page revised: March 4, 2026

Clone this wiki locally