[diskpart] hard disk operation command
Using DISKPART, diskpart is Microsoft's own disk management tool that can complete operations that graphical interfaces cannot.
help command.
1. Disk management, new disk prompt: due to the policy set by the administrator, the disk is offline.
1. Run: cmd
2. Input: DISKPART
3.DISKPART> san
4.DISKPART> san policy=onlineall
5.DISKPART>list disk
6.DISKPART> select disk 1
7.DISKPART>attributes disk clear readonly
8.DISKPART>online disk
Second, can not delete the hard disk hidden partition
DISKPART> select disk 1
Disk 1 is now the selected disk.
DISKPART> list partition
Partition ###Type Size Offset
------------- ---------------- ------- -------
Partition 3 reserves 1024 KB 17 KB
Partition 1 reserves 127 MB 1041 KB
Partition 2 Data 59 GB 128 MB
DISKPART> select partition 1
DISKPART> delete partition override