Skip to content

WinPrep v0.1.0-alpha.1

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 23 Nov 15:52
· 11 commits to main since this release

WinPrep v0.1.0-alpha.1

First public build of WinPrep, a portable Windows utility for preparing,
testing, and resealing laptops for resale.

This is an alpha prerelease. The program's own validation has run, but the
full Windows lifecycle (install Windows, enter Audit Mode, run the real
handover, confirm first-time setup on the next boot) has not yet been
executed on a reference machine. Treat the handover operation as unverified
until that testing is done, and always try it on a disposable installation
first.

What is included

  • Interactive terminal menu (keyboard navigation, ASCII-safe rendering,
    plain fallback menu for restricted consoles)
  • winprep status - read-only summary of the Windows installation and
    setup state, with conservative multi-signal Audit Mode detection
  • winprep persist - verifies a laptop in Audit Mode is ready for repeated
    customer demonstrations (no system changes; Audit Mode persists by design)
  • winprep check - read-only diagnostics: computer details, storage with
    health and the Windows disk identified, battery capacity and estimated
    health, Device Manager problem devices, activation state; optional report
    export and Windows battery report
  • winprep clean - the handover: preflight safety inspection with explicit
    ready/attention/blocked verdicts, removal of WinPrep's own recorded
    artifacts, deliberate confirmation, then Sysprep.exe /oobe /shutdown;
    --dry-run performs the inspection without changing anything

What has been tested

  • Cross-platform unit tests over fakes (audit-state rules, preflight
    verdicts, diagnostics parsing, manifest handling, CLI flows, TUI
    navigation, confirmation gating, fallback menu)
  • Windows integration tests on a GitHub Actions Windows runner: real
    registry reads, token inspection, process listing, end-to-end runs of the
    executable, dry-run refusal on a deployed machine, execution from paths
    with spaces
  • Cross-compilation from Linux for Windows/amd64

What has NOT been tested

  • The real handover on an Audit Mode installation, and the resulting OOBE
    behavior. A successful Sysprep launch is not proof that first-time setup
    works; verify on your own machine before selling a laptop prepared with
    this version.
  • Classic Windows Command Prompt, Windows Terminal, and PowerShell hosting
    beyond what the CI runner exercises.

Supported platforms

Windows 10 and Windows 11, x64. Windows 10 is past its general support end
date; compatibility does not imply continuing security updates from
Microsoft.

Important limitations

  • Resealing with Sysprep is not a factory reset and not a secure erase.
    Accounts, files, and traces from preparation and customer testing remain
    on the disk.
  • Audit Mode runs as the built-in Administrator. It is a preparation
    environment, not a secure public kiosk.
  • WinPrep never installs drivers, removes accounts, or disables Windows
    security features.

Download

WinPrep-v0.1.0-alpha.1-windows-amd64.zip contains winprep.exe, the
README, and the MIT license. Verify the download against SHA256SUMS.txt.
The archive's build provenance is attested through GitHub artifact
attestations.