-
Notifications
You must be signed in to change notification settings - Fork 5
Configuring Windows Scheduled Tasks
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.
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.
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
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
🦎 Windows gecko - Desired state configuration for Windows devices · Repository · License
Windows gecko wiki
Getting Started
Feature Modules
- Configuring Windows Apps
- Configuring Windows branding
- Configuring Windows Config
- Configuring Windows Features
- Configuring Windows Files
- Configuring Windows Groups
- Configuring Windows Registry
- Configuring Windows Run
- Configuring Windows Scheduled Tasks
- Configuring Windows Services
- Configuring Windows TCR
Contributing