Skip to content

Win zero-touch: fleetctl generates the provisioning folder #60907

Backlog

Description

@getvictor

Related user story

#57796

Task

Today, fleetctl package generates a fleetd installer that IT runs on a device that's already set up. This sub-issue makes fleetctl generate a folder with everything IT puts on a new device, so that Windows setup installs fleetd and the device reaches Fleet's sign-in page.

What changes:

  • fleetctl generates a folder with the fleetd installer (MSI), unattend.xml, a script that puts the files in place, and a README. It works on macOS, Windows, and Linux, and for x64 and ARM64 devices.
  • The installer includes the sign-in screen components, so setup shows Fleet's tile even if the device is offline. It also turns off Shift+F10, which opens a command prompt during Windows setup.
  • unattend.xml installs fleetd and skips the Windows account page. Windows requires it to create a local account, so each folder gets its own random password for that account. fleetd retires the account during setup.
  • The README lists the requirements: Windows MDM on, an IdP connected, and a supported device. It recommends turning on the managed local admin first, because without it, Ctrl+Shift+X can lead to a device nobody can sign in to.
  • A small fix: options from one MSI package no longer carry over to the next one built in the same run.

Out of scope: a provisioning package (.ppkg), and devices that were sealed again at the factory. Both need an investigation first.

Open questions

  • Command name. Either fleetctl provisioning-package or fleetctl package --provisioning. Product decides.
  • Supported devices. We still need to test which new devices from resellers and manufacturers work with the folder. Engineering investigates.
  • Windows 10. Windows 11 includes WebView2, which the sign-in page needs. Windows 10 may not. We recommend supporting only Windows 11 at first. Product decides.

Implementation notes: the windows-zero-touch OpenSpec change (#60856). Reference implementation: draft PR #60106.

Condition of satisfaction

  • The command generates a complete folder on macOS, Windows, and Linux, for x64 and ARM64.
  • A new Windows 11 VM set up from the folder installs fleetd during Windows setup, skips the account page, and reaches the sign-in screen with only Fleet's tile.
  • The same works if the device has no network during Windows setup.
  • Shift+F10 does nothing during Windows setup.
  • Two generated folders have different account passwords.
  • The account is a standard user if Windows still skips its account page that way. If it doesn't, the reason is written down.
  • The README covers the requirements, the supported devices, the steps, and the managed local admin warning.
  • Uninstalling fleetd during setup brings back the normal Windows sign-in screen.
  • A regular MSI has none of these changes.
  • Automated tests cover the generated files and the unchanged regular MSI.

Activity

  1. added this to the 5.1.0 milestone on Dec 4, 2026
  2. added
    ~sub-task
    on Dec 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ~sub-task

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions