Monday, April 12, 2021

How to delete Windows protected partition

How to delete Windows protected partition

Run diskpart in elevated command prompt, like:
c:\> diskpart
Then follow the prompts like below:
Microsoft DiskPart version 10.0.18362.1171

Copyright (C) Microsoft Corporation.
On computer: M1

DISKPART> list disk

  Disk ###  Status         Size     Free     Dyn  Gpt
  --------  -------------  -------  -------  ---  ---
  Disk 0    Online          180 GB    53 GB        *

DISKPART> select disk 0

Disk 0 is now the selected disk.

DISKPART> list partition

  Partition ###  Type              Size     Offset
  -------------  ----------------  -------  -------
  Partition 1    System             100 MB  1024 KB
  Partition 2    Reserved            16 MB   101 MB
  Partition 3    Primary            126 GB   117 MB
  Partition 4    Recovery           499 MB   126 GB

DISKPART> select partition 4
DISKPART> delete partition override
DISKPART> exit
Leaving DiskPart...

No comments:

Install Winget on Windows 2022 or Windows 10 LSTC

Install Winget on Windows 2022 or Windows 10 LTSC Install Pre-reqs Install Microsoft.UI.Xaml/2.8.6 Navigate to https://www.nuget.org/pa...