Formatting it from a specialize RunSynchronousCommand is not enough on its own. FolderLocations is applied by Shell-Setup while the disk is prepared by Deployment, and component order within a pass is not guaranteed -- so the relocation can be evaluated before the volume it names exists, which fails silently and leaves profiles on C:. That is what a correctly formatted data disk carrying nothing but NTFS metadata was telling us. Audit Mode is a fully booted OS with the disk already attached, so doing it before sysprep makes the volume unconditionally present by the time any pass looks for it. The specialize copy stays, now purely to re-assert the drive letter after generalize clears MountedDevices. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0117qMyjpuXsjpVAcpJbFD8g |
||
|---|---|---|
| .. | ||
| apps | ||
| essentials | ||
| registry | ||
| default-apps.nix | ||
| default.nix | ||
| generalize.nix | ||