Skip to content

Created Dev Drive volume ends up write-protected #3

Description

@ALERTua

Reported by @Eagle3386 in #1.

After the script creates the Dev Drive partition, the resulting volume is write-protected. The reporter was able to enable auto-unlock via PowerShell afterwards, but the volume stayed read-only.

Environment notes from the report:

  • no local admin rights; elevation obtained through Admin By Request
  • the run had already hit the Enable-BitLocker failure (see the BitLocker issue) and was resumed with a locally modified script, so the volume may have been left half-configured

To do:

  • reproduce: create a Dev Drive partition and check Get-Volume / Get-Partition attributes and Get-BitLockerVolume state
  • check whether the read-only state comes from a locked BitLocker volume rather than an actual write-protect flag
  • if the volume can legitimately end up locked, add a final verification step that confirms the drive is unlocked and writable before the script reports success

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