Skip to main content

Overview

AtlasOS uses the AME Wizard Playbook format to automate Windows modifications. The playbook is a structured directory containing configuration files, executables, and metadata that define how Atlas transforms Windows.

Directory Structure

The playbook is located at src/playbook/ and follows this structure:

playbook.conf File Format

The playbook.conf file is an XML configuration file that defines the playbook’s metadata, requirements, and user interface.

Basic Structure

Key Configuration Sections

Metadata Fields

Supported Windows Builds

playbook.conf:15-20

Requirements

The playbook enforces specific requirements before installation:
playbook.conf:22-29

Configuration Options

playbook.conf:30-40

Feature Pages

The playbook defines interactive setup pages for user customization:

Radio Pages (Single Choice)

playbook.conf:57-70

Checkbox Pages (Multiple Choice)

playbook.conf:99-115

Radio Image Pages (Visual Selection)

playbook.conf:141-174

OOBE Configuration

Controls the Out-Of-Box Experience:
playbook.conf:41-51

ISO Configuration

playbook.conf:52-55

How Playbooks Work

Execution Flow

  1. AME Wizard reads playbook.conf and validates requirements
  2. User Configuration - Users make selections through Feature Pages
  3. File Copying - Executables folder is copied to C:\Windows\AtlasDesktop and C:\Windows\AtlasModules
  4. Task Execution - Configuration/custom.yml orchestrates all tasks:
    • Loads default user registry hive
    • Copies files to Windows directory
    • Executes core configuration tasks from atlas/ folder
    • Applies tweaks from tweaks/ folder
    • Runs cleanup and optimization scripts
    • Unloads registry hive

Task Orchestration

The root configuration file (custom.yml) coordinates all tasks:

Action Types

Playbooks support various action types:
  • !powerShell - Execute PowerShell scripts
  • !cmd - Execute Command Prompt commands
  • !task - Reference another YAML configuration file
  • !writeStatus - Update installation progress text
  • !taskKill - Terminate processes
  • !run - Launch executables
  • !registryValue - Modify registry values
  • !scheduledTask - Configure scheduled tasks
  • !service - Configure Windows services

Building the Playbook

Creates the .apbx playbook package file.
The .apbx file is a compressed archive containing all playbook files that AME Wizard can execute.

Best Practices

  • Keep core system changes in Configuration/atlas/
  • Categorize tweaks by purpose (debloat, performance, privacy, qol, security)
  • Use descriptive file names that explain what the tweak does
  • Set wait: true for tasks that must complete before others
  • Use onUpgrade: false for tasks that should only run on fresh installs
  • Use oobe: false for tasks that should only run during actual installation
  • Use ignoreErrors: true for optional tasks
  • Use handleExitCodes: { "!0": halt } to stop on critical failures
  • Include fallback options for system-specific variations

Configuration Files

Learn about YAML configuration file structure

Executables

Explore scripts and tools in the Executables folder