Skip to content

Make the script resumable / idempotent across stages #4

Description

@ALERTua

Reported by @Eagle3386 in #1: the script had to be modified locally "to allow for continuing instead of running it all again".

Right now any failure in the middle of the run (BitLocker, formatting, Dev Drive trust) aborts everything, and re-running starts from partition creation. On a machine where a step legitimately fails, that means repeating destructive work.

To do:

  • make each stage idempotent: detect that the partition/volume/BitLocker protector already exists and skip instead of recreating
  • allow the run to be resumed from the stage that failed
  • decide whether this needs an explicit switch or should just be the default behaviour

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions