Additional Information
Manage your PC`s drives: disks, partitions, volumes, or virtual hard disks
Latest Version | Microsoft DiskPart 5.1.3553 |
Requirements |
Windows XP/Vista/Windows 7/Windows 8/Windows 10 |
Updated | June 24, 2023 |
Author | Microsoft Corporation |
Category | Cleaning and Tweaking |
License | Freeware |
Language | English |
Download | 78 |
Overview
You can list the available objects and determine an object's number or drive letter by using the list disk, list volume, list partition, and list vdisk commands. The list disk, list vdisk, and list volume commands display all disks and volumes on the computer. However, the list partition command only displays partitions on the disk that has focus. When you use the list commands, an asterisk (*) appears next to the object with focus.
When you select an object, the focus remains on that object until you select a different object. For example, if the focus is set on disk 0 and you select volume 8 on disk 2, the focus shifts from disk 0 to disk 2, volume 8. Some commands automatically change the focus. For example, when you create a new partition, the focus automatically switches to the new partition.
You can only give focus to a partition on the selected disk. When a partition has focus, the related volume (if any) also has focus. When a volume has focus, the related disk and partition also have focus if the volume maps to a single specific partition. If this is not the case, focus on the disk and partition is lost.
You can run the following commands in the Microsoft Diskpart command interpreter:
- Active
- Add
- Assign
- Attach vdisk
- Attributes
- Automount
- Break
- Clean
- Compact vdisk
- Convert
- Create
- Delete
- Detach vdisk
- Detail
- Exit
- Expand vdisk
- Extend
- Filesystems
- Format
- GPT
- Help
- Import
- Inactive
- List
- Merge vdisk
- Offline
- Online
- Recover
- Rem
- Remove
- Repair
- Rescan
- Retain
- San
- Select
- Set id
- Shrink
- Uniqueid
Note: Membership in the local Administrators group, or equivalent, is the minimum required to run Disk Part. Applies To: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, and Windows Server 2008 R2, Windows Server 2008.