diskpart.exe DiskPart 71744b80a0ea46734c38d0a4593a6a63

File info

File name: diskpart.exe.mui
Size: 236544 byte
MD5: 71744b80a0ea46734c38d0a4593a6a63
SHA1: 63a153098e6803c309c24f911487a628c3b5858c
SHA256: 036611827ebfcc23880c3a833a7f8fa9aab20eada39dde0993c16c40f45bf21b
Operating systems: Windows 10
Extension: MUI
In x64: diskpart.exe DiskPart (32-bit)

Translations messages and strings

If an error occurred or the following message in English (U.S.) language and you cannot find a solution, than check answer in English. Table below helps to know how correctly this phrase sounds in English.

id English (U.S.) English
1
DiskPart was unable to mark the partition active.
Make sure the partition is valid.

DiskPart was unable to mark the partition active.
Make sure the partition is valid.
2
The selected disk is not a fixed MBR disk.
The ACTIVE command can only be used on fixed MBR disks.

The selected disk is not a fixed MBR disk.
The ACTIVE command can only be used on fixed MBR disks.
3
There is no partition selected.
Please select a partition and try again.

There is no partition selected.
Please select a partition and try again.
4
DiskPart marked the current partition as active.

DiskPart marked the current partition as active.
5
DiskPart was unable to add a mirror to the volume.
Please make sure the volume is valid for mirroring.

DiskPart was unable to add a mirror to the volume.
Please make sure the volume is valid for mirroring.
6
The volume you have selected may not be mirrored.
Please select a different volume to mirror.

The volume you have selected may not be mirrored.
Please select a different volume to mirror.
7
There is no disk specified to add as a mirror.
Please specify a disk using the DISK= parameter.

There is no disk specified to add as a mirror.
Please specify a disk using the DISK= parameter.
8
The volume you selected is not dynamic.
Please select a dynamic volume and try again.

The volume you selected is not dynamic.
Please select a dynamic volume and try again.
9
There is no volume selected to add the mirror.
Select a simple dynamic volume and try again.

There is no volume selected to add the mirror.
Select a simple dynamic volume and try again.
10
DiskPart succeeded in adding a mirror to the volume.

DiskPart succeeded in adding a mirror to the volume.
11
The disk you have specified is too small for the volume.
Please select a different disk for the mirror.

The disk you have specified is too small for the volume.
Please select a different disk for the mirror.
12disk disk
13hH? hH?
14letter letter
15mount mount
16sS sS
17/- /-
18vV vV
19
The specified letter has already been assigned to this drive.

The specified letter has already been assigned to this drive.
20
DiskPart could not assign the drive letter or mount point.
Make sure the drive letter or mount point is valid.

DiskPart could not assign the drive letter or mount point.
Make sure the drive letter or mount point is valid.
21
The letter you specified is not a valid volume letter.

The letter you specified is not a valid volume letter.
22
The volume you specified is not valid, or does not exist.
Use the RESCAN command to refresh your information.

The volume you specified is not valid, or does not exist.
Use the RESCAN command to refresh your information.
23
There are no free drive letters to assign to this volume.
Please free up a drive letter and try again.

There are no free drive letters to assign to this volume.
Please free up a drive letter and try again.
24
DiskPart cannot reassign the drive letter on a system, boot or pagefile volume.

DiskPart cannot reassign the drive letter on a system, boot or pagefile volume.
25
There is no volume specified.
Please select a volume and try again.

There is no volume specified.
Please select a volume and try again.
26
DiskPart assigned the drive letter, but your computer needs to be rebooted
before the changes take effect.

DiskPart assigned the drive letter, but your computer needs to be rebooted
before the changes take effect.
27
DiskPart successfully assigned the drive letter or mount point.

DiskPart successfully assigned the drive letter or mount point.
28
DiskPart failed to break the volume.
Make sure the volume is valid for breaking.

DiskPart failed to break the volume.
Make sure the volume is valid for breaking.
29
The volume you have selected has a missing plex.
To continue with the break use the NOKEEP parameter and try again.

The volume you have selected has a missing plex.
To continue with the break use the NOKEEP parameter and try again.
30
The disk specified is not valid to break the volume.
Please specify a valid disk using the DISK= parameter.

The disk specified is not valid to break the volume.
Please specify a valid disk using the DISK= parameter.
31
Only dynamic volumes may be broken.
Please select a dynamic mirror to break.

Only dynamic volumes may be broken.
Please select a dynamic mirror to break.
32
There is no volume selected to break.
Please select a dynamic mirror to break.

There is no volume selected to break.
Please select a dynamic mirror to break.
33
DiskPart successfully broke the mirror volume.

DiskPart successfully broke the mirror volume.
34
DiskPart succeeded in breaking the mirror, but was unable to locate resulting volumes.

DiskPart succeeded in breaking the mirror, but was unable to locate resulting volumes.
351394 1394
36IDE IDE
37SCSI SCSI
38Unknown Unknown
39USB USB
40
DiskPart was unable to clean the disk.
The data on this disk may be unrecoverable.

DiskPart was unable to clean the disk.
The data on this disk may be unrecoverable.
42
There is no disk selected.
Please select a disk and try again.

There is no disk selected.
Please select a disk and try again.
43
DiskPart succeeded in cleaning the disk.

DiskPart succeeded in cleaning the disk.
44active active
45On computer: %s
On computer: %s
46
There is no disk selected to convert.
Select a disk and try again.

There is no disk selected to convert.
Select a disk and try again.
47
The selected disk is not a dynamic disk.
Select a dynamic disk to convert to basic.

The selected disk is not a dynamic disk.
Select a dynamic disk to convert to basic.
48
The selected disk is not empty.
Please make sure the disk is empty before converting to basic.

The selected disk is not empty.
Please make sure the disk is empty before converting to basic.
49
DiskPart successfully converted the selected disk to basic format.

DiskPart successfully converted the selected disk to basic format.
50
The selected disk cannot be upgraded to dynamic.
Please select a valid basic disk to convert.

The selected disk cannot be upgraded to dynamic.
Please select a valid basic disk to convert.
51
DiskPart successfully converted the selected disk to dynamic format.

DiskPart successfully converted the selected disk to dynamic format.
52
You must reboot your computer to complete this operation.

You must reboot your computer to complete this operation.
53
The disk you specified cannot be converted to GPT.
Please select an empty basic MBR disk to convert.

The disk you specified cannot be converted to GPT.
Please select an empty basic MBR disk to convert.
54
DiskPart successfully converted the selected disk to GPT format.

DiskPart successfully converted the selected disk to GPT format.
55
The disk you specified cannot be converted to MBR.
Please select an empty basic GPT disk to convert.

The disk you specified cannot be converted to MBR.
Please select an empty basic GPT disk to convert.
56
DiskPart successfully converted the selected disk to MBR format.

DiskPart successfully converted the selected disk to MBR format.
57
Copyright (C) Microsoft Corporation.

Copyright (C) Microsoft Corporation.
58
DiskPart was unable to create the specified partition.

DiskPart was unable to create the specified partition.
59
The specified disk is not valid.
Please select a valid disk.

The specified disk is not valid.
Please select a valid disk.
60
There is no disk selected to create a partition.
Select a disk and try again.

There is no disk selected to create a partition.
Select a disk and try again.
61
DiskPart succeeded in creating the specified partition.

DiskPart succeeded in creating the specified partition.
62
The partition was created successfully.
It was automatically assigned a drive letter.

The partition was created successfully.
It was automatically assigned a drive letter.
64
DiskPart was unable to create the specified volume.
Please check your disks and parameters.

DiskPart was unable to create the specified volume.
Please check your disks and parameters.
65
There is no disk specified to create the volume.
Please specify a disk using the DISK= parameter.

There is no disk specified to create the volume.
Please specify a disk using the DISK= parameter.
66
DiskPart successfully created the volume.

DiskPart successfully created the volume.
67
DiskPart successfully created the volume, but was unable to select it.
Make sure the volume exists, and restart DiskPart if necessary.

DiskPart successfully created the volume, but was unable to select it.
Make sure the volume exists, and restart DiskPart if necessary.
68
The volume you have specified is too big for the specified disk(s).

The volume you have specified is too big for the specified disk(s).
69
You did not specify enough disks to create a RAID-5 set.
Please specify at least 3 disks.

You did not specify enough disks to create a RAID-5 set.
Please specify at least 3 disks.
70
You did not specify enough disks to create a stripe set.
Please specify at least 2 disks.

You did not specify enough disks to create a stripe set.
Please specify at least 2 disks.
71
The disk you specified cannot be deleted.
Please select an empty missing disk to delete.

The disk you specified cannot be deleted.
Please select an empty missing disk to delete.
72
There is no disk selected to delete.
Select a disk and try again.

There is no disk selected to delete.
Select a disk and try again.
73
DiskPart successfully deleted the missing disk.

DiskPart successfully deleted the missing disk.
74
The partition you selected is invalid.
Please select a different partition.

The partition you selected is invalid.
Please select a different partition.
75
There are no partitions selected.
Please select a partition, and try again.

There are no partitions selected.
Please select a partition, and try again.
77
DiskPart successfully deleted the selected partition.

DiskPart successfully deleted the selected partition.
78
DiskPart failed to delete the selected partition.
Please make sure the selected partition is valid to delete.

DiskPart failed to delete the selected partition.
Please make sure the selected partition is valid to delete.
79
DiskPart failed to delete the selected volume.
Please make sure the selected volume is valid to delete.

DiskPart failed to delete the selected volume.
Please make sure the selected volume is valid to delete.
80
The volume you have selected is not valid.
Please select a different volume to delete.

The volume you have selected is not valid.
Please select a different volume to delete.
81
There is no volume selected.
Please select a volume and try again.

There is no volume selected.
Please select a volume and try again.
82
DiskPart cannot delete volumes on removable media.

DiskPart cannot delete volumes on removable media.
83
The selected volume is necessary to the operation of your computer.
You may not delete this volume.

The selected volume is necessary to the operation of your computer.
You may not delete this volume.
84
DiskPart successfully deleted the volume.

DiskPart successfully deleted the volume.
85
%s
Disk ID: %s
Type : %s
Bus : %d
Target : %d
LUN ID : %d

%s
Disk ID: %s
Type : %s
Bus : %d
Target : %d
LUN ID : %d
86
There is no disk selected to list details for.
Please select a disk and try again.

There is no disk selected to list details for.
Please select a disk and try again.
87
Partition %lu
Type : %s
Hidden : %s
Required: %s
Attrib : %#.16I64X
Offset in Bytes: %-.27s

Partition %lu
Type : %s
Hidden : %s
Required: %s
Attrib : %#.16I64X
Offset in Bytes: %-.27s
88
Partition %lu
Type : %s
Hidden: %s
Active: %s
Offset in Bytes: %-.27s

Partition %lu
Type : %s
Hidden: %s
Active: %s
Offset in Bytes: %-.27s
91
There is no volume associated with this partition.

There is no volume associated with this partition.
92%2.2lX %2.2lX
93
Unknown partition type.

Unknown partition type.
94
There are no disks attached to this volume.

There are no disks attached to this volume.
96Errors Errors
97Foreign Foreign
98Missing Missing
99Offline Offline
100Online Online
102Unreadable Unreadable
103Disk ID: Disk ID:
104
DiskPart was unable to process the parameters.
Use 'diskpart /?' for more information.

DiskPart was unable to process the parameters.
Use 'diskpart /?' for more information.
105
DiskPart encountered an error starting the COM services.

DiskPart encountered an error starting the COM services.
106
That command could not be found in the command table.

That command could not be found in the command table.
107
DiskPart can only extend NTFS file systems.

DiskPart can only extend NTFS file systems.
108
DiskPart was unable to open or read the script file.
Make sure the file you specified exists.

DiskPart was unable to open or read the script file.
Make sure the file you specified exists.
109
DiskPart encountered an error starting the disk management services.

DiskPart encountered an error starting the disk management services.
110
DiskPart has run out of memory, and could not complete the operation.

DiskPart has run out of memory, and could not complete the operation.
111
DiskPart encountered an error while registering for PnP notifications.

DiskPart encountered an error while registering for PnP notifications.
112
The arguments you specified for this command are not valid.

The arguments you specified for this command are not valid.
113
The disk management services could not complete the operation.

The disk management services could not complete the operation.
114
Leaving DiskPart...

Leaving DiskPart...
115
DiskPart failed to extend the volume.
Please make sure the volume is valid for extending.

DiskPart failed to extend the volume.
Please make sure the volume is valid for extending.
116
You may not extend OEM, ESP, or recovery partitions, or, offline volumes.
The volume you have selected may not be extended.
Please select another volume and try again.

You may not extend OEM, ESP, or recovery partitions, or, offline volumes.
The volume you have selected may not be extended.
Please select another volume and try again.
117
There is no disk specified to extend the volume.
Please specify a disk using the DISK= parameter.

There is no disk specified to extend the volume.
Please specify a disk using the DISK= parameter.
120
DiskPart successfully extended the volume.

DiskPart successfully extended the volume.
121
There is not enough usable free space on specified disk(s) to extend the
volume.

There is not enough usable free space on specified disk(s) to extend the
volume.
122Mark the selected partition as active. Mark the selected partition as active.
123Add a mirror to a simple volume. Add a mirror to a simple volume.
124Assign a drive letter or mount point to the selected volume. Assign a drive letter or mount point to the selected volume.
125Break a mirror set. Break a mirror set.
126Clear the configuration information, or all information, off the
disk.
Clear the configuration information, or all information, off the
disk.
127Display a list of commands. Display a list of commands.
128Convert between different disk formats. Convert between different disk formats.
129Convert a disk from dynamic to basic. Convert a disk from dynamic to basic.
130Convert a disk from basic to dynamic. Convert a disk from basic to dynamic.
131Convert a disk from MBR to GPT. Convert a disk from MBR to GPT.
132Convert a disk from GPT to MBR. Convert a disk from GPT to MBR.
133Create a volume, partition or virtual disk. Create a volume, partition or virtual disk.
134Create a partition. Create a partition.
135Create a volume. Create a volume.
136Delete an object. Delete an object.
137Delete a missing disk from the disk list. Delete a missing disk from the disk list.
138Delete the selected partition. Delete the selected partition.
139Delete the selected volume. Delete the selected volume.
140Provide details about an object. Provide details about an object.
141Display the properties of the selected disk. Display the properties of the selected disk.
142Display the properties of the selected partition. Display the properties of the selected partition.
143Display the properties of the selected volume. Display the properties of the selected volume.
144Create an EFI system partition. Create an EFI system partition.
145Exit DiskPart. Exit DiskPart.
146Extend a volume. Extend a volume.
147Create an extended partition. Create an extended partition.
148Import a disk group. Import a disk group.
149Display a list of objects. Display a list of objects.
150Display a list of disks. For example, LIST DISK. Display a list of disks. For example, LIST DISK.
151Display a list of partitions on the selected disk.
For example, LIST PARTITION.
Display a list of partitions on the selected disk.
For example, LIST PARTITION.
152Display a list of volumes. For example, LIST VOLUME. Display a list of volumes. For example, LIST VOLUME.
153Create a logical drive. Create a logical drive.
154Create a Microsoft Reserved partition. Create a Microsoft Reserved partition.
155Online a disk that is currently marked as offline. Online a disk that is currently marked as offline.
156Create a primary partition. Create a primary partition.
157Create a software RAID-5 volume set. Create a software RAID-5 volume set.
158Does nothing. This is used to comment scripts. Does nothing. This is used to comment scripts.
159Remove a drive letter or mount point assignment. Remove a drive letter or mount point assignment.
160Rescan the computer looking for disks and volumes. Rescan the computer looking for disks and volumes.
161Shift the focus to an object. Shift the focus to an object.
162Shift the focus to a disk. For example, SELECT DISK. Shift the focus to a disk. For example, SELECT DISK.
163Shift the focus to a partition. For example, SELECT PARTITION. Shift the focus to a partition. For example, SELECT PARTITION.
164Shift the focus to a volume. For example, SELECT VOLUME. Shift the focus to a volume. For example, SELECT VOLUME.
165Create a simple volume. Create a simple volume.
166Create a stripe volume set. Create a stripe volume set.
167%-11.11s - %-.1009s
%-11.11s - %-.1009s
168
There is no disk selected to import.
Select a disk and try again.

There is no disk selected to import.
Select a disk and try again.
169
DiskPart successfully imported the disk group.

DiskPart successfully imported the disk group.
170171 CD-ROM 171 CD-ROM
172DVD-ROM DVD-ROM
173Mirror Mirror
174Partition Partition
175RAID-5 RAID-5
176Removable Removable
177Simple Simple
178Spanned Spanned
179Stripe Stripe
181* *
182
Disk ### Status Size Free Dyn Gpt
-------- ------------- ------- ------- --- ---

Disk ### Status Size Free Dyn Gpt
-------- ------------- ------- ------- --- ---
183%s Disk %-3lu %-13.13s %7s %7s %s %s
%s Disk %-3lu %-13.13s %7s %7s %s %s
184%s Disk M%-2lu %-13.13s %7s %7s %s %s
%s Disk M%-2lu %-13.13s %7s %7s %s %s
185
There are no fixed disks to show.

There are no fixed disks to show.
186
Partition ### Type Size Offset
------------- ---------------- ------- -------

Partition ### Type Size Offset
------------- ---------------- ------- -------
187%s Partition %-3.3s %-16.16s %-7.7s %-7.7s
%s Partition %-3.3s %-16.16s %-7.7s %-7.7s
188
There is no disk selected to list partitions.
Select a disk and try again.

There is no disk selected to list partitions.
Select a disk and try again.
189
There are no partitions on this disk to show.

There are no partitions on this disk to show.
190Dynamic Data Dynamic Data
191Dynamic Reserved Dynamic Reserved
192Extended Extended
193Free Free
194Logical Logical
195OEM OEM
196Primary Primary
197Reserved Reserved
198System System
200Unused Unused
201
Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------

Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
202At Risk At Risk
203Boot Boot
204Crashdmp Crashdmp
205Pagefile Pagefile
207%1.1s Volume %-3ld %c %-11.11s %-5.5s %-10.10s %-7.7s %-9.9s %-8.8s
%1.1s Volume %-3ld %c %-11.11s %-5.5s %-10.10s %-7.7s %-9.9s %-8.8s
208(%lu)%s
(%lu)%s
209%c:%s
%c:%s
210
There are no volumes.

There are no volumes.
211Failed Failed
212Failed Rd Failed Rd
213Healthy Healthy
214

215No No
216
DiskPart could not online the selected disk.

DiskPart could not online the selected disk.
217
DiskPart successfully onlined the selected disk.

DiskPart successfully onlined the selected disk.
218
No objects were selected to online.
Please select a disk or pack and try again.

No objects were selected to online.
Please select a disk or pack and try again.
219
DiskPart could not online the selected volume.

DiskPart could not online the selected volume.
220
DiskPart successfully onlined the selected volume.

DiskPart successfully onlined the selected volume.
221ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789`~!@#$%^&*()-_+[]{}':;/?,. ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789`~!@#$%^&*()-_+[]{}':;/?,.
222; ;
223 
2250123456789 0123456789
226"' "'
228%5I64d B %5I64d B
229%%4I64d %cB %%4I64d %cB
230-KMGTP? -KMGTP?
231
DISKPART

DISKPART
232
DiskPart could not remove the drive letter or mount point.
Make sure the drive letter or mount point is valid.

DiskPart could not remove the drive letter or mount point.
Make sure the drive letter or mount point is valid.
234
The selected volume has no letter or mount point to remove.

The selected volume has no letter or mount point to remove.
236
DiskPart successfully removed the drive letter, but your computer needs to be
rebooted before the changes take effect.

DiskPart successfully removed the drive letter, but your computer needs to be
rebooted before the changes take effect.
237
DiskPart successfully removed the drive letter or mount point.

DiskPart successfully removed the drive letter or mount point.
238
The letter you specified is not assigned to that volume.

The letter you specified is not assigned to that volume.
239
The specified mount point is not assigned to that volume.

The specified mount point is not assigned to that volume.
240
DiskPart has finished scanning your configuration.

DiskPart has finished scanning your configuration.
241mM mM
242
Disk %lu is now the selected disk.

Disk %lu is now the selected disk.
243
Disk M%lu is now the selected disk.

Disk M%lu is now the selected disk.
244
The disk you specified is not valid.

The disk you specified is not valid.
245
There is no disk selected.

There is no disk selected.
246
Partition %lu is now the selected partition.

Partition %lu is now the selected partition.
247
The specified partition is not valid.
Please select a valid partition.

The specified partition is not valid.
Please select a valid partition.
248
There is no disk selected to set the partition.
Select a disk and try again.

There is no disk selected to set the partition.
Select a disk and try again.
249
There is no partition selected.

There is no partition selected.
250
Volume %lu is the selected volume.

Volume %lu is the selected volume.
251
The volume you selected is not valid or does not exist.

The volume you selected is not valid or does not exist.
252
There is no volume selected.

There is no volume selected.
253
Microsoft DiskPart syntax:
diskpart [/s ] [/?]

/s - Use a DiskPart script.
/? - Show this help screen.

Microsoft DiskPart syntax:
diskpart [/s ] [/?]

/s - Use a DiskPart script.
/? - Show this help screen.
254
DiskPart is running in verbose mode.

DiskPart is running in verbose mode.
255DiskPart is starting the COM services.
DiskPart is starting the COM services.
256DiskPart is stopping the COM services.
DiskPart is stopping the COM services.
257DiskPart is starting the disk management services.
DiskPart is starting the disk management services.
258DiskPart is stopping the disk management services.
DiskPart is stopping the disk management services.
259DiskPart is registering for PnP notifications.
DiskPart is registering for PnP notifications.
260DiskPart is unregistering for PnP notifications.
DiskPart is unregistering for PnP notifications.
261DiskPart is using script mode.
DiskPart is using script mode.
262DiskPart is closing the script file.
DiskPart is closing the script file.
263DiskPart is using standard input mode.
DiskPart is using standard input mode.
264
Microsoft DiskPart version %d.%d.%d.%d

Microsoft DiskPart version %d.%d.%d.%d
274
Please wait while DiskPart scans your configuration...

Please wait while DiskPart scans your configuration...
275. .
276Yes Yes
277
The command you selected is not available with this version of Windows.

The command you selected is not available with this version of Windows.
278Place a retained partition under a simple volume. Place a retained partition under a simple volume.
279
This command is not valid for a basic disk partition or removable disk partition.

This command is not valid for a basic disk partition or removable disk partition.
280
The selected volume now has a partition associated with it.

The selected volume now has a partition associated with it.
281
One of the objects you are trying to edit has changed recently.
Please use the RESCAN command to scan your configuration for new information.

One of the objects you are trying to edit has changed recently.
Please use the RESCAN command to scan your configuration for new information.
282ATAPI ATAPI
283ATA ATA
284SSA SSA
285FIBRE FIBRE
286RAID RAID
287Not Ready Not Ready
288No Media No Media
289%s Disk %-3lu %-13.13s %7s %7s %s %s Pack %-3ld
%s Disk %-3lu %-13.13s %7s %7s %s %s Pack %-3ld
290
Plex ### Type Attrib Status Member ### Disk ### Status Dyn Gpt Extent
-------- ------- ------ --------- ---------- -------- --------- --- --- -------

Plex ### Type Attrib Status Member ### Disk ### Status Dyn Gpt Extent
-------- ------- ------ --------- ---------- -------- --------- --- --- -------
291Plex %-3lu %-7.7s %-6.6s %-9.9s
Plex %-3lu %-7.7s %-6.6s %-9.9s
292Member %-3lu
Member %-3lu
293Disk %-3lu %-9.9s %s %s %7s
Disk %-3lu %-9.9s %s %s %7s
295
The selected volume does not belong to any pack.

The selected volume does not belong to any pack.
296Display a list of packs. For example, LIST PACK. Display a list of packs. For example, LIST PACK.
297Display a list of providers. For example, LIST PROVIDER. Display a list of providers. For example, LIST PROVIDER.
298Shift the focus to a pack. For example, SELECT PACK. Shift the focus to a pack. For example, SELECT PACK.
299Merge a pack with the selected pack. Merge a pack with the selected pack.
300Move one or more disks from an online disk pack to a new offline
pack.
Move one or more disks from an online disk pack to a new offline
pack.
301Reduce the size of the selected volume. Reduce the size of the selected volume.
302Display the properties of the selected pack. Display the properties of the selected pack.
303
Pack ### Name Status Info
-------- ------------------------- ------- ----------------------

Pack ### Name Status Info
-------- ------------------------- ------- ----------------------
304%s Pack %-3lu %-25.25s %-7.7s %-22.22s
%s Pack %-3lu %-25.25s %-7.7s %-22.22s
309No Quorum No Quorum
311
There are no packs.

There are no packs.
312
There is no pack selected.
Please select a pack and try again.

There is no pack selected.
Please select a pack and try again.
313
There are no disks attached to this pack.

There are no disks attached to this pack.
314
There are no volumes attached to this pack.

There are no volumes attached to this pack.
315
Pack %lu is now the selected pack.

Pack %lu is now the selected pack.
316
The pack you specified is not valid.

The pack you specified is not valid.
317
There is no selected pack.

There is no selected pack.
318
Cannot delete a non-empty extended partition.

Cannot delete a non-empty extended partition.
319
The maximum number of partitions has already been reached.

The maximum number of partitions has already been reached.
325
Provider ### Name Version
------------ ----------------------------------------------- ----------

Provider ### Name Version
------------ ----------------------------------------------- ----------
326%s Provider %-3lu %-48.48s %-14.14s
%s Provider %-3lu %-48.48s %-14.14s
327
Cannot find the specifed volume.
Please make sure the specified volume exists.

Cannot find the specifed volume.
Please make sure the specified volume exists.
328
There is no volume in focus.
Select a volume and try again.

There is no volume in focus.
Select a volume and try again.
329
There is no size specified.
Specify a size and try again.

There is no size specified.
Specify a size and try again.
330
DiskPart successfully shrunk the volume by:

DiskPart successfully shrunk the volume by:
331
There is no pack with focus to merge into.
Please select a pack and try again.

There is no pack with focus to merge into.
Please select a pack and try again.
332
Could not find specified pack number.
Please specify another pack using the PACK= parameter.

Could not find specified pack number.
Please specify another pack using the PACK= parameter.
333
DiskPart merged packs successfully, but your computer needs to be rebooted for
the changes to take effect.

DiskPart merged packs successfully, but your computer needs to be rebooted for
the changes to take effect.
334
DiskPart merged packs successfully.

DiskPart merged packs successfully.
335
The specified pack is the same as the in-foucs pack.
Cannot merge a pack into itself.

The specified pack is the same as the in-foucs pack.
Cannot merge a pack into itself.
336
There is no pack in focus.
Select a pack and try again.

There is no pack in focus.
Select a pack and try again.
337
There are no disks specified to split.
Specify disks with DISK=[,[,...]] and try again.

There are no disks specified to split.
Specify disks with DISK=[,[,...]] and try again.
338
DiskPart successfully split the pack, but your computer needs to be rebooted
before the changes take effect.

DiskPart successfully split the pack, but your computer needs to be rebooted
before the changes take effect.
339
DiskPart successfully split the pack.

DiskPart successfully split the pack.
340
Selected disk is already a dynamic disk.

Selected disk is already a dynamic disk.
341
The disk you specified is not empty.
Please select an empty GPT disk to convert.

The disk you specified is not empty.
Please select an empty GPT disk to convert.
342
The disk you specified is not GPT formatted.
Please select an empty GPT disk to convert.

The disk you specified is not GPT formatted.
Please select an empty GPT disk to convert.
343
The disk you specified is not empty.
Please select an empty MBR disk to convert.

The disk you specified is not empty.
Please select an empty MBR disk to convert.
344
The disk you specified is not MBR formatted.
Please select an empty MBR disk to convert.

The disk you specified is not MBR formatted.
Please select an empty MBR disk to convert.
345
DiskPart brought the selected pack online.

DiskPart brought the selected pack online.
346
The disk is not a fixed MBR disk.
The INACTIVE command can only be used on fixed MBR disks.

The disk is not a fixed MBR disk.
The INACTIVE command can only be used on fixed MBR disks.
347
DiskPart was unable to mark the partition inactive.
Make sure the partition is valid.

DiskPart was unable to mark the partition inactive.
Make sure the partition is valid.
348
The current partition is already marked inactive.

The current partition is already marked inactive.
349
DiskPart marked the current partition as inactive.

DiskPart marked the current partition as inactive.
351Mark the selected partition as inactive. Mark the selected partition as inactive.
352
DiskPart encountered an error while onlining the objects in the pack associated
with the selected disk.

DiskPart encountered an error while onlining the objects in the pack associated
with the selected disk.
353
DiskPart successfully onlined the selected disk's pack.

DiskPart successfully onlined the selected disk's pack.
354
The selected pack has no quorum.
Onlining of the pack may result in lost data.
If you still want to continue, try again with OVERRIDE parameter.

The selected pack has no quorum.
Onlining of the pack may result in lost data.
If you still want to continue, try again with OVERRIDE parameter.
355
DiskPart successfully onlined the selected pack, but your computer needs to be
rebooted for the changes to take effect.

DiskPart successfully onlined the selected pack, but your computer needs to be
rebooted for the changes to take effect.
356Disk M%-2lu %-9.9s %s %s %7s
Disk M%-2lu %-9.9s %s %s %7s
360Display the properties of the selected provider. Display the properties of the selected provider.
361Shift the focus to a provider. For example, SELECT PROVIDER. Shift the focus to a provider. For example, SELECT PROVIDER.
362Repair a RAID-5 volume with a failed member. Repair a RAID-5 volume with a failed member.
363%s Disk M%-2lu %-13.13s %7s %7s %s %s Pack %-3ld
%s Disk M%-2lu %-13.13s %7s %7s %s %s Pack %-3ld
364
Disk ### Status Size Free Dyn Gpt Pack ###
-------- ------------- ------- ------- --- --- --------

Disk ### Status Size Free Dyn Gpt Pack ###
-------- ------------- ------- ------- --- --- --------
367
DiskPart successfully repaired the selected volume.

DiskPart successfully repaired the selected volume.
368
There is not enough free space on the specified disks to hold the failed volume
member.

There is not enough free space on the specified disks to hold the failed volume
member.
369
DiskPart failed in repairing the selected volume.

DiskPart failed in repairing the selected volume.
370Assign attributes to the selected GPT partition. Assign attributes to the selected GPT partition.
372
The selected partition is not a GPT partition.
Please select a valid GPT partition and try again.

The selected partition is not a GPT partition.
Please select a valid GPT partition and try again.
373
DiskPart successfully assigned the attributes to the selected GPT partition.

DiskPart successfully assigned the attributes to the selected GPT partition.
375
DiskPart cannot assign a drive letter to a partition.
Please select a volume and try again.

DiskPart cannot assign a drive letter to a partition.
Please select a volume and try again.
376
The partition you specified is not an OEM, ESP or recovery partition.
Please select an OEM, ESP or recovery partition and try again.

The partition you specified is not an OEM, ESP or recovery partition.
Please select an OEM, ESP or recovery partition and try again.
377
DiskPart cannot assign a mount point to an OEM, ESP or recovery partition.
Please select a drive letter and try again.

DiskPart cannot assign a mount point to an OEM, ESP or recovery partition.
Please select a drive letter and try again.
378Rebuild Rebuild
379
The disk you specified is already part of this volume.
Please specify a new disk for the RAID-5 column.
If attempting to repair to the original failed disk, use ONLINE instead.

The disk you specified is already part of this volume.
Please specify a new disk for the RAID-5 column.
If attempting to repair to the original failed disk, use ONLINE instead.
380
A disk specified is not dynamic.
Please specify a dynamic disk and try again.

A disk specified is not dynamic.
Please specify a dynamic disk and try again.
381
The disk you selected is not dynamic.
Please select a dynamic disk and try again.

The disk you selected is not dynamic.
Please select a dynamic disk and try again.
382
The specified disks have less than 1 MB of free space available.
Please specify a disk with at least 1 MB available free space.

The specified disks have less than 1 MB of free space available.
Please specify a disk with at least 1 MB available free space.
383This version of DiskPart is not supported on this platform.
This version of DiskPart is not supported on this platform.
384
Cannot extend a basic volume to a different disk.
Please use extend without specifying a disk.

Cannot extend a basic volume to a different disk.
Please use extend without specifying a disk.
385
You have mirrored your current boot volume to an MBR disk.
You will not be able to boot from the plex on the MBR disk.

You have mirrored your current boot volume to an MBR disk.
You will not be able to boot from the plex on the MBR disk.
386
The selected volume is necessary to the operation of your computer.
You may not remove the drive letter from this volume.

The selected volume is necessary to the operation of your computer.
You may not remove the drive letter from this volume.
387
Automatic mounting of new volumes enabled.

Automatic mounting of new volumes enabled.
388
Automatic mounting of new volumes disabled.

Automatic mounting of new volumes disabled.
389
DiskPart successfully scrubbed the mount point settings in the system.

DiskPart successfully scrubbed the mount point settings in the system.
390Enable and disable automatic mounting of basic volumes. Enable and disable automatic mounting of basic volumes.
391
DiskPart successfully dismounted and offlined the volume.

DiskPart successfully dismounted and offlined the volume.
392
The selected volume has remaining drive letters or mount points.
Remove all drive letters and mount points and try again.

The selected volume has remaining drive letters or mount points.
Remove all drive letters and mount points and try again.
393
The specified volume cannot not be offlined.
Please specify another volume and try again.

The specified volume cannot not be offlined.
Please specify another volume and try again.
395
DiskPart cannot mirror the current boot volume on another disk with a different
partition style.

DiskPart cannot mirror the current boot volume on another disk with a different
partition style.
396
The selected partition is in use.
To continue with the delete use the OVERRIDE parameter.

The selected partition is in use.
To continue with the delete use the OVERRIDE parameter.
397
The selected volume is in use.
To continue with the delete use the OVERRIDE parameter.

The selected volume is in use.
To continue with the delete use the OVERRIDE parameter.
398Offline : %s
Offline : %s
399
Waiting for the mirror to be synchronized...

Waiting for the mirror to be synchronized...
400
The provider you selected is not valid or does not exist.

The provider you selected is not valid or does not exist.
401
Provider %u is the selected provider.

Provider %u is the selected provider.
402
There is no provider selected.

There is no provider selected.
403%luB; %luB;
404%luKB; %luKB;
405%luMB; %luMB;
406%luTB; %luTB;
407
There is no provider selected.
Please select a provider and try again.

There is no provider selected.
Please select a provider and try again.
408
Identifier : %s
Version : %s
Stripe Sizes:

Identifier : %s
Version : %s
Stripe Sizes:
409
Capabilities:

Capabilities:
410One Disk Only Per Pack One Disk Only Per Pack
411One Pack Online Only One Pack Online Only
412Dynamic Provider Dynamic Provider
414Dynamic Disks Supported Dynamic Disks Supported
415Fault Tolerant Supported Fault Tolerant Supported
417
%s

%s
418Corrupted Corrupted
421
DiskPart successfully formatted the volume.

DiskPart successfully formatted the volume.
422%3lu percent completed %3lu percent completed
423
The format has been initiated successfully and is currently in progress.
Please wait until format has completed before trying to access the volume.

The format has been initiated successfully and is currently in progress.
Please wait until format has completed before trying to access the volume.
424
Only NTFS, FAT32 and FAT are supported.
Please specify another file system and try again.

Only NTFS, FAT32 and FAT are supported.
Please specify another file system and try again.
425
NTFS compression is not supported for allocation unit sizes above 4096.
Please select a smaller allocation unit size and try again.

NTFS compression is not supported for allocation unit sizes above 4096.
Please select a smaller allocation unit size and try again.
426
Dynamic volumes only support the NTFS file system.
Please specify NTFS as the file system type and try again.

Dynamic volumes only support the NTFS file system.
Please specify NTFS as the file system type and try again.
427
Allocation Unit size must be power of 2.

Allocation Unit size must be power of 2.
428
The selected volume cannot be formatted.
Please select another volume and try again

The selected volume cannot be formatted.
Please select another volume and try again
429
NTFS is not supported for the selected volume.
Please select a different file system type and try again

NTFS is not supported for the selected volume.
Please select a different file system type and try again
430
FAT32 is not supported for the selected volume.
Please select a different file system type and try again

FAT32 is not supported for the selected volume.
Please select a different file system type and try again
431
FAT is not supported for the selected volume.
Please select a different file system type and try again

FAT is not supported for the selected volume.
Please select a different file system type and try again
432
You cannot format a system volume.

You cannot format a system volume.
433
You cannot format a boot volume.

You cannot format a boot volume.
434
The default file system type is NTFS.

The default file system type is NTFS.
435Format the volume or partition. Format the volume or partition.
436Change the partition type. Change the partition type.
437
The selected disk does not belong to any pack.

The selected disk does not belong to any pack.
438
The remove size is not valid.
For MBR disks the remove size should be at least 1 cylinder

The remove size is not valid.
For MBR disks the remove size should be at least 1 cylinder
439Invalid Invalid
440
This command only applies to a RAID-5 volume with a failed member.
The selected volume does not need to be repaired.

This command only applies to a RAID-5 volume with a failed member.
The selected volume does not need to be repaired.
441
The volume selected is not a mirror.
Please select a mirror and try again.

The volume selected is not a mirror.
Please select a mirror and try again.
442
The selected volume has more than one mount point and/or drive letter.
Use the REMOVE ALL DISMOUNT command to remove all the mount points and dismount
the volume.

The selected volume has more than one mount point and/or drive letter.
Use the REMOVE ALL DISMOUNT command to remove all the mount points and dismount
the volume.
450
DiskPart has referenced an object which is not up-to-date.
Refresh the object by using the RESCAN command.
If the problem persists exit DiskPart, then restart DiskPart or restart the
computer.

DiskPart has referenced an object which is not up-to-date.
Refresh the object by using the RESCAN command.
If the problem persists exit DiskPart, then restart DiskPart or restart the
computer.
451
DiskPart encountered an unrecoverable error.
Exit DiskPart, then restart DiskPart or restart the computer.

DiskPart encountered an unrecoverable error.
Exit DiskPart, then restart DiskPart or restart the computer.
452
DiskPart encountered an unexpected error.
Check the system event log for more information on the failure.

DiskPart encountered an unexpected error.
Check the system event log for more information on the failure.
453
The limit for dynamic disk configuration information has been reached.
Dynamic disks and volumes cannot be configured.
To continue configuring dynamic disks, remove some existing dynamic volumes or
disks and try again.

The limit for dynamic disk configuration information has been reached.
Dynamic disks and volumes cannot be configured.
To continue configuring dynamic disks, remove some existing dynamic volumes or
disks and try again.
454
The specified command or parameters are not supported on this system.

The specified command or parameters are not supported on this system.
455
DiskPart failed to update the boot configuration data.
Use bcdedit.exe to update it manually.

DiskPart failed to update the boot configuration data.
Use bcdedit.exe to update it manually.
460
The volume selected is currently rebuilding.

The volume selected is currently rebuilding.
461
The disk specified does not contain the volume.

The disk specified does not contain the volume.
462
The disk specified belongs to the current boot plex of the mirrored volume and
cannot be broken from the mirror.

The disk specified belongs to the current boot plex of the mirrored volume and
cannot be broken from the mirror.
465
DiskPart cannot extend an offline volume.
Online the volume using the ASSIGN or ONLINE command and try again.

DiskPart cannot extend an offline volume.
Online the volume using the ASSIGN or ONLINE command and try again.
466
You may not extend stripe/mirror/raid-5 volumes.
The volume you have selected may not be extended.
Please select another volume and try again.

You may not extend stripe/mirror/raid-5 volumes.
The volume you have selected may not be extended.
Please select another volume and try again.
467
DiskPart cannot extend the selected volume because it is offline.
Use the ONLINE command to attempt to online to volume, then try again.

DiskPart cannot extend the selected volume because it is offline.
Use the ONLINE command to attempt to online to volume, then try again.
469
DiskPart cannot extend the selected volume onto any additional disks because
the volume already spans the maximum number of disks.

DiskPart cannot extend the selected volume onto any additional disks because
the volume already spans the maximum number of disks.
470
DiskPart successfully extended the volume but failed to extend the file system.
To retry this operation use the DiskPart command EXTEND FILESYSTEM.

DiskPart successfully extended the volume but failed to extend the file system.
To retry this operation use the DiskPart command EXTEND FILESYSTEM.
471
DiskPart failed to extend the file system on the volume.

DiskPart failed to extend the file system on the volume.
472
DiskPart successfully extended the file system on the volume.

DiskPart successfully extended the file system on the volume.
475
The selected disk cannot be converted to dynamic because it is a shared disk in
a cluster.

The selected disk cannot be converted to dynamic because it is a shared disk in
a cluster.
476
The selected disk cannot be converted to dynamic because there is not enough
free space on the disk.
Free some space on the disk and try again.

The selected disk cannot be converted to dynamic because there is not enough
free space on the disk.
Free some space on the disk and try again.
480
The selected disk cannot be converted to GPT because it is a shared disk in a
cluster.

The selected disk cannot be converted to GPT because it is a shared disk in a
cluster.
485
The selected disk is not a foreign disk and does not need to be imported.

The selected disk is not a foreign disk and does not need to be imported.
490
The specified missing disk cannot be deleted because it contains volume
extents.
Remove the volume extents from the disk by breaking or deleting the volumes,
then try again.
To force the delete of the missing disk with volumes use the OVERRIDE
parameter.

The specified missing disk cannot be deleted because it contains volume
extents.
Remove the volume extents from the disk by breaking or deleting the volumes,
then try again.
To force the delete of the missing disk with volumes use the OVERRIDE
parameter.
495
DiskPart is unable to create the specified partition because the specified size
is less than the minimum size.
Specify a larger size and try again.

DiskPart is unable to create the specified partition because the specified size
is less than the minimum size.
Specify a larger size and try again.
496
No usable free extent could be found. It may be that there is insufficient
free space to create a partition at the specified size and offset. Specify
different size and offset values or don't specify either to create the
maximum sized partition. It may be that the disk is partitioned using the MBR disk
partitioning format and the disk contains either 4 primary partitions, (no
more partitions may be created), or 3 primary partitions and one extended
partition, (only logical drives may be created).

No usable free extent could be found. It may be that there is insufficient
free space to create a partition at the specified size and offset. Specify
different size and offset values or don't specify either to create the
maximum sized partition. It may be that the disk is partitioned using the MBR disk
partitioning format and the disk contains either 4 primary partitions, (no
more partitions may be created), or 3 primary partitions and one extended
partition, (only logical drives may be created).
497
Logical and extended partitions cannot be created on a GPT disk.
Instead create primary partitions on a GPT disk.

Logical and extended partitions cannot be created on a GPT disk.
Instead create primary partitions on a GPT disk.
498
MSR and EFI partitions are only supported on GPT disks.
Convert the selected disk to GPT and try again.

MSR and EFI partitions are only supported on GPT disks.
Convert the selected disk to GPT and try again.
499
Partitions cannot be created on a dynamic disks.
Instead use the CREATE VOLUME command to create volumes on a dynamic disk.

Partitions cannot be created on a dynamic disks.
Instead use the CREATE VOLUME command to create volumes on a dynamic disk.
501
The specified alignment is beyond the first cylinder.
Specify an alignment less than the first cylinder and try again.

The specified alignment is beyond the first cylinder.
Specify an alignment less than the first cylinder and try again.
502
An extended partition cannot be created within another extended partition.
Instead use the CREATE PARTITION LOGICAL command to create additional logical
drives within the extended partition.

An extended partition cannot be created within another extended partition.
Instead use the CREATE PARTITION LOGICAL command to create additional logical
drives within the extended partition.
503
There is currently no extended partition to create the logical drive in.
Create an extended partition then try again.

There is currently no extended partition to create the logical drive in.
Create an extended partition then try again.
505
The selected partition is a protected partition and may be necessary to the
operation of your computer.
If you are sure you want to delete the partition use the OVERRIDE parameter.

The selected partition is a protected partition and may be necessary to the
operation of your computer.
If you are sure you want to delete the partition use the OVERRIDE parameter.
510
The selected partition is not a data partition.
Only data partitions can be marked active or inactive.

The selected partition is not a data partition.
Only data partitions can be marked active or inactive.
511
The selected partition cannot be marked as an active partition because of its
type.

The selected partition cannot be marked as an active partition because of its
type.
515
DiskPart cannot assign a mount point to a hidden volume.
Select a drive letter to assign to the volume and try again.

DiskPart cannot assign a mount point to a hidden volume.
Select a drive letter to assign to the volume and try again.
516
The specified drive letter is already in use.
Select another drive letter that is free and try again.

The specified drive letter is already in use.
Select another drive letter that is free and try again.
520
The selected volume cannot be formatted because its status is failed.
Use the ONLINE command to attempt to repair the volume, then try again.

The selected volume cannot be formatted because its status is failed.
Use the ONLINE command to attempt to repair the volume, then try again.
525
The same disk was specified more than once.
Specify a different disk and try again.

The same disk was specified more than once.
Specify a different disk and try again.
526
DiskPart failed to set volume attributes.

DiskPart failed to set volume attributes.
527
Volume attributes set successfully.

Volume attributes set successfully.
528
DiskPart failed to clear volume attributes.

DiskPart failed to clear volume attributes.
529
Volume attributes cleared successfully.

Volume attributes cleared successfully.
530Read-only : %s
Read-only : %s
531Hidden : %s
Hidden : %s
532No Default Drive Letter: %s
No Default Drive Letter: %s
533Shadow Copy : %s
Shadow Copy : %s
534Manipulate volume attributes. Manipulate volume attributes.
535iSCSI iSCSI
536SATA SATA
537SAS SAS
538
DiskPart cannot create partitions beyond the 2TB mark on large MBR disks.
Convert the disk to the GPT partitioning style in order to use its full
capacity.

DiskPart cannot create partitions beyond the 2TB mark on large MBR disks.
Convert the disk to the GPT partitioning style in order to use its full
capacity.
539
DiskPart cannot extend partitions beyond the 2TB mark on large MBR disks.
Convert the disk to the GPT partitioning style in order to use its full
capacity.

DiskPart cannot extend partitions beyond the 2TB mark on large MBR disks.
Convert the disk to the GPT partitioning style in order to use its full
capacity.
540
DiskPart cannot convert MBR disks larger than 2TB to dynamic.
Convert the disk to the GPT partitioning style in order to enable the
conversion to dynamic.

DiskPart cannot convert MBR disks larger than 2TB to dynamic.
Convert the disk to the GPT partitioning style in order to enable the
conversion to dynamic.
541
You have mirrored your current boot volume to a GPT disk.
You will not be able to boot from the plex on the GPT disk.

You have mirrored your current boot volume to a GPT disk.
You will not be able to boot from the plex on the GPT disk.
543
The selected dynamic volume cannot be retained because it is not cylinder
aligned.
For more information on this command type: HELP RETAIN

The selected dynamic volume cannot be retained because it is not cylinder
aligned.
For more information on this command type: HELP RETAIN
544
DiskPart cannot online the selected disk because it is missing.

DiskPart cannot online the selected disk because it is missing.
545
DiskPart mirrored the selected volume however the mirrored volume failed to
synchronize.
To retry the synchronization use the ONLINE command on the volume.

DiskPart mirrored the selected volume however the mirrored volume failed to
synchronize.
To retry the synchronization use the ONLINE command on the volume.
546
The selected volume cannot be formatted because it is unmounted.
To mount the volume use the ASSIGN command to assign a drive letter to the
volume.

The selected volume cannot be formatted because it is unmounted.
To mount the volume use the ASSIGN command to assign a drive letter to the
volume.
547
The selected volume cannot be extended because the filesytem on the volume does
not support extending.
For more information type: HELP EXTEND.

The selected volume cannot be extended because the filesytem on the volume does
not support extending.
For more information type: HELP EXTEND.
548
DiskPart cannot change the type for Microsoft reserved partitions or dynamic
data partitions.
Select another partition and try again.

DiskPart cannot change the type for Microsoft reserved partitions or dynamic
data partitions.
Select another partition and try again.
549
The specified type is reserved for Microsoft reserved partitions or dynamic
data partitions.
Specify another type and try again.

The specified type is reserved for Microsoft reserved partitions or dynamic
data partitions.
Specify another type and try again.
550
The selected partition is currently in use.
To force the changing of the type use the OVERRIDE parameter.

The selected partition is currently in use.
To force the changing of the type use the OVERRIDE parameter.
551
The specified type is not in the correct format.
For more information on the command type: HELP SET

The specified type is not in the correct format.
For more information on the command type: HELP SET
552
DiskPart successfully set the partition ID.

DiskPart successfully set the partition ID.
553
DiskPart cannot create the partition because the selected removable disk
already has a partition present.
On removable disks, DiskPart only supports the creation of a single partition
covering the entire disk.

DiskPart cannot create the partition because the selected removable disk
already has a partition present.
On removable disks, DiskPart only supports the creation of a single partition
covering the entire disk.
554
DiskPart cannot create the partition because the size specified is less than
the size of the entire disk.
DiskPart only supports the creation of partitions that cover an entire
removable disk.
Try the command again without specifying a size and DiskPart will automatically
size the partition to cover the entire disk.

DiskPart cannot create the partition because the size specified is less than
the size of the entire disk.
DiskPart only supports the creation of partitions that cover an entire
removable disk.
Try the command again without specifying a size and DiskPart will automatically
size the partition to cover the entire disk.
557Unusable Unusable
558Volume Capacity : %s
Volume Capacity : %s
559Volume Free Space : %s
Volume Free Space : %s
561DiskPart has encountered an error: DiskPart has encountered an error:
562See the System Event Log for more information.
See the System Event Log for more information.
563Virtual Disk Service error:
Virtual Disk Service error:
564
The specified shrink size is too large.

The specified shrink size is too large.
565
A defragmentation or volume shrink operation is already in progress.
Only one of these operations can run at a time.
Wait until the current process finishes and then try again.

A defragmentation or volume shrink operation is already in progress.
Only one of these operations can run at a time.
Wait until the current process finishes and then try again.
566
The maximum number of reclaimable bytes is:

The maximum number of reclaimable bytes is:
567
Shrink is not supported on the selected volume.

Shrink is not supported on the selected volume.
568
DiskPart cannot shrink an offline volume.
Online the volume using the ASSIGN or ONLINE command and try again.

DiskPart cannot shrink an offline volume.
Online the volume using the ASSIGN or ONLINE command and try again.
569Call to Application Restart failed.
Application will not automatically restart after a hang or crash.
Call to Application Restart failed.
Application will not automatically restart after a hang or crash.
570
An error was encountered while acquiring information for volume:
%s.
DiskPart may not be able to list all information for this object.

An error was encountered while acquiring information for volume:
%s.
DiskPart may not be able to list all information for this object.
571
The selected volume or partition is in use.
To continue with the operation use the OVERRIDE parameter.

The selected volume or partition is in use.
To continue with the operation use the OVERRIDE parameter.
572BitLocker Encrypted : %s
BitLocker Encrypted : %s
573
BitLocker encryption and the encrypted data on the volume will be removed.
You may enable BitLocker again after formatting is complete.

BitLocker encryption and the encrypted data on the volume will be removed.
You may enable BitLocker again after formatting is complete.
575Hidden Hidden
576Display current and supported file systems on the volume. Display current and supported file systems on the volume.
578
Current File System

Current File System
579
File Systems Supported for Formatting

File Systems Supported for Formatting
580Type : %s
Type : %s
581Allocation Unit Size : %s
Allocation Unit Size : %s
582Allocation Unit Sizes: %s
Allocation Unit Sizes: %s
584(Default) (Default)
585(Recommended) (Recommended)
586, ,
587
No file systems are supported for formatting.

No file systems are supported for formatting.
588%u %u
589%uK %uK
590%X.%X%X %X.%X%X
591%X%X.%X%X %X%X.%X%X
594
DiskPart successfully split the disks, but your computer needs to be rebooted
before the changes take effect.

DiskPart successfully split the disks, but your computer needs to be rebooted
before the changes take effect.
596
DiskPart is not able to shrink the volume since the volume is in an
inconsistent state.
Please run chkdsk on this volume first.

DiskPart is not able to shrink the volume since the volume is in an
inconsistent state.
Please run chkdsk on this volume first.
608
DiskPart failed to clear disk attributes.

DiskPart failed to clear disk attributes.
609
Disk attributes cleared successfully.

Disk attributes cleared successfully.
610Read-only : %s
Read-only : %s
611Boot Disk : %s
Boot Disk : %s
612Manipulate disk attributes. Manipulate disk attributes.
614Display or set the SAN policy for the currently booted OS. Display or set the SAN policy for the currently booted OS.
615Import Failed Import Failed
616
DiskPart successfully changed the SAN policy for the current operating system.

DiskPart successfully changed the SAN policy for the current operating system.
617Online All Online All
618Offline Shared Offline Shared
619Offline All Offline All
621
SAN Policy : %s

SAN Policy : %s
622
The selected disk is the boot disk and may not be taken offline.

The selected disk is the boot disk and may not be taken offline.
623
The selected disk is the system disk and may not be taken offline.

The selected disk is the system disk and may not be taken offline.
624Offline Internal Offline Internal
625Pagefile Disk : %s
Pagefile Disk : %s
626Hibernation File Disk : %s
Hibernation File Disk : %s
627Crashdump Disk : %s
Crashdump Disk : %s
628Displays or sets the GUID partition table (GPT) identifier or
master boot record (MBR) signature of a disk.
Displays or sets the GUID partition table (GPT) identifier or
master boot record (MBR) signature of a disk.
629
No disk was selected.
Please move the focus to a disk and try again.

No disk was selected.
Please move the focus to a disk and try again.
630
Disk ID: %s

Disk ID: %s
631
The specified identifier is not in the correct format.
Type the identifier in the correct format:
in hexadecimal form for an MBR disk or as a GUID for a GPT disk.

The specified identifier is not in the correct format.
Type the identifier in the correct format:
in hexadecimal form for an MBR disk or as a GUID for a GPT disk.
632
The disk selected is not a GUID partition table (GPT) or master boot record (MBR) disk.
Please move the focus to a GPT or MBR disk.

The disk selected is not a GUID partition table (GPT) or master boot record (MBR) disk.
Please move the focus to a GPT or MBR disk.
633
DiskPart cannot offline the selected disk because it is missing.

DiskPart cannot offline the selected disk because it is missing.
634
No disk was selected to offline.
Please select a disk and try again.

No disk was selected to offline.
Please select a disk and try again.
635
DiskPart encountered an error while offlining the disk.

DiskPart encountered an error while offlining the disk.
636
DiskPart successfully offlined the selected disk.

DiskPart successfully offlined the selected disk.
637Unavailable Unavailable
638Not Supported Not Supported
640Offline an object that is currently marked as online. Offline an object that is currently marked as online.
642
DiskPart failed to set disk attributes.

DiskPart failed to set disk attributes.
643
Disk attributes set successfully.

Disk attributes set successfully.
644
A supported file system was not specified.
Please specify another file system and try again.
Use the FILESYSTEMS command to retrieve a list of supported file systems.

A supported file system was not specified.
Please specify another file system and try again.
Use the FILESYSTEMS command to retrieve a list of supported file systems.
645Online an object that is currently marked as offline. Online an object that is currently marked as offline.
646
No disk was selected to online.
Please select a disk and try again.

No disk was selected to online.
Please select a disk and try again.
649Manipulate volume or disk attributes. Manipulate volume or disk attributes.
650
The volume you selected to format is encrypted with BitLocker Drive Encryption.
BitLocker encryption will be removed and the encrypted data on the volume will be erased.
You may enable BitLocker again after formatting is complete.
To proceed with the format, run FORMAT again using the OVERRIDE parameter.

The volume you selected to format is encrypted with BitLocker Drive Encryption.
BitLocker encryption will be removed and the encrypted data on the volume will be erased.
You may enable BitLocker again after formatting is complete.
To proceed with the format, run FORMAT again using the OVERRIDE parameter.
651
The volume you selected to delete has been encrypted with BitLocker Drive Encryption.
If you delete the volume, all data will be lost.
To proceed with the deletion, run DELETE again using the OVERRIDE parameter.

The volume you selected to delete has been encrypted with BitLocker Drive Encryption.
If you delete the volume, all data will be lost.
To proceed with the deletion, run DELETE again using the OVERRIDE parameter.
652
The partition you selected to delete contains a volume that has been encrypted with BitLocker Drive Encryption.
If you delete the partition, all data in the volume will be lost.
To proceed with the deletion, run DELETE again using the OVERRIDE parameter.

The partition you selected to delete contains a volume that has been encrypted with BitLocker Drive Encryption.
If you delete the partition, all data in the volume will be lost.
To proceed with the deletion, run DELETE again using the OVERRIDE parameter.
653
The volume you selected still has an access path assigned to it.
Please remove the access paths and try again.

The volume you selected still has an access path assigned to it.
Please remove the access paths and try again.
654
The volume you selected does not support the offline operation.

The volume you selected does not support the offline operation.
655
An offline volume cannot be formatted.
Online the volume using the ASSIGN or ONLINE command and try again.

An offline volume cannot be formatted.
Online the volume using the ASSIGN or ONLINE command and try again.
656Create a mirror volume set. Create a mirror volume set.
657
You did not specify two disks to create a mirror set.
Please specify 2 disks.

You did not specify two disks to create a mirror set.
Please specify 2 disks.
658Recovery Recovery
659
You may not shrink OEM, ESP, or recovery partitions, or, offline volumes.
The volume you have selected may not be shrunk.
Please select another volume and try again.

You may not shrink OEM, ESP, or recovery partitions, or, offline volumes.
The volume you have selected may not be shrunk.
Please select another volume and try again.
660
You may not take an OEM, ESP, or recovery partition offline.
The volume you have selected can not be taken offline.
Please select another volume and try again.

You may not take an OEM, ESP, or recovery partition offline.
The volume you have selected can not be taken offline.
Please select another volume and try again.
661
This command does not operate on OEM, ESP, or recovery partitions.
Hidden volume such as OEM, ESP and recovery partitions are automatically
onlined by the system.
Please select another volume and try again.

This command does not operate on OEM, ESP, or recovery partitions.
Hidden volume such as OEM, ESP and recovery partitions are automatically
onlined by the system.
Please select another volume and try again.
662
The DUPLICATE parameter is supported only with the UDF file system type.

The DUPLICATE parameter is supported only with the UDF file system type.
663Flags : %s
Flags : %s
664%#8.8lX %#8.8lX
665Clustered Disk : %s
Clustered Disk : %s
853[Revision %s] [Revision %s]
1100
No objects were selected to recover.
Please select a disk and try again.

No objects were selected to recover.
Please select a disk and try again.
1102Refreshes the state of all disks in the selected pack.
Attempts recovery on disks in the invalid pack, and
resynchronizes mirrored volumes and RAID5 volumes
that have stale plex or parity data.
Refreshes the state of all disks in the selected pack.
Attempts recovery on disks in the invalid pack, and
resynchronizes mirrored volumes and RAID5 volumes
that have stale plex or parity data.
1103
DiskPart encountered an error.

DiskPart encountered an error.
1104
The RECOVER command completed successfully.

The RECOVER command completed successfully.
1106Offline a disk that is currently marked as online. Offline a disk that is currently marked as online.
1107
No volume was selected to offline.
Please select a volume and try again.

No volume was selected to offline.
Please select a volume and try again.
1108
DiskPart successfully offlined the selected volume.

DiskPart successfully offlined the selected volume.
1111
DiskPart could not offline the selected volume.

DiskPart could not offline the selected volume.
1112
No volume was selected to online.
Please select a volume and try again.

No volume was selected to online.
Please select a volume and try again.
1113Online a volume that is currently marked as offline. Online a volume that is currently marked as offline.
1114Offline a volume that is currently marked as online. Offline a volume that is currently marked as online.
1200Creates a virtual disk file. Creates a virtual disk file.
1201
DiskPart successfully created the virtual disk file.

DiskPart successfully created the virtual disk file.
1202
DiskPart was not able to find the Microsoft Virtual Disk Provider.

DiskPart was not able to find the Microsoft Virtual Disk Provider.
1203Shift the focus to a virtual disk. For example, SELECT VDISK. Shift the focus to a virtual disk. For example, SELECT VDISK.
1204
DiskPart successfully selected the virtual disk file.

DiskPart successfully selected the virtual disk file.
1205Attaches a virtual disk file. Attaches a virtual disk file.
1206
There is no virtual disk selected.
Please select a virtual disk and try again.

There is no virtual disk selected.
Please select a virtual disk and try again.
1207
DiskPart successfully attached the virtual disk file.

DiskPart successfully attached the virtual disk file.
1208Detaches a virtual disk file. Detaches a virtual disk file.
1209
DiskPart successfully detached the virtual disk file.

DiskPart successfully detached the virtual disk file.
1210Displays the properties of the selected virtual disk. Displays the properties of the selected virtual disk.
1211
State: %s

State: %s
1212
Device type ID: %lu (%s)

Device type ID: %lu (%s)
1213
Vendor ID: %s (%s)

Vendor ID: %s (%s)
1214
Virtual size: %s

Virtual size: %s
1215
Physical size: %s

Physical size: %s
1216
Filename: %s

Filename: %s
1218VHD VHD
1219ISO ISO
1220Microsoft Corporation Microsoft Corporation
1223Open Open
1224Attach pending Attach pending
1225Attached Attached
1226Detach pending Detach pending
1227Compacting Compacting
1228Merging Merging
1229Expanding Expanding
1230Attached not open Attached not open
1231
Associated disk#: Not found.

Associated disk#: Not found.
1232
Associated disk#: %d

Associated disk#: %d
1233Displays a list of virtual disks. Displays a list of virtual disks.
1234
VDisk ### Disk ### State Type File
--------- -------- -------------------- --------- ----

VDisk ### Disk ### State Type File
--------- -------- -------------------- --------- ----
1235%s VDisk %-3lu Disk %-3.3s %-20.20s %-10.10s %s
%s VDisk %-3lu Disk %-3.3s %-20.20s %-10.10s %s
1236
There are no virtual disks to show.

There are no virtual disks to show.
1237Expandable Expandable
1238Fixed Fixed
1239--- ---
1240Attempts to reduce the physical size of the file. Attempts to reduce the physical size of the file.
1241Merges a child disk with its parents. Merges a child disk with its parents.
1242Expands the maximum size available on a virtual disk. Expands the maximum size available on a virtual disk.
1243
DiskPart successfully compacted the virtual disk file.

DiskPart successfully compacted the virtual disk file.
1244
DiskPart successfully merged the differencing chain.

DiskPart successfully merged the differencing chain.
1245
DiskPart successfully expanded the virtual disk file.

DiskPart successfully expanded the virtual disk file.
1246
There is no virtual disk selected.

There is no virtual disk selected.
1248
There is no system disk to be selected.

There is no system disk to be selected.
1249
The start of the disk enumeration is not set.

The start of the disk enumeration is not set.
1250
Reached the end of the disk enumeration.

Reached the end of the disk enumeration.
1251
%s
Disk ID: %s
Type : %s
Status : %s
Path : %d
Target : %d
LUN ID : %d
Location Path : %s

%s
Disk ID: %s
Type : %s
Status : %s
Path : %d
Target : %d
LUN ID : %d
Location Path : %s
1253Installable : %s
Installable : %s
1254File Backed Virtual File Backed Virtual
1255%%4I64d %cB (%%4I64d MB) %%4I64d %cB (%%4I64d MB)
1256None None
1257Policy Policy
1258Redundant Path Redundant Path
1259Snapshot Snapshot
1260Signature Collision Signature Collision
1261Current Read-only State : %s
Current Read-only State : %s
1262
Parent Filename: %s

Parent Filename: %s
1263
Is Child: %s

Is Child: %s
1264Added Added
1265Deleted Deleted
1266Virtual Virtual
1267Spaces Spaces
1268Resource Exhaustion Resource Exhaustion
1269SD SD
1270Critical Write Failures Critical Write Failures
1271Data Integrity Scan Required Data Integrity Scan Required
1272NVMe NVMe
1273BckngWim BckngWim
1274Lost Data or Persistence Lost Data or Persistence
1275UFS UFS
0x40002EE3On disks with master boot record (MBR) disk formatting, marks the partition with focus as active.Syntax: ACTIVE Writes a value to the disk which is read by the basic input/output system (BIOS) at boot. This value specifies that the partition is a valid system partition. A partition must be selected for this operation to succeed. Caution: DiskPart verifies only that the partition is capable of containing the operating system startup files. DiskPart does not check the contents of the partition. If you mistakenly mark a partition as active and it does not contain the operating system startup files, your computer might not start.Example: ACTIVE On disks with master boot record (MBR) disk formatting, marks the partition with focus as active.Syntax: ACTIVE Writes a value to the disk which is read by the basic input/output system (BIOS) at boot. This value specifies that the partition is a valid system partition. A partition must be selected for this operation to succeed. Caution: DiskPart verifies only that the partition is capable of containing the operating system startup files. DiskPart does not check the contents of the partition. If you mistakenly mark a partition as active and it does not contain the operating system startup files, your computer might not start.Example: ACTIVE
0x40002EE5Mirrors the simple volume with focus to the specified disk.Syntax: ADD DISK= [ALIGN=] [WAIT] [NOERR] DISK= Specifies a disk, other than the one containing the existing simple volume, to contain the mirror. You can mirror only simple volumes. The specified disk must have unallocated space at least as large as the size of the simple volume you want to mirror. ALIGN= Typically used with hardware RAID Logical Unit Number (LUN) arrays to improve performance. Aligns all volume extents to the closest alignment boundary. The extent offsets will be a multiple of . WAIT Waits for the volume to finish synchronizing with the added disk before returning. Without the WAIT parameter, DiskPart returns after the mirrored volume is created and does not wait for the synchronization to complete. NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. A volume must be selected for this operation to succeed. Fault-tolerant volumes such as RAID-5 and mirrored volumes are not supported in any edition of Windows Vista. Example: ADD DISK=2 Mirrors the simple volume with focus to the specified disk.Syntax: ADD DISK= [ALIGN=] [WAIT] [NOERR] DISK= Specifies a disk, other than the one containing the existing simple volume, to contain the mirror. You can mirror only simple volumes. The specified disk must have unallocated space at least as large as the size of the simple volume you want to mirror. ALIGN= Typically used with hardware RAID Logical Unit Number (LUN) arrays to improve performance. Aligns all volume extents to the closest alignment boundary. The extent offsets will be a multiple of . WAIT Waits for the volume to finish synchronizing with the added disk before returning. Without the WAIT parameter, DiskPart returns after the mirrored volume is created and does not wait for the synchronization to complete. NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. A volume must be selected for this operation to succeed. Fault-tolerant volumes such as RAID-5 and mirrored volumes are not supported in any edition of Windows Vista. Example: ADD DISK=2
0x40002EE7Assigns a drive letter or mounted folder pathname to the volume with focus.Syntax: ASSIGN [LETTER= | MOUNT=] [NOERR] LETTER= The drive letter to assign to the volume. MOUNT= The mounted folder pathname to assign to the volume. NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. If no drive letter or mounted folder is specified, the next available drive letter is assigned. If the drive letter or mounted folder is already in use, an error is generated. By using the ASSIGN command, you can change the drive letter associated with a removable drive. You cannot assign drive letters to boot volumes or volumes that contain the paging file. In addition, you cannot assign a drive letter to an Original Equipment Manufacturer (OEM) partition unless booted to Windows PE, or any GUID Partition Table (GPT) partition other than a basic data partition, an ESP partition or a recovery partition. A volume must be selected for this operation to succeed.Example: ASSIGN LETTER=D Assigns a drive letter or mounted folder pathname to the volume with focus.Syntax: ASSIGN [LETTER= | MOUNT=] [NOERR] LETTER= The drive letter to assign to the volume. MOUNT= The mounted folder pathname to assign to the volume. NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. If no drive letter or mounted folder is specified, the next available drive letter is assigned. If the drive letter or mounted folder is already in use, an error is generated. By using the ASSIGN command, you can change the drive letter associated with a removable drive. You cannot assign drive letters to boot volumes or volumes that contain the paging file. In addition, you cannot assign a drive letter to an Original Equipment Manufacturer (OEM) partition unless booted to Windows PE, or any GUID Partition Table (GPT) partition other than a basic data partition, an ESP partition or a recovery partition. A volume must be selected for this operation to succeed.Example: ASSIGN LETTER=D
0x40002EE9Displays, sets, or clears volume attributes for the selected volume.Syntax: ATTRIBUTES VOLUME [SET | CLEAR] [HIDDEN | READONLY | NODEFAULTDRIVELETTER | SHADOWCOPY] [NOERR] SET Sets the specified attribute (HIDDEN, READONLY, and NODEFAULTDRIVELETTER or SHADOWCOPY) for the selected volume. CLEAR Clears the specified attribute (HIDDEN, READONLY, NODEFAULTDRIVELETTER or SHADOWCOPY) from the selected volume. HIDDEN Specifies that the volume is hidden. READONLY Specifies that the volume is read-only. NODEFAULTDRIVELETTER Specifies that the volume does not receive a drive letter by default. SHADOWCOPY Specifies that the volume is a shadow copy volume. NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. On basic master boot record (MBR) disks, the HIDDEN, READONLY, and NODEFAULTDRIVELETTER attributes apply to all volumes on the disk. On basic GUID partition table (GPT) disks, and on dynamic MBR and GPT disks, the HIDDEN, READONLY, and NODEFAULTDRIVELETTER attributes apply only to the selected volume.Example:To display the attributes on the selected volume, type:ATTRIBUTES VOLUMETo set the attribute on the selected volume as read-only, type:ATTRIBUTES VOLUME SET READONLYTo clear the read-only attribute from the selected volume, type:ATTRIBUTES VOLUME CLEAR READONLY Displays, sets, or clears volume attributes for the selected volume.Syntax: ATTRIBUTES VOLUME [SET | CLEAR] [HIDDEN | READONLY | NODEFAULTDRIVELETTER | SHADOWCOPY] [NOERR] SET Sets the specified attribute (HIDDEN, READONLY, and NODEFAULTDRIVELETTER or SHADOWCOPY) for the selected volume. CLEAR Clears the specified attribute (HIDDEN, READONLY, NODEFAULTDRIVELETTER or SHADOWCOPY) from the selected volume. HIDDEN Specifies that the volume is hidden. READONLY Specifies that the volume is read-only. NODEFAULTDRIVELETTER Specifies that the volume does not receive a drive letter by default. SHADOWCOPY Specifies that the volume is a shadow copy volume. NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. On basic master boot record (MBR) disks, the HIDDEN, READONLY, and NODEFAULTDRIVELETTER attributes apply to all volumes on the disk. On basic GUID partition table (GPT) disks, and on dynamic MBR and GPT disks, the HIDDEN, READONLY, and NODEFAULTDRIVELETTER attributes apply only to the selected volume.Example:To display the attributes on the selected volume, type:ATTRIBUTES VOLUMETo set the attribute on the selected volume as read-only, type:ATTRIBUTES VOLUME SET READONLYTo clear the read-only attribute from the selected volume, type:ATTRIBUTES VOLUME CLEAR READONLY
0x40002EEBEnables or disables the automount feature.Syntax: AUTOMOUNT [ENABLE] [DISABLE] [SCRUB] [NOERR] ENABLE Enables Windows to automatically assign drive letters to volumes that are added to the system. DISABLE Prevents Windows from automatically assigning drive letters to volumes that are added to the system. SCRUB Removes mounted folder pathnames, drive letters, mounted folder directories, and registry settings, for volumes that are no longer in the system. This prevents volumes that were previously in the system from being automatically assigned their former drive letters and mounted folder pathnames when they are reintroduced to the system. NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. When the AutoMount feature is enabled (the default on some versions of Windows Server), Windows automatically brings the volume online, and, assigns a drive letter and a volume GUID pathname to the volume, when the volume is added to the system. In storage area network (SAN) configurations, disabling AutoMount prevents Windows from automatically onlining the volume and assigning drive letters or volume GUID pathnames to any new volumes that are visible to the system. Note that the AutoMount feature could only be applied to basic disk volumes on Windows versions released prior to Windows Vista. Starting with Windows Vista, the AutoMount feature can be applied to both basic and dynamic disk volumes.Example: AUTOMOUNT AUTOMOUNT ENABLE AUTOMOUNT DISABLE Enables or disables the automount feature.Syntax: AUTOMOUNT [ENABLE] [DISABLE] [SCRUB] [NOERR] ENABLE Enables Windows to automatically assign drive letters to volumes that are added to the system. DISABLE Prevents Windows from automatically assigning drive letters to volumes that are added to the system. SCRUB Removes mounted folder pathnames, drive letters, mounted folder directories, and registry settings, for volumes that are no longer in the system. This prevents volumes that were previously in the system from being automatically assigned their former drive letters and mounted folder pathnames when they are reintroduced to the system. NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. When the AutoMount feature is enabled (the default on some versions of Windows Server), Windows automatically brings the volume online, and, assigns a drive letter and a volume GUID pathname to the volume, when the volume is added to the system. In storage area network (SAN) configurations, disabling AutoMount prevents Windows from automatically onlining the volume and assigning drive letters or volume GUID pathnames to any new volumes that are visible to the system. Note that the AutoMount feature could only be applied to basic disk volumes on Windows versions released prior to Windows Vista. Starting with Windows Vista, the AutoMount feature can be applied to both basic and dynamic disk volumes.Example: AUTOMOUNT AUTOMOUNT ENABLE AUTOMOUNT DISABLE
0x40002EEDBreaks the mirrored volume with focus into two simple volumes.Syntax: BREAK DISK= [NOKEEP] [NOERR] DISK= Specifies a disk that contains one copy of the mirror volume. When the command has completed, this disk is given focus, and the new volume created on this disk using the mirror volume extents does not retain any drive letters, volume GUID pathnames or mounted folder paths that had been associated with the mirror volume. If the mirror volume on the specified disk is used as a system or boot partition, the command fails. NOKEEP Specifies that only one copy of the mirror volume is retained; the mirror volume extents on disk are converted to free space. Neither the remaining copy of the mirror volume, nor the free space on disk receives the focus. NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. Applies to dynamic disks only. Breaks the mirrored volume with focus into two simple volumes. One simple volume retains the drive letter, volume GUID pathnames or mounted folder paths that had been associated with the mirror volume. The other simple volume receives the focus so you can assign it a new drive letter (it will automatically be assigned a volume GUID pathname). By default, the contents of both copies of the mirror are retained. Each copy becomes a simple volume. By using the NOKEEP parameter, you retain only one copy of the mirror volume as a simple volume, and the other copy is converted to free space. Neither volume receives the focus. A mirror volume must be selected for this operation to succeed.Example: BREAK DISK=2 Breaks the mirrored volume with focus into two simple volumes.Syntax: BREAK DISK= [NOKEEP] [NOERR] DISK= Specifies a disk that contains one copy of the mirror volume. When the command has completed, this disk is given focus, and the new volume created on this disk using the mirror volume extents does not retain any drive letters, volume GUID pathnames or mounted folder paths that had been associated with the mirror volume. If the mirror volume on the specified disk is used as a system or boot partition, the command fails. NOKEEP Specifies that only one copy of the mirror volume is retained; the mirror volume extents on disk are converted to free space. Neither the remaining copy of the mirror volume, nor the free space on disk receives the focus. NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. Applies to dynamic disks only. Breaks the mirrored volume with focus into two simple volumes. One simple volume retains the drive letter, volume GUID pathnames or mounted folder paths that had been associated with the mirror volume. The other simple volume receives the focus so you can assign it a new drive letter (it will automatically be assigned a volume GUID pathname). By default, the contents of both copies of the mirror are retained. Each copy becomes a simple volume. By using the NOKEEP parameter, you retain only one copy of the mirror volume as a simple volume, and the other copy is converted to free space. Neither volume receives the focus. A mirror volume must be selected for this operation to succeed.Example: BREAK DISK=2
0x40002EEFRemoves any and all partition or volume formatting from the disk with focus.Syntax: CLEAN [ALL] ALL Specifies that each and every byte\\sector on the disk is set to zero, which completely deletes all data contained on the disk. On master boot record (MBR) disks, only the MBR partitioning information and hidden sector information are overwritten. On GUID partition table (GPT) disks, the GPT partitioning information, including the Protective MBR, is overwritten. If the ALL parameter is not used, the first 1MB and the last 1MB of the disk are zeroed. This erases any disk formatting that had been previously applied to the disk. The disk's state after cleaning the disk is 'UNINITIALIZED'.Example: CLEAN Removes any and all partition or volume formatting from the disk with focus.Syntax: CLEAN [ALL] ALL Specifies that each and every byte\\sector on the disk is set to zero, which completely deletes all data contained on the disk. On master boot record (MBR) disks, only the MBR partitioning information and hidden sector information are overwritten. On GUID partition table (GPT) disks, the GPT partitioning information, including the Protective MBR, is overwritten. If the ALL parameter is not used, the first 1MB and the last 1MB of the disk are zeroed. This erases any disk formatting that had been previously applied to the disk. The disk's state after cleaning the disk is 'UNINITIALIZED'.Example: CLEAN
0x40002EF1Converts an empty dynamic disk to a basic disk.Syntax: CONVERT BASIC [NOERR] NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. A dynamic disk must be selected for this operation to succeed. Important: The disk must be empty to convert it to a dynamic disk. Back up your data, and then delete all partitions or volumes before converting the disk.Example: CONVERT BASIC Converts an empty dynamic disk to a basic disk.Syntax: CONVERT BASIC [NOERR] NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. A dynamic disk must be selected for this operation to succeed. Important: The disk must be empty to convert it to a dynamic disk. Back up your data, and then delete all partitions or volumes before converting the disk.Example: CONVERT BASIC
0x40002EF3Converts a basic disk into a dynamic disk.Syntax: CONVERT DYNAMIC [NOERR] NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. Any existing partitions on the basic disk become simple volumes. A basic disk must be selected for this operation to succeed.Example: CONVERT DYNAMIC Converts a basic disk into a dynamic disk.Syntax: CONVERT DYNAMIC [NOERR] NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. Any existing partitions on the basic disk become simple volumes. A basic disk must be selected for this operation to succeed.Example: CONVERT DYNAMIC
0x40002EF5Converts an empty basic disk with the master boot record (MBR) partition style into a basic disk with the GUID partition table (GPT) partition style.Syntax: CONVERT GPT [NOERR] NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. A basic MBR disk must be selected for this operation to succeed. The required minimum disk size for conversion to GPT is 128MB. Important: The disk must be empty to convert it to a GPT disk. Back up your data, and then delete all partitions or volumes before converting the disk.Example: CONVERT GPT Converts an empty basic disk with the master boot record (MBR) partition style into a basic disk with the GUID partition table (GPT) partition style.Syntax: CONVERT GPT [NOERR] NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. A basic MBR disk must be selected for this operation to succeed. The required minimum disk size for conversion to GPT is 128MB. Important: The disk must be empty to convert it to a GPT disk. Back up your data, and then delete all partitions or volumes before converting the disk.Example: CONVERT GPT
0x40002EF7Converts an empty basic disk with the GUID partition table (GPT) partition style to a basic disk with the master boot record (MBR) partition style.Syntax: CONVERT MBR [NOERR] NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. A basic GPT disk must be selected for this operation to succeed. Important: The disk must be empty to convert it to an MBR disk. Back up your data, and then delete all partitions or volumes before converting the disk.Example: CONVERT MBR Converts an empty basic disk with the GUID partition table (GPT) partition style to a basic disk with the master boot record (MBR) partition style.Syntax: CONVERT MBR [NOERR] NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. A basic GPT disk must be selected for this operation to succeed. Important: The disk must be empty to convert it to an MBR disk. Back up your data, and then delete all partitions or volumes before converting the disk.Example: CONVERT MBR
0x40002EF9Creates an Extensible Firmware Interface (EFI) system partition on a GUID partition table (GPT) disk.Syntax: CREATE PARTITION EFI [SIZE=] [OFFSET=] [NOERR] SIZE= The size of the partition in megabytes (MB). If no size is given, the partition continues until there is no more free space in the current region. OFFSET= The offset, in kilobytes (KB), at which the partition is created. If no offset is given, the partition is placed in the first disk extent that is large enough to hold it. NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. After the partition has been created, the focus is given to the new partition. A basic GPT disk must be selected for this operation to succeed.Example: CREATE PARTITION EFI SIZE=1000 Creates an Extensible Firmware Interface (EFI) system partition on a GUID partition table (GPT) disk.Syntax: CREATE PARTITION EFI [SIZE=] [OFFSET=] [NOERR] SIZE= The size of the partition in megabytes (MB). If no size is given, the partition continues until there is no more free space in the current region. OFFSET= The offset, in kilobytes (KB), at which the partition is created. If no offset is given, the partition is placed in the first disk extent that is large enough to hold it. NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. After the partition has been created, the focus is given to the new partition. A basic GPT disk must be selected for this operation to succeed.Example: CREATE PARTITION EFI SIZE=1000
0x40002EFBCreates an extended partition on the disk with focus. Applies to master boot record (MBR) disks only.Syntax: CREATE PARTITION EXTENDED [SIZE=] [OFFSET=] [ALIGN=] [NOERR] SIZE= The size of the partition in megabytes (MB). If no size is given, the partition continues until there is no more free space in the extended partition. OFFSET= The offset, in kilobytes (KB), at which the partition is created. If no offset is given, the partition will start at the beginning of the first free space on the disk that is large enough to hold the new partition. ALIGN= Typically used with hardware RAID Logical Unit Number (LUN) arrays to improve performance. The partition offset will be a multiple of . If the OFFSET parameter is specified, it will be rounded to the closest multiple of . NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. After the partition has been created, the focus automatically shifts to the new partition. Only one extended partition can be created per disk. This command fails if you attempt to create an extended partition within another extended partition. You must create an extended partition before you can create logical partitions. A basic MBR disk must be selected for this operation to succeed.Example: CREATE PARTITION EXTENDED SIZE=1000 Creates an extended partition on the disk with focus. Applies to master boot record (MBR) disks only.Syntax: CREATE PARTITION EXTENDED [SIZE=] [OFFSET=] [ALIGN=] [NOERR] SIZE= The size of the partition in megabytes (MB). If no size is given, the partition continues until there is no more free space in the extended partition. OFFSET= The offset, in kilobytes (KB), at which the partition is created. If no offset is given, the partition will start at the beginning of the first free space on the disk that is large enough to hold the new partition. ALIGN= Typically used with hardware RAID Logical Unit Number (LUN) arrays to improve performance. The partition offset will be a multiple of . If the OFFSET parameter is specified, it will be rounded to the closest multiple of . NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. After the partition has been created, the focus automatically shifts to the new partition. Only one extended partition can be created per disk. This command fails if you attempt to create an extended partition within another extended partition. You must create an extended partition before you can create logical partitions. A basic MBR disk must be selected for this operation to succeed.Example: CREATE PARTITION EXTENDED SIZE=1000
0x40002EFDCreates a logical partition in an extended partition. Applies to master boot record (MBR) disks only.Syntax: CREATE PARTITION LOGICAL [SIZE=] [OFFSET=] [ALIGN=] [NOERR] SIZE= The size of the partition in megabytes (MB). The partition is at least as big in bytes as the number specified by N. If you specify a size for the logical partition, it must be smaller than the extended partition. If no size is given, the partition continues until there is no more free space in the extended partition. OFFSET= The offset, in kilobytes (KB), at which the partition is created. If no offset is given, the partition is placed in the first disk extent that is large enough to hold it. ALIGN= Typically used with hardware RAID Logical Unit Number (LUN) arrays to improve performance. The partition offset will be a multiple of . If the OFFSET parameter is specified, it will be rounded to the closest multiple of . NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. After the partition has been created, the focus automatically shifts to the new logical partition. A basic MBR disk must be selected for this operation to succeed.Example: CREATE PARTITION LOGICAL SIZE=1000 Creates a logical partition in an extended partition. Applies to master boot record (MBR) disks only.Syntax: CREATE PARTITION LOGICAL [SIZE=] [OFFSET=] [ALIGN=] [NOERR] SIZE= The size of the partition in megabytes (MB). The partition is at least as big in bytes as the number specified by N. If you specify a size for the logical partition, it must be smaller than the extended partition. If no size is given, the partition continues until there is no more free space in the extended partition. OFFSET= The offset, in kilobytes (KB), at which the partition is created. If no offset is given, the partition is placed in the first disk extent that is large enough to hold it. ALIGN= Typically used with hardware RAID Logical Unit Number (LUN) arrays to improve performance. The partition offset will be a multiple of . If the OFFSET parameter is specified, it will be rounded to the closest multiple of . NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. After the partition has been created, the focus automatically shifts to the new logical partition. A basic MBR disk must be selected for this operation to succeed.Example: CREATE PARTITION LOGICAL SIZE=1000
0x40002EFFCreates a Microsoft Reserved (MSR) partition on a GUID partition table (GPT) disk.Syntax: CREATE PARTITION MSR [SIZE=] [OFFSET=] [NOERR] SIZE= The size of the partition in megabytes (MB). The partition is at least as big in bytes as the number specified by N. If no size is given, the partition continues until there is no more free space in the current region. OFFSET= The offset, in kilobytes (KB), at which the partition is created. If no offset is given, the partition is placed in the first disk extent that is large enough to hold it. NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. A basic GPT disk must be selected for this operation to succeed. Caution: Be very careful when using this command. Because GPT disks require a specific partition layout, creating Microsoft Reserved partitions could cause the disk to become unreadable. On GPT disks that are used to boot Windows, the EFI System partition is the first partition on the disk, followed by the Microsoft Reserved partition. GPT disks used only for data storage do not have an EFI System partition, in which case the Microsoft Reserved partition is the first partition. Windows does not online Microsoft Reserved partitions. You cannot store data on them and you cannot delete them.Example: CREATE PARTITION MSR SIZE=1000 Creates a Microsoft Reserved (MSR) partition on a GUID partition table (GPT) disk.Syntax: CREATE PARTITION MSR [SIZE=] [OFFSET=] [NOERR] SIZE= The size of the partition in megabytes (MB). The partition is at least as big in bytes as the number specified by N. If no size is given, the partition continues until there is no more free space in the current region. OFFSET= The offset, in kilobytes (KB), at which the partition is created. If no offset is given, the partition is placed in the first disk extent that is large enough to hold it. NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. A basic GPT disk must be selected for this operation to succeed. Caution: Be very careful when using this command. Because GPT disks require a specific partition layout, creating Microsoft Reserved partitions could cause the disk to become unreadable. On GPT disks that are used to boot Windows, the EFI System partition is the first partition on the disk, followed by the Microsoft Reserved partition. GPT disks used only for data storage do not have an EFI System partition, in which case the Microsoft Reserved partition is the first partition. Windows does not online Microsoft Reserved partitions. You cannot store data on them and you cannot delete them.Example: CREATE PARTITION MSR SIZE=1000
0x40002F01Creates a primary partition on the basic disk with focus.Syntax: CREATE PARTITION PRIMARY [SIZE=] [OFFSET=] [ID={ | }] [ALIGN=] [NOERR] SIZE= The size of the partition in megabytes (MB). If no size is given, the partition continues until there is no more unallocated space in the current region. OFFSET= The offset, in kilobytes (KB), at which the partition is created. If no offset is given, the partition is placed in the first disk extent that is large enough to hold it. ID={ | } Specifies the partition type. Intended for Original Equipment Manufacturer (OEM) use only. For master boot record (MBR) disks, you can specify a partition type byte, in hexadecimal form, for the partition. If this parameter is not specified for an MBR disk, the command creates a partition of type 0x06 (specifies no file system is installed). LDM data partition: 0x42 Recovery partition: 0x27 Recognized OEM Ids: 0x12 0x84 0xDE 0xFE 0xA0 For GUID partition table (GPT) disks you can specify a partition type GUID for the partition you want to create. Recognized GUIDs include: EFI System partition: c12a7328-f81f-11d2-ba4b-00a0c93ec93b Microsoft Reserved partition: e3c9e316-0b5c-4db8-817d-f92df00215ae Basic data partition: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7 LDM Metadata partition on a dynamic disk: 5808c8aa-7e8f-42e0-85d2-e1e90434cfb3 LDM Data partition on a dynamic disk: af9b60a0-1431-4f62-bc68-3311714a69ad Recovery partition: de94bba4-06d1-4d40-a16a-bfd50179d6ac If this parameter is not specified for a GPT disk, the command creates a basic data partition. Any partition type byte or GUID can be specified with this parameter. DiskPart does not check the partition type for validity except to ensure that it is a byte in hexadecimal form or a GUID. Caution: Creating partitions with this parameter might cause your computer to fail or be unable to start up. Unless you are an OEM or an IT professional experienced with GPT disks, do not create partitions on GPT disks using this parameter. Instead, always use the CREATE PARTITION EFI command to create EFI System partitions, the CREATE PARTITION MSR command to create Microsoft Reserved partitions, and the CREATE PARTITION PRIMARY command without this parameter to create primary partitions on GPT disks. ALIGN= Typically used with hardware RAID Logical Unit Number (LUN) arrays to improve performance. The partition offset will be a multiple of . If the OFFSET parameter is specified, it will be rounded to the closest multiple of . NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. After you create the partition, the focus automatically shifts to the new partition. The partition does not receive a drive letter. You must use the assign command to assign a drive letter to the partition. A basic disk must be selected for this operation to succeed. If a partition type is not specified, the disk is uninitialized and disk size is greater than 2TB, it will be initialized to GPT.Example: CREATE PARTITION PRIMARY SIZE=1000 CREATE PARTITION PRIMARY SIZE=128 ID=c12a7328-f81f-11d2-ba4b-00a0c93ec93b CREATE PARTITION PRIMARY SIZE=10000 ID=12 CREATE PARTITION PRIMARY SIZE=10000 ID=DE Creates a primary partition on the basic disk with focus.Syntax: CREATE PARTITION PRIMARY [SIZE=] [OFFSET=] [ID={ | }] [ALIGN=] [NOERR] SIZE= The size of the partition in megabytes (MB). If no size is given, the partition continues until there is no more unallocated space in the current region. OFFSET= The offset, in kilobytes (KB), at which the partition is created. If no offset is given, the partition is placed in the first disk extent that is large enough to hold it. ID={ | } Specifies the partition type. Intended for Original Equipment Manufacturer (OEM) use only. For master boot record (MBR) disks, you can specify a partition type byte, in hexadecimal form, for the partition. If this parameter is not specified for an MBR disk, the command creates a partition of type 0x06 (specifies no file system is installed). LDM data partition: 0x42 Recovery partition: 0x27 Recognized OEM Ids: 0x12 0x84 0xDE 0xFE 0xA0 For GUID partition table (GPT) disks you can specify a partition type GUID for the partition you want to create. Recognized GUIDs include: EFI System partition: c12a7328-f81f-11d2-ba4b-00a0c93ec93b Microsoft Reserved partition: e3c9e316-0b5c-4db8-817d-f92df00215ae Basic data partition: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7 LDM Metadata partition on a dynamic disk: 5808c8aa-7e8f-42e0-85d2-e1e90434cfb3 LDM Data partition on a dynamic disk: af9b60a0-1431-4f62-bc68-3311714a69ad Recovery partition: de94bba4-06d1-4d40-a16a-bfd50179d6ac If this parameter is not specified for a GPT disk, the command creates a basic data partition. Any partition type byte or GUID can be specified with this parameter. DiskPart does not check the partition type for validity except to ensure that it is a byte in hexadecimal form or a GUID. Caution: Creating partitions with this parameter might cause your computer to fail or be unable to start up. Unless you are an OEM or an IT professional experienced with GPT disks, do not create partitions on GPT disks using this parameter. Instead, always use the CREATE PARTITION EFI command to create EFI System partitions, the CREATE PARTITION MSR command to create Microsoft Reserved partitions, and the CREATE PARTITION PRIMARY command without this parameter to create primary partitions on GPT disks. ALIGN= Typically used with hardware RAID Logical Unit Number (LUN) arrays to improve performance. The partition offset will be a multiple of . If the OFFSET parameter is specified, it will be rounded to the closest multiple of . NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. After you create the partition, the focus automatically shifts to the new partition. The partition does not receive a drive letter. You must use the assign command to assign a drive letter to the partition. A basic disk must be selected for this operation to succeed. If a partition type is not specified, the disk is uninitialized and disk size is greater than 2TB, it will be initialized to GPT.Example: CREATE PARTITION PRIMARY SIZE=1000 CREATE PARTITION PRIMARY SIZE=128 ID=c12a7328-f81f-11d2-ba4b-00a0c93ec93b CREATE PARTITION PRIMARY SIZE=10000 ID=12 CREATE PARTITION PRIMARY SIZE=10000 ID=DE
0x40002F03Creates a RAID-5 volume using three or more specified dynamic disks.Syntax: CREATE VOLUME RAID [SIZE=] DISK=,,[,[,...]] [ALIGN=] [NOERR] SIZE= The amount of disk space, in megabytes (MB), that the volume will occupy on each disk. If no size is given, the largest possible RAID-5 volume will be created. The disk with the smallest available contiguous free space determines the size for the RAID-5 volume and the same amount of space is allocated from each disk. The actual amount of usable disk space in the RAID-5 volume is less than the combined amount of disk space because some of the disk space is required for parity. DISK=,,[,[,...]] The dynamic disks on which to create the RAID-5 volume. You need at least three dynamic disks in order to create a RAID-5 volume. An amount of space equal to the size specified in SIZE= is allocated on each disk. ALIGN= Typically used with hardware RAID Logical Unit Number (LUN) arrays to improve performance. Aligns all volume extents to the closest alignment boundary. The extent offsets will be a multiple of . NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. After you create the volume, the focus automatically shifts to the new volume. Fault-tolerant volumes such as RAID-5 and mirrored volumes are not supported in any edition of Windows Vista.Example: CREATE VOLUME RAID SIZE=1000 DISK=1,2,3 Creates a RAID-5 volume using three or more specified dynamic disks.Syntax: CREATE VOLUME RAID [SIZE=] DISK=,,[,[,...]] [ALIGN=] [NOERR] SIZE= The amount of disk space, in megabytes (MB), that the volume will occupy on each disk. If no size is given, the largest possible RAID-5 volume will be created. The disk with the smallest available contiguous free space determines the size for the RAID-5 volume and the same amount of space is allocated from each disk. The actual amount of usable disk space in the RAID-5 volume is less than the combined amount of disk space because some of the disk space is required for parity. DISK=,,[,[,...]] The dynamic disks on which to create the RAID-5 volume. You need at least three dynamic disks in order to create a RAID-5 volume. An amount of space equal to the size specified in SIZE= is allocated on each disk. ALIGN= Typically used with hardware RAID Logical Unit Number (LUN) arrays to improve performance. Aligns all volume extents to the closest alignment boundary. The extent offsets will be a multiple of . NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. After you create the volume, the focus automatically shifts to the new volume. Fault-tolerant volumes such as RAID-5 and mirrored volumes are not supported in any edition of Windows Vista.Example: CREATE VOLUME RAID SIZE=1000 DISK=1,2,3
0x40002F05Creates a simple volume.Syntax: CREATE VOLUME SIMPLE [SIZE=] [DISK=] [ALIGN=] [NOERR] SIZE= The size of the volume in megabytes (MB). If no size is given, the new volume takes up the remaining free space on the disk. DISK= The dynamic disk on which the volume is created. If no disk is given, the current disk is used. ALIGN= Typically used with hardware RAID Logical Unit Number (LUN) arrays to improve performance. Aligns all volume extents to the closest alignment boundary. The extent offsets will be a multiple of . NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. After you create the volume, the focus automatically shifts to the new volume.Example: CREATE VOLUME SIMPLE SIZE=1000 DISK=1 Creates a simple volume.Syntax: CREATE VOLUME SIMPLE [SIZE=] [DISK=] [ALIGN=] [NOERR] SIZE= The size of the volume in megabytes (MB). If no size is given, the new volume takes up the remaining free space on the disk. DISK= The dynamic disk on which the volume is created. If no disk is given, the current disk is used. ALIGN= Typically used with hardware RAID Logical Unit Number (LUN) arrays to improve performance. Aligns all volume extents to the closest alignment boundary. The extent offsets will be a multiple of . NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. After you create the volume, the focus automatically shifts to the new volume.Example: CREATE VOLUME SIMPLE SIZE=1000 DISK=1
0x40002F07Creates a striped volume using two or more specified dynamic disks.Syntax: CREATE VOLUME STRIPE [SIZE=] DISK=,[,[,...]] [ALIGN=] [NOERR] SIZE= The amount of disk space, in megabytes (MB), that the volume will occupy on each disk. If no size is given, the new volume takes up the remaining free space on the smallest disk and an equal amount of space on each subsequent disk. DISK=,[,[,...]] The dynamic disks on which the striped volume is created. You need at least two dynamic disks to create a striped volume. An amount of space equal to the size specified in SIZE= is allocated on each disk. ALIGN= Typically used with hardware RAID Logical Unit Number (LUN) arrays to improve performance. Aligns all volume extents to the closest alignment boundary. The extent offsets will be a multiple of . NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. After you create the volume, the focus automatically shifts to the new volume.Example: CREATE VOLUME STRIPE SIZE=1000 DISK=1,2 Creates a striped volume using two or more specified dynamic disks.Syntax: CREATE VOLUME STRIPE [SIZE=] DISK=,[,[,...]] [ALIGN=] [NOERR] SIZE= The amount of disk space, in megabytes (MB), that the volume will occupy on each disk. If no size is given, the new volume takes up the remaining free space on the smallest disk and an equal amount of space on each subsequent disk. DISK=,[,[,...]] The dynamic disks on which the striped volume is created. You need at least two dynamic disks to create a striped volume. An amount of space equal to the size specified in SIZE= is allocated on each disk. ALIGN= Typically used with hardware RAID Logical Unit Number (LUN) arrays to improve performance. Aligns all volume extents to the closest alignment boundary. The extent offsets will be a multiple of . NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. After you create the volume, the focus automatically shifts to the new volume.Example: CREATE VOLUME STRIPE SIZE=1000 DISK=1,2
0x40002F09Deletes a missing dynamic disk from the disk list.Syntax: DELETE DISK [NOERR] [OVERRIDE] NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. OVERRIDE Enables DiskPart to delete all simple volumes on the disk. If the disk contains half of a mirrored volume, the half of the mirror on the disk is deleted. The delete disk override command fails if the disk is a member of a RAID-5 volume. A missing dynamic disk must be selected for this operation to succeed.Example: DELETE DISK Deletes a missing dynamic disk from the disk list.Syntax: DELETE DISK [NOERR] [OVERRIDE] NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. OVERRIDE Enables DiskPart to delete all simple volumes on the disk. If the disk contains half of a mirrored volume, the half of the mirror on the disk is deleted. The delete disk override command fails if the disk is a member of a RAID-5 volume. A missing dynamic disk must be selected for this operation to succeed.Example: DELETE DISK
0x40002F0BDeletes the partition with focus.Syntax: DELETE PARTITION [NOERR] [OVERRIDE] NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. OVERRIDE Enables DiskPart to delete any partition regardless of type. Typically, DiskPart only permits you to delete known data partitions. You cannot delete the system partition, boot partition, or any partition that contains the active paging file or crash dump (memory dump) filed. A partition must be selected for this operation to succeed. Partitions cannot be deleted from dynamic disks or created on dynamic disks.Example: DELETE PARTITION Deletes the partition with focus.Syntax: DELETE PARTITION [NOERR] [OVERRIDE] NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. OVERRIDE Enables DiskPart to delete any partition regardless of type. Typically, DiskPart only permits you to delete known data partitions. You cannot delete the system partition, boot partition, or any partition that contains the active paging file or crash dump (memory dump) filed. A partition must be selected for this operation to succeed. Partitions cannot be deleted from dynamic disks or created on dynamic disks.Example: DELETE PARTITION
0x40002F0DDeletes the selected volume.Syntax: DELETE VOLUME [NOERR] NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. You cannot delete the current system volume, boot volume, or any volume that contains the active paging file or crash dump (memory dump) file. A volume must be selected for this operation to succeed.Example: DELETE VOLUME Deletes the selected volume.Syntax: DELETE VOLUME [NOERR] NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. You cannot delete the current system volume, boot volume, or any volume that contains the active paging file or crash dump (memory dump) file. A volume must be selected for this operation to succeed.Example: DELETE VOLUME
0x40002F0FDisplays the properties of the selected disk and the list of volumes on the disk.Syntax: DETAIL DISK A disk must be selected for this operation to succeed.Example: DETAIL DISK Displays the properties of the selected disk and the list of volumes on the disk.Syntax: DETAIL DISK A disk must be selected for this operation to succeed.Example: DETAIL DISK
0x40002F11Displays the properties for the selected partition.Syntax: DETAIL PARTITION A partition must be selected for this operation to succeed.Example: DETAIL PARTITION Displays the properties for the selected partition.Syntax: DETAIL PARTITION A partition must be selected for this operation to succeed.Example: DETAIL PARTITION
0x40002F13Displays the properties for the selected volume and the list of disks on which the volume resides.Syntax: DETAIL VOLUME A volume must be selected for this operation to succeed.Example: DETAIL VOLUME Displays the properties for the selected volume and the list of disks on which the volume resides.Syntax: DETAIL VOLUME A volume must be selected for this operation to succeed.Example: DETAIL VOLUME
0x40002F15Exits the DiskPart command interpreter.Syntax: EXITExample: EXIT Exits the DiskPart command interpreter.Syntax: EXITExample: EXIT
0x40002F17Extends the volume or partition with focus, and its file system, into free (unallocated) space on a disk.Syntax: EXTEND [SIZE=] [DISK=] [NOERR] EXTEND FILESYSTEM [NOERR] SIZE= Specifies the amount of space in megabytes (MB) to add to the current volume or partition. If no size is given, all of the contiguous free space that is available on the disk is used. DISK= Specifies the disk on which the volume or partition is extended. If no disk is specified, the volume or partition is extended on the current disk. FILESYSTEM Extends the file system of the volume with focus to cover the entire volume. For use only on volumes where the file system was not extended with the volume. NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. On basic disks, the free space must be on the same disk as the volume or partition with focus. The free space must also immediately follow the volume or partition with focus (start at the next sector offset). On dynamic disks with simple or spanned volumes, a volume can be extended to any free space on any dynamic disk. Using this command, you can convert a simple dynamic volume into a spanned dynamic volume. Mirrored, RAID-5 and striped volumes cannot be extended. If the partition was previously formatted with the NTFS file system, the file system is automatically extended to fill the larger partition. No data loss occurs. If the partition was previously formatted with a different file system than NTFS, the command fails with no change to the partition. If the partition was not previously formatted with a file system, the partition will still be extended. A volume or partition must be selected for this operation to succeed.Example: EXTEND SIZE=500 DISK=3 EXTEND FILESYSTEM Extends the volume or partition with focus, and its file system, into free (unallocated) space on a disk.Syntax: EXTEND [SIZE=] [DISK=] [NOERR] EXTEND FILESYSTEM [NOERR] SIZE= Specifies the amount of space in megabytes (MB) to add to the current volume or partition. If no size is given, all of the contiguous free space that is available on the disk is used. DISK= Specifies the disk on which the volume or partition is extended. If no disk is specified, the volume or partition is extended on the current disk. FILESYSTEM Extends the file system of the volume with focus to cover the entire volume. For use only on volumes where the file system was not extended with the volume. NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. On basic disks, the free space must be on the same disk as the volume or partition with focus. The free space must also immediately follow the volume or partition with focus (start at the next sector offset). On dynamic disks with simple or spanned volumes, a volume can be extended to any free space on any dynamic disk. Using this command, you can convert a simple dynamic volume into a spanned dynamic volume. Mirrored, RAID-5 and striped volumes cannot be extended. If the partition was previously formatted with the NTFS file system, the file system is automatically extended to fill the larger partition. No data loss occurs. If the partition was previously formatted with a different file system than NTFS, the command fails with no change to the partition. If the partition was not previously formatted with a file system, the partition will still be extended. A volume or partition must be selected for this operation to succeed.Example: EXTEND SIZE=500 DISK=3 EXTEND FILESYSTEM
0x40002F19On basic GUID partition table (GPT) disks, assigns the GPT attribute(s) to the partition with focus.Syntax: GPT ATTRIBUTES= ATTRIBUTES= The hexadecimal value indicating the attributes to apply to the partition with focus. The GPT attribute field is a 64-bit field that contains two subfields. The higher field is interpreted only in the context of a particular partition type GUID, while the lower field is common to all partition types. The following attribute can be set on any partition: 0x0000000000000001 marks the partition as required. This indicates to all disk management utilities that the partition should not be deleted. The EFI System partition contains only those binaries necessary to start the operating system. This makes it easy for original equipment manufacturer (OEM) or operating system-specific binaries to be placed in other partitions. For basic data partitions, the following attributes are defined: 0x8000000000000000 GPT_BASIC_DATA_ATTRIBUTE_NO_DRIVE_LETTER Prevents the partition from having a drive letter automatically assigned. By default, each partition is assigned a new drive letter and a volume GUID pathname. Both the drive letter and the volume GUID pathname can be used to open the volume using Win32 APIs. Setting this attribute ensures that when a disk is moved to a new computer, a new drive letter will not be automatically generated. Instead, the user can manually assign drive letters. 0x4000000000000000 GPT_BASIC_DATA_ATTRIBUTE_HIDDEN Defines the partition's volume as hidden. Setting this attribute specifies that the volume will not be assigned a drive letter or a volume GUID pathname. Both the drive letter and the volume GUID pathname can be used to open the volume using Win32 APIs. A hidden partition's volume is not reported by Win32 APIs such as FindFirstVolume and FindNextVolume. 0x2000000000000000 GPT_BASIC_DATA_ATTRIBUTE_SHADOW_COPY Defines the partition as being a Volume Snapshot Service shadow copy volume. Fle system filters use this flag to prevent the filter from attaching to the volume. 0x1000000000000000 GPT_BASIC_DATA_ATTRIBUTE_READ_ONLY Prevents the volume from being written to. Other attributes may be added by Microsoft at any time. GPT partition attributes give additional information about the use of the partition. A basic GPT partition must be selected for this operation to succeed. Caution: Changing the GPT attributes might cause your basic data volumes to fail to be assigned drive letters, or prevent the file system from mounting. Unless you are an original equipment manufacturer (OEM) or an IT professional experienced with GPT disks, do not change GPT attributes.Example: GPT ATTRIBUTES=0x8000000000000000 GPT ATTRIBUTES=0xF000000000000001 On basic GUID partition table (GPT) disks, assigns the GPT attribute(s) to the partition with focus.Syntax: GPT ATTRIBUTES= ATTRIBUTES= The hexadecimal value indicating the attributes to apply to the partition with focus. The GPT attribute field is a 64-bit field that contains two subfields. The higher field is interpreted only in the context of a particular partition type GUID, while the lower field is common to all partition types. The following attribute can be set on any partition: 0x0000000000000001 marks the partition as required. This indicates to all disk management utilities that the partition should not be deleted. The EFI System partition contains only those binaries necessary to start the operating system. This makes it easy for original equipment manufacturer (OEM) or operating system-specific binaries to be placed in other partitions. For basic data partitions, the following attributes are defined: 0x8000000000000000 GPT_BASIC_DATA_ATTRIBUTE_NO_DRIVE_LETTER Prevents the partition from having a drive letter automatically assigned. By default, each partition is assigned a new drive letter and a volume GUID pathname. Both the drive letter and the volume GUID pathname can be used to open the volume using Win32 APIs. Setting this attribute ensures that when a disk is moved to a new computer, a new drive letter will not be automatically generated. Instead, the user can manually assign drive letters. 0x4000000000000000 GPT_BASIC_DATA_ATTRIBUTE_HIDDEN Defines the partition's volume as hidden. Setting this attribute specifies that the volume will not be assigned a drive letter or a volume GUID pathname. Both the drive letter and the volume GUID pathname can be used to open the volume using Win32 APIs. A hidden partition's volume is not reported by Win32 APIs such as FindFirstVolume and FindNextVolume. 0x2000000000000000 GPT_BASIC_DATA_ATTRIBUTE_SHADOW_COPY Defines the partition as being a Volume Snapshot Service shadow copy volume. Fle system filters use this flag to prevent the filter from attaching to the volume. 0x1000000000000000 GPT_BASIC_DATA_ATTRIBUTE_READ_ONLY Prevents the volume from being written to. Other attributes may be added by Microsoft at any time. GPT partition attributes give additional information about the use of the partition. A basic GPT partition must be selected for this operation to succeed. Caution: Changing the GPT attributes might cause your basic data volumes to fail to be assigned drive letters, or prevent the file system from mounting. Unless you are an original equipment manufacturer (OEM) or an IT professional experienced with GPT disks, do not change GPT attributes.Example: GPT ATTRIBUTES=0x8000000000000000 GPT ATTRIBUTES=0xF000000000000001
0x40002F1BDisplays a list of the available commands or detailed help information for a specified command.Syntax: HELP [] The command for which to display detail help. If no command is specified, HELP will display all possible commands.Example: HELP HELP CREATE PARTITION PRIMARY Displays a list of the available commands or detailed help information for a specified command.Syntax: HELP [] The command for which to display detail help. If no command is specified, HELP will display all possible commands.Example: HELP HELP CREATE PARTITION PRIMARY
0x40002F1DImports a foreign disk group into the local computer's online disk group.Syntax: IMPORT [NOERR] NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. The command imports every disk that is in the same group as the disk with focus. A dynamic disk must be selected for this operation to succeed.Example: IMPORT Imports a foreign disk group into the local computer's online disk group.Syntax: IMPORT [NOERR] NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. The command imports every disk that is in the same group as the disk with focus. A dynamic disk must be selected for this operation to succeed.Example: IMPORT
0x40002F1FOn disks with master boot record (MBR) disk formatting, marks the partition with focus as inactive.Syntax: INACTIVE The computer may start from the next option specified in the BIOS such as a CD-ROM drive or a Pre-Boot eXecution Environment (PXE)-based boot environment (such as Remote Installation Services (RIS)) when you restart the computer. A partition must be selected for this operation to succeed. Caution: Your computer might not start without an active partition. Do not mark a system or boot partition as inactive unless you are an experienced user with a thorough understanding of Windows storage management.Example: INACTIVE On disks with master boot record (MBR) disk formatting, marks the partition with focus as inactive.Syntax: INACTIVE The computer may start from the next option specified in the BIOS such as a CD-ROM drive or a Pre-Boot eXecution Environment (PXE)-based boot environment (such as Remote Installation Services (RIS)) when you restart the computer. A partition must be selected for this operation to succeed. Caution: Your computer might not start without an active partition. Do not mark a system or boot partition as inactive unless you are an experienced user with a thorough understanding of Windows storage management.Example: INACTIVE
0x40002F21Displays a list of disks.Syntax: LIST DISK Displays a list of disks and information about them, such as their size, amount of available free space, whether the disk is a basic or dynamic disk, and whether the disk uses the master boot record (MBR) or GUID partition table (GPT) partition style. The disk marked with an asterisk (*) has focus. Note that the FREE column does not display the total amount of free space on the disk, but rather the amount of usable free space left on the disk. For example, if you have a 10GB disk with 4 primary partitions covering 5GB, there is no usable free space left (no more partitions may be created). Another example would be you have a 10GB disk with 3 primary partitions and an extended partition covering 8GB. The exended partition is of size 3GB with one logical drive of size 2GB. The disk will show only 1GB as free - the 1GB of free space in the extended partition.Example: LIST DISK Displays a list of disks.Syntax: LIST DISK Displays a list of disks and information about them, such as their size, amount of available free space, whether the disk is a basic or dynamic disk, and whether the disk uses the master boot record (MBR) or GUID partition table (GPT) partition style. The disk marked with an asterisk (*) has focus. Note that the FREE column does not display the total amount of free space on the disk, but rather the amount of usable free space left on the disk. For example, if you have a 10GB disk with 4 primary partitions covering 5GB, there is no usable free space left (no more partitions may be created). Another example would be you have a 10GB disk with 3 primary partitions and an extended partition covering 8GB. The exended partition is of size 3GB with one logical drive of size 2GB. The disk will show only 1GB as free - the 1GB of free space in the extended partition.Example: LIST DISK
0x40002F23Displays a list of partitions in the partition table for the selected disk.Syntax: LIST PARTITION On dynamic disks, the partitions do not neccessarily correspond to the dynamic volumes on the disk. Partitions may not be created or deleted on dynamic disks. A disk must be selected for this operation to succeed.Example: LIST PARTITION Displays a list of partitions in the partition table for the selected disk.Syntax: LIST PARTITION On dynamic disks, the partitions do not neccessarily correspond to the dynamic volumes on the disk. Partitions may not be created or deleted on dynamic disks. A disk must be selected for this operation to succeed.Example: LIST PARTITION
0x40002F25Displays a list of basic and dynamic volumes which are installed on the local machine.Syntax: LIST VOLUMEExample: LIST VOLUME Displays a list of basic and dynamic volumes which are installed on the local machine.Syntax: LIST VOLUMEExample: LIST VOLUME
0x40002F27Brings the selected offline disk to the online state.Syntax: ONLINE DISK [NOERR] NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. This command operates on a single disk. A disk must be selected for this operation to succeed. This command operates on a disk that is in SAN offline mode. If the disk is dynamic, it is both read only and offline, and, the desired state is read\\write and online, the suggested order of operations is to first make the disk read\\write, and then bring the disk online. If a dynamic read only disk is brought online, it's status will be 'Errors'. The reason for this is that when a dynamic disk is brought online, the volume manager must write to the Dynamic Disk Database on the disk to update it's state. These writes will fail if the dynamic disk is read only.Examples: ONLINE DISK Brings the selected offline disk to the online state.Syntax: ONLINE DISK [NOERR] NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. This command operates on a single disk. A disk must be selected for this operation to succeed. This command operates on a disk that is in SAN offline mode. If the disk is dynamic, it is both read only and offline, and, the desired state is read\\write and online, the suggested order of operations is to first make the disk read\\write, and then bring the disk online. If a dynamic read only disk is brought online, it's status will be 'Errors'. The reason for this is that when a dynamic disk is brought online, the volume manager must write to the Dynamic Disk Database on the disk to update it's state. These writes will fail if the dynamic disk is read only.Examples: ONLINE DISK
0x40002F29Removes a drive letter or mounted folder pathname from the volume with focus.Syntax: REMOVE [LETTER= | MOUNT= | ALL] [DISMOUNT] [NOERR] LETTER= The drive letter to be removed. MOUNT= The mounted folder path to be removed. ALL Removes all current drive letters and mounted folder paths. DISMOUNT This parameter may be used if 1) all drive letters and mounted folder paths have been removed from the volume, or 2) the ALL parameter is specified. This parameter specifies that the file system is to be dismounted and the volume taken offline. If other processes are using the volume, DiskPart closes any open handles before dismounting the file system and taking the volume offline. You can bring the volume online by assigning it a driver letter, by creating a mounted folder path to the volume, or by using the ONLINE command. DISMOUNT will fail if used on a volume that has any remaining drive letters or mounted folder paths. For scripting, using REMOVE ALL DISMOUNT is recommended. NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. If no drive letter or mounted folder path is specified, DiskPart removes the first drive letter or mounted folder path it encounters. If the ALL parameter is used, all current drive letters and mounted folder paths are removed. If the DISMOUNT parameter is used, DiskPart closes all open handles to the volume and then dismounts the volume and takes it offline. The REMOVE command can be used to change the drive letter associated with a removable drive. You cannot remove the drive letters on boot or paging volumes. A volume must be selected for this operation to succeed.Example: REMOVE LETTER=K REMOVE MOUNT=G:\\MountH REMOVE ALL DISMOUNT Removes a drive letter or mounted folder pathname from the volume with focus.Syntax: REMOVE [LETTER= | MOUNT= | ALL] [DISMOUNT] [NOERR] LETTER= The drive letter to be removed. MOUNT= The mounted folder path to be removed. ALL Removes all current drive letters and mounted folder paths. DISMOUNT This parameter may be used if 1) all drive letters and mounted folder paths have been removed from the volume, or 2) the ALL parameter is specified. This parameter specifies that the file system is to be dismounted and the volume taken offline. If other processes are using the volume, DiskPart closes any open handles before dismounting the file system and taking the volume offline. You can bring the volume online by assigning it a driver letter, by creating a mounted folder path to the volume, or by using the ONLINE command. DISMOUNT will fail if used on a volume that has any remaining drive letters or mounted folder paths. For scripting, using REMOVE ALL DISMOUNT is recommended. NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. If no drive letter or mounted folder path is specified, DiskPart removes the first drive letter or mounted folder path it encounters. If the ALL parameter is used, all current drive letters and mounted folder paths are removed. If the DISMOUNT parameter is used, DiskPart closes all open handles to the volume and then dismounts the volume and takes it offline. The REMOVE command can be used to change the drive letter associated with a removable drive. You cannot remove the drive letters on boot or paging volumes. A volume must be selected for this operation to succeed.Example: REMOVE LETTER=K REMOVE MOUNT=G:\\MountH REMOVE ALL DISMOUNT
0x40002F2BRepairs the RAID-5 volume with focus by replacing the failed RAID-5 member with the specified dynamic disk.Syntax: REPAIR DISK= [ALIGN=] [NOERR] DISK= Specifies the dynamic disk that will replace the failed RAID-5 member. The specified disk must have free space equal to or larger than the total size of the failed RAID-5 member. ALIGN= Typically used with hardware RAID Logical Unit Number (LUN) arrays to improve performance. Aligns all volume extents to the closest alignment boundary. The extent offsets will be a multiple of . NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. The specified dynamic disk must have free space greater than or equal to the size of the failed RAID-5 member. A RAID-5 volume must be selected for this operation to succeed.Example: REPAIR DISK=1 Repairs the RAID-5 volume with focus by replacing the failed RAID-5 member with the specified dynamic disk.Syntax: REPAIR DISK= [ALIGN=] [NOERR] DISK= Specifies the dynamic disk that will replace the failed RAID-5 member. The specified disk must have free space equal to or larger than the total size of the failed RAID-5 member. ALIGN= Typically used with hardware RAID Logical Unit Number (LUN) arrays to improve performance. Aligns all volume extents to the closest alignment boundary. The extent offsets will be a multiple of . NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. The specified dynamic disk must have free space greater than or equal to the size of the failed RAID-5 member. A RAID-5 volume must be selected for this operation to succeed.Example: REPAIR DISK=1
0x40002F2DLocates new disks that may have been added to the computer.Syntax: RESCANExample: RESCAN Locates new disks that may have been added to the computer.Syntax: RESCANExample: RESCAN
0x40002F2FPrepares an existing dynamic simple volume to be used as a boot or system volume.Syntax: RETAIN This command creates a partition entry for the dynamic simple volume with focus. A dynamic simple volume must be selected for this operation to succeed.Example: RETAIN Prepares an existing dynamic simple volume to be used as a boot or system volume.Syntax: RETAIN This command creates a partition entry for the dynamic simple volume with focus. A dynamic simple volume must be selected for this operation to succeed.Example: RETAIN
0x40002F31Selects the specified disk and shifts the focus to it.Syntax: SELECT DISK= SELECT DISK=SYSTEM SELECT DISK=NEXT SELECT DISK= DISK= The DiskPart disk index number of the disk to receive focus. DISK= The location path of the disk to receive focus. DISK=SYSTEM On BIOS machines, BIOS disk 0 will receive focus. On EFI machines, the disk containing the ESP partition used for the current boot will receive focus. On EFI machines, if there is no ESP, or there is more than one ESP present, or the machine is booted from Windows PE, the command will fail. DISK=NEXT Once a disk is selected, this command is used to iterate over all disks in the disk list. The next disk in the list will receive focus. If the next disk is the start of the enumeration, the command will fail and no disk will have focus. If no options are specified, the select command lists the disk that currently has the focus. You can view the DiskPart index numbers for all disks on the computer by using the LIST DISK command.Example: SELECT DISK=1 SELECT DISK=SYSTEM SELECT DISK=NEXT SELECT DISK=PCIROOT(0)#PCI(0100)#ATA(C00T00L01) Selects the specified disk and shifts the focus to it.Syntax: SELECT DISK= SELECT DISK=SYSTEM SELECT DISK=NEXT SELECT DISK= DISK= The DiskPart disk index number of the disk to receive focus. DISK= The location path of the disk to receive focus. DISK=SYSTEM On BIOS machines, BIOS disk 0 will receive focus. On EFI machines, the disk containing the ESP partition used for the current boot will receive focus. On EFI machines, if there is no ESP, or there is more than one ESP present, or the machine is booted from Windows PE, the command will fail. DISK=NEXT Once a disk is selected, this command is used to iterate over all disks in the disk list. The next disk in the list will receive focus. If the next disk is the start of the enumeration, the command will fail and no disk will have focus. If no options are specified, the select command lists the disk that currently has the focus. You can view the DiskPart index numbers for all disks on the computer by using the LIST DISK command.Example: SELECT DISK=1 SELECT DISK=SYSTEM SELECT DISK=NEXT SELECT DISK=PCIROOT(0)#PCI(0100)#ATA(C00T00L01)
0x40002F33Selects the specified partition and shifts the focus to it.Syntax: SELECT PARTITION= PARTITION= The number of the partition to receive the focus. If no partition is specified, the select command lists the current partition with focus. You can specify the partition by its number. You can view the numbers of all partitions on the current disk by using the list partition command. You must first select a disk using the DiskPart select disk command before you can select a partition.Example: SELECT PARTITION=1 Selects the specified partition and shifts the focus to it.Syntax: SELECT PARTITION= PARTITION= The number of the partition to receive the focus. If no partition is specified, the select command lists the current partition with focus. You can specify the partition by its number. You can view the numbers of all partitions on the current disk by using the list partition command. You must first select a disk using the DiskPart select disk command before you can select a partition.Example: SELECT PARTITION=1
0x40002F35Selects the specified volume and shifts the focus to it.Syntax: SELECT VOLUME={ | } VOLUME= The number of the volume to receive the focus. VOLUME= The drive letter or mounted folder path of the volume to receive the focus. If no volume is specified, the select command lists the current volume with focus. You can specify the volume by number, drive letter, or mounted folder path. On a basic disk, selecting a volume also gives the corresponding partition focus. You can view the numbers of all volumes on the computer by using the list volume command.Example: SELECT VOLUME=1 SELECT VOLUME=C SELECT VOLUME=C:\\MountH Selects the specified volume and shifts the focus to it.Syntax: SELECT VOLUME={ | } VOLUME= The number of the volume to receive the focus. VOLUME= The drive letter or mounted folder path of the volume to receive the focus. If no volume is specified, the select command lists the current volume with focus. You can specify the volume by number, drive letter, or mounted folder path. On a basic disk, selecting a volume also gives the corresponding partition focus. You can view the numbers of all volumes on the computer by using the list volume command.Example: SELECT VOLUME=1 SELECT VOLUME=C SELECT VOLUME=C:\\MountH
0x40002F37Provides a way to add comments to a script.Syntax: REMExample: In this example script, REM is used to provide a comment about what the script does. REM These commands set up 3 drives. CREATE PARTITION PRIMARY SIZE=2048 ASSIGN d: CREATE PARTITION EXTEND CREATE PARTITION LOGICAL SIZE=2048 ASSIGN e: CREATE PARTITION LOGICAL ASSIGN f: Provides a way to add comments to a script.Syntax: REMExample: In this example script, REM is used to provide a comment about what the script does. REM These commands set up 3 drives. CREATE PARTITION PRIMARY SIZE=2048 ASSIGN d: CREATE PARTITION EXTEND CREATE PARTITION LOGICAL SIZE=2048 ASSIGN e: CREATE PARTITION LOGICAL ASSIGN f:
0x40002F39Formats the specified volume for use with Windows.Syntax: FORMAT [[FS=] [REVISION=] | RECOMMENDED] [LABEL=] [UNIT=] [QUICK] [COMPRESS] [OVERRIDE] [DUPLICATE] [NOWAIT] [NOERR] FS= Specifies the type of file system. If no file system is given, the default file system displayed by the FILESYSTEMS command is used. REVISION= Specifies the file system revision (if applicable). RECOMMENDED If specified, use the recommended file system and revision instead of the default if a recommendation exists. The recommended file system (if one exists) is displayed by the FILESYSTEMS command. LABEL= Specifies the volume label. UNIT= Overrides the default allocation unit size. Default settings are strongly recommended for general use. The default allocation unit size for a particular file system is displayed by the FILESYSTEMS command. NTFS compression is not supported for allocation unit sizes above 4096. QUICK Performs a quick format. COMPRESS NTFS only: Files created on the new volume will be compressed by default. OVERRIDE Forces the file system to dismount first if necessary. All opened handles to the volume would no longer be valid. DUPLICATE UDF Only: This flag applies to UDF format, version 2.5 or higher. This flag instructs the format operation to duplicate the file system meta-data to a second set of sectors on the disk. The duplicate meta-data is used by applications, for example repair or recovery applications. If the primary meta-data sectors are found to be corrupted, the file system meta-data will be read from the duplicate sectors. NOWAIT Forces the command to return immediately while the format process is still in progress. If NOWAIT is not specified, DiskPart will display format progress in percentage. NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. A volume must be selected for this operation to succeed.Examples: FORMAT FS=NTFS LABEL=\"New Volume\" QUICK COMPRESS FORMAT RECOMMENDED OVERRIDE Formats the specified volume for use with Windows.Syntax: FORMAT [[FS=] [REVISION=] | RECOMMENDED] [LABEL=] [UNIT=] [QUICK] [COMPRESS] [OVERRIDE] [DUPLICATE] [NOWAIT] [NOERR] FS= Specifies the type of file system. If no file system is given, the default file system displayed by the FILESYSTEMS command is used. REVISION= Specifies the file system revision (if applicable). RECOMMENDED If specified, use the recommended file system and revision instead of the default if a recommendation exists. The recommended file system (if one exists) is displayed by the FILESYSTEMS command. LABEL= Specifies the volume label. UNIT= Overrides the default allocation unit size. Default settings are strongly recommended for general use. The default allocation unit size for a particular file system is displayed by the FILESYSTEMS command. NTFS compression is not supported for allocation unit sizes above 4096. QUICK Performs a quick format. COMPRESS NTFS only: Files created on the new volume will be compressed by default. OVERRIDE Forces the file system to dismount first if necessary. All opened handles to the volume would no longer be valid. DUPLICATE UDF Only: This flag applies to UDF format, version 2.5 or higher. This flag instructs the format operation to duplicate the file system meta-data to a second set of sectors on the disk. The duplicate meta-data is used by applications, for example repair or recovery applications. If the primary meta-data sectors are found to be corrupted, the file system meta-data will be read from the duplicate sectors. NOWAIT Forces the command to return immediately while the format process is still in progress. If NOWAIT is not specified, DiskPart will display format progress in percentage. NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. A volume must be selected for this operation to succeed.Examples: FORMAT FS=NTFS LABEL=\"New Volume\" QUICK COMPRESS FORMAT RECOMMENDED OVERRIDE
0x40002F3BChanges the partition type field for the partition with focus.Syntax: SET ID={ | } [OVERRIDE] [NOERR] ID={ | } Specifies the new partition type. For master boot record (MBR) disks, you can specify a partition type byte, in hexadecimal form, for the partition. Any partition type byte can be specified with this parameter except for type 0x42 (LDM partition). Note that the leading '0x' is omitted when specifying the hexadecimal partition type. For GUID partition table (GPT) disks you can specify a partition type GUID for the partition. Recognized GUIDs include: EFI System partition: c12a7328-f81f-11d2-ba4b-00a0c93ec93b Basic data partition: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7 Any partition type GUID can be specified with this parameter except for the following: Microsoft Reserved partition: e3c9e316-0b5c-4db8-817d-f92df00215ae LDM Metadata partition on a dynamic disk: 5808c8aa-7e8f-42e0-85d2-e1e90434cfb3 LDM Data partition on a dynamic disk: af9b60a0-1431-4f62-bc68-3311714a69ad Cluster Metadata partition: db97dba9-0840-4bae-97f0-ffb9a327c7e1 Other than the limitations mentioned, DiskPart otherwise does not check the partition type for validity except to ensure that it is a byte in hexadecimal form or a GUID. OVERRIDE Enables DiskPart to force the file system on the volume to dismount before changing the partition type. When changing the partition type, DiskPart will attempt to lock and dismount the file system on the volume. If this parameter is not specified, and the call to lock the file system fails, (because some other application has an open handle to the volume), the entire operation will fail. When this parameter is specified, the dismount is forced even if the call to lock the file system fails. When a file system is dismounted, all opened handles to the volume will become invalid. NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. Intended for Original Equipment Manufacturer (OEM) use only. A partition must be selected for this operation to succeed. Caution: Changing partition type fields with this parameter might cause your computer to fail or be unable to start up. Unless you are an OEM or an IT professional experienced with GPT disks, do not change partition type fields on GPT disks using this parameter. Instead, always use the CREATE PARTITION EFI command to create EFI System partitions, the CREATE PARTITION MSR command to create Microsoft Reserved partitions, and the CREATE PARTITION PRIMARY command without the ID parameter to create primary partitions on GPT disks. This command does not work on dynamic disks nor on Microsoft Reserved partitions. Example: SET ID=07 OVERRIDE SET ID=ebd0a0a2-b9e5-4433-87c0-68b6b72699c7 Changes the partition type field for the partition with focus.Syntax: SET ID={ | } [OVERRIDE] [NOERR] ID={ | } Specifies the new partition type. For master boot record (MBR) disks, you can specify a partition type byte, in hexadecimal form, for the partition. Any partition type byte can be specified with this parameter except for type 0x42 (LDM partition). Note that the leading '0x' is omitted when specifying the hexadecimal partition type. For GUID partition table (GPT) disks you can specify a partition type GUID for the partition. Recognized GUIDs include: EFI System partition: c12a7328-f81f-11d2-ba4b-00a0c93ec93b Basic data partition: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7 Any partition type GUID can be specified with this parameter except for the following: Microsoft Reserved partition: e3c9e316-0b5c-4db8-817d-f92df00215ae LDM Metadata partition on a dynamic disk: 5808c8aa-7e8f-42e0-85d2-e1e90434cfb3 LDM Data partition on a dynamic disk: af9b60a0-1431-4f62-bc68-3311714a69ad Cluster Metadata partition: db97dba9-0840-4bae-97f0-ffb9a327c7e1 Other than the limitations mentioned, DiskPart otherwise does not check the partition type for validity except to ensure that it is a byte in hexadecimal form or a GUID. OVERRIDE Enables DiskPart to force the file system on the volume to dismount before changing the partition type. When changing the partition type, DiskPart will attempt to lock and dismount the file system on the volume. If this parameter is not specified, and the call to lock the file system fails, (because some other application has an open handle to the volume), the entire operation will fail. When this parameter is specified, the dismount is forced even if the call to lock the file system fails. When a file system is dismounted, all opened handles to the volume will become invalid. NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. Intended for Original Equipment Manufacturer (OEM) use only. A partition must be selected for this operation to succeed. Caution: Changing partition type fields with this parameter might cause your computer to fail or be unable to start up. Unless you are an OEM or an IT professional experienced with GPT disks, do not change partition type fields on GPT disks using this parameter. Instead, always use the CREATE PARTITION EFI command to create EFI System partitions, the CREATE PARTITION MSR command to create Microsoft Reserved partitions, and the CREATE PARTITION PRIMARY command without the ID parameter to create primary partitions on GPT disks. This command does not work on dynamic disks nor on Microsoft Reserved partitions. Example: SET ID=07 OVERRIDE SET ID=ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
0x40002F3DReduces the size of the volume with focus by the specified amount. Makes free disk space available from unused space at the end of the volume.Syntax: SHRINK [DESIRED=] [MINIMUM=] [NOWAIT] [NOERR] SHRINK QUERYMAX [NOERR] DESIRED= Specifies the desired amount of space in megabytes (MB) to reduce the size of the volume by. If a desired amount is not specified, the volume will be reduced by the maximum amount of free space available on the volume. MINIMUM= Specifies the minimum amount of space in MB to reduce the size of the volume by. QUERYMAX Returns the maximum number of bytes that the volume can be reduced by (the free space available on the volume). This value may change if applications are currently accessing the volume. NOWAIT Forces the command to return immediately while the shrink process is still in progress. NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. If a MINIMUM amount is not specified, the volume will be reduced by either the DESIRED amount (if specified), or by the maximum amount of free space available on the volume. If a MINIMUM amount is specified but not enough free space is available, the command will fail. This command works on basic volumes, and on simple or spanned dynamic volumes. You can reduce the size of a volume only if it is formatted using the NTFS file system or if it does not have a file system. A volume must be selected for this operation to succeed. This command does not operate on OEM, ESP or recovery partitions.Examples: SHRINK DESIRED=500 MINIMUM=250 SHRINK QUERYMAX Reduces the size of the volume with focus by the specified amount. Makes free disk space available from unused space at the end of the volume.Syntax: SHRINK [DESIRED=] [MINIMUM=] [NOWAIT] [NOERR] SHRINK QUERYMAX [NOERR] DESIRED= Specifies the desired amount of space in megabytes (MB) to reduce the size of the volume by. If a desired amount is not specified, the volume will be reduced by the maximum amount of free space available on the volume. MINIMUM= Specifies the minimum amount of space in MB to reduce the size of the volume by. QUERYMAX Returns the maximum number of bytes that the volume can be reduced by (the free space available on the volume). This value may change if applications are currently accessing the volume. NOWAIT Forces the command to return immediately while the shrink process is still in progress. NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. If a MINIMUM amount is not specified, the volume will be reduced by either the DESIRED amount (if specified), or by the maximum amount of free space available on the volume. If a MINIMUM amount is specified but not enough free space is available, the command will fail. This command works on basic volumes, and on simple or spanned dynamic volumes. You can reduce the size of a volume only if it is formatted using the NTFS file system or if it does not have a file system. A volume must be selected for this operation to succeed. This command does not operate on OEM, ESP or recovery partitions.Examples: SHRINK DESIRED=500 MINIMUM=250 SHRINK QUERYMAX
0x40002F3FDisplays information about the current file system for the selected volume, and the supported file systems for formatting the volume.Syntax: FILESYSTEMS A volume must be selected for this operation to succeed.Example: FILESYSTEMS Displays information about the current file system for the selected volume, and the supported file systems for formatting the volume.Syntax: FILESYSTEMS A volume must be selected for this operation to succeed.Example: FILESYSTEMS
0x40002F41Moves one or more disks from an online pack to a new offline pack.Syntax: SPLIT DISK=[,[,...]] DISK=[,[,...]] Specifies the disk or disks that will be split from the online pack. NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. At least one disk must be specified for this operation to succeed. The disk(s) must be part of a pack that is currently online. The disk(s) will be placed in a new offline pack. You should use this command when you are moving disks in a pack from one computer to another. This ensures that the same pack ID is not used in more than one computer.Example: SPLIT DISK=1 SPLIT DISK=1,2 Moves one or more disks from an online pack to a new offline pack.Syntax: SPLIT DISK=[,[,...]] DISK=[,[,...]] Specifies the disk or disks that will be split from the online pack. NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. At least one disk must be specified for this operation to succeed. The disk(s) must be part of a pack that is currently online. The disk(s) will be placed in a new offline pack. You should use this command when you are moving disks in a pack from one computer to another. This ensures that the same pack ID is not used in more than one computer.Example: SPLIT DISK=1 SPLIT DISK=1,2
0x40002F42Brings selected online disk to the offline state.Syntax: OFFLINE DISK [NOERR] NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. This command operates on a single disk. A disk must be selected for this operation to succeed. This command operates on a disk that is in SAN online mode. This command does not operate on OEM, ESP or recovery partitions.Examples: OFFLINE DISK Brings selected online disk to the offline state.Syntax: OFFLINE DISK [NOERR] NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. This command operates on a single disk. A disk must be selected for this operation to succeed. This command operates on a disk that is in SAN online mode. This command does not operate on OEM, ESP or recovery partitions.Examples: OFFLINE DISK
0x40002F43Displays, sets, or clears disk attributes for the selected disk.Syntax: ATTRIBUTES DISK [SET | CLEAR] [READONLY] [NOERR] SET Sets the specified attribute for the selected disk. CLEAR Clears the specified attribute for the selected disk. READONLY Specifies that the disk is read-only. NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. This command allows the user to set, clear, or display the attributes for a disk. When called with no parameters, this command displays the current disk flags. READONLY is currently the only disk flag that may be changed. The BOOT DISK attribute denotes the disk used to boot. For a dynamic mirrored volume, the BOOT DISK attribute is displayed for the disk containing the boot plex of the mirrored boot volume.Examples:To display the attributes on the selected disk, type:ATTRIBUTES DISKTo set the attribute for the selected disk as read-only, type:ATTRIBUTES DISK SET READONLYTo clear the read-only attribute for the selected disk, type:ATTRIBUTES DISK CLEAR READONLY Displays, sets, or clears disk attributes for the selected disk.Syntax: ATTRIBUTES DISK [SET | CLEAR] [READONLY] [NOERR] SET Sets the specified attribute for the selected disk. CLEAR Clears the specified attribute for the selected disk. READONLY Specifies that the disk is read-only. NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. This command allows the user to set, clear, or display the attributes for a disk. When called with no parameters, this command displays the current disk flags. READONLY is currently the only disk flag that may be changed. The BOOT DISK attribute denotes the disk used to boot. For a dynamic mirrored volume, the BOOT DISK attribute is displayed for the disk containing the boot plex of the mirrored boot volume.Examples:To display the attributes on the selected disk, type:ATTRIBUTES DISKTo set the attribute for the selected disk as read-only, type:ATTRIBUTES DISK SET READONLYTo clear the read-only attribute for the selected disk, type:ATTRIBUTES DISK CLEAR READONLY
0x40002F44Displays or sets the SAN policy for the operating system.Syntax: SAN [POLICY={OnlineAll | OfflineAll | OfflineShared | OfflineInternal}] [NOERR] SAN If the command is given with no parameters, the current SAN policy is displayed. POLICY= Sets the SAN policy for the currently booted operating system. NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. This command allows the user to display or change the SAN policy for the currently booted OS. The default policy for Windows Advanced Server and Windows Data Center is OfflineShared. In this case the boot disk will be brought online, as will all disks that are not located on a shared bus such as SCSI, iSCSI, SAS, etc. The offlined disks will be read-only by default. On all other versions of Windows, the default will be to bring all disks online. In this case, the disks will be online and read/write. The third policy value is OfflineAll. For this case, all disks except the boot disk will be offline and read-only by default. The forth policy value is OfflineInternal and the default is to keep newly discovered internal disks offline and read-only.Examples: SAN SAN POLICY=OfflineAll Displays or sets the SAN policy for the operating system.Syntax: SAN [POLICY={OnlineAll | OfflineAll | OfflineShared | OfflineInternal}] [NOERR] SAN If the command is given with no parameters, the current SAN policy is displayed. POLICY= Sets the SAN policy for the currently booted operating system. NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. This command allows the user to display or change the SAN policy for the currently booted OS. The default policy for Windows Advanced Server and Windows Data Center is OfflineShared. In this case the boot disk will be brought online, as will all disks that are not located on a shared bus such as SCSI, iSCSI, SAS, etc. The offlined disks will be read-only by default. On all other versions of Windows, the default will be to bring all disks online. In this case, the disks will be online and read/write. The third policy value is OfflineAll. For this case, all disks except the boot disk will be offline and read-only by default. The forth policy value is OfflineInternal and the default is to keep newly discovered internal disks offline and read-only.Examples: SAN SAN POLICY=OfflineAll
0x40002F45Displays or sets the GUID partition table (GPT) identifier or master boot record (MBR) signature for the disk with focus.Syntax: UNIQUEID DISK [ID={ | }] [NOERR] ID={ | } For MBR disks, you can specify a four-byte (DWORD) value in hexadecimal form for the signature. For GPT disks, specify a GUID for the identifier. NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. A disk must be selected for this operation to succeed. This command works on basic and dynamic disks.Example: UNIQUEID DISK UNIQUEID DISK ID=5f1b2c36 UNIQUEID DISK ID=baf784e7-6bbd-4cfb-aaac-e86c96e166ee Displays or sets the GUID partition table (GPT) identifier or master boot record (MBR) signature for the disk with focus.Syntax: UNIQUEID DISK [ID={ | }] [NOERR] ID={ | } For MBR disks, you can specify a four-byte (DWORD) value in hexadecimal form for the signature. For GPT disks, specify a GUID for the identifier. NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. A disk must be selected for this operation to succeed. This command works on basic and dynamic disks.Example: UNIQUEID DISK UNIQUEID DISK ID=5f1b2c36 UNIQUEID DISK ID=baf784e7-6bbd-4cfb-aaac-e86c96e166ee
0x40002F4ERefreshes the state of all disks in the selected pack, attempts recovery on disks in the invalid pack, and, resynchronizes mirrored volumes and RAID-5 volumes that have stale plex or parity data.Syntax: RECOVER [NOERR] NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. This command operates on a pack. A disk that is part of a pack must be selected for this operation to succeed. This command is only applicable to dynamic disks. If called on a basic disk, it will succeed but no action is taken.Example: RECOVER Refreshes the state of all disks in the selected pack, attempts recovery on disks in the invalid pack, and, resynchronizes mirrored volumes and RAID-5 volumes that have stale plex or parity data.Syntax: RECOVER [NOERR] NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. This command operates on a pack. A disk that is part of a pack must be selected for this operation to succeed. This command is only applicable to dynamic disks. If called on a basic disk, it will succeed but no action is taken.Example: RECOVER
0x40002F50Brings selected offline volume to the online state.Syntax: ONLINE VOLUME [NOERR] NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. This command operates on a single volume. A volume must be selected for this operation to succeed. This command does not operate on OEM, ESP or recovery partitions.Examples: ONLINE VOLUME Brings selected offline volume to the online state.Syntax: ONLINE VOLUME [NOERR] NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. This command operates on a single volume. A volume must be selected for this operation to succeed. This command does not operate on OEM, ESP or recovery partitions.Examples: ONLINE VOLUME
0x40002F51Brings selected online volume to the offline state.Syntax: OFFLINE VOLUME [NOERR] NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. This command operates on a single volume. A volume must be selected for this operation to succeed.Examples: OFFLINE VOLUME Brings selected online volume to the offline state.Syntax: OFFLINE VOLUME [NOERR] NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. This command operates on a single volume. A volume must be selected for this operation to succeed.Examples: OFFLINE VOLUME
0x40002F52Creates a mirror volume using two specified dynamic disks.Syntax: CREATE VOLUME MIRROR [SIZE=] DISK=, [ALIGN=] [NOERR] SIZE= The amount of disk space, in megabytes (MB), that the volume will occupy on each disk. If no size is given, the new volume takes up the remaining free space on the smaller disk and an equal amount of space on other disk. DISK=, The dynamic disks on which the mirror volume is created. You need two dynamic disks to create a mirror volume. An amount of space equal to the size specified in SIZE= is allocated on each disk. ALIGN= Typically used with hardware RAID Logical Unit Number (LUN) arrays to improve performance. Aligns all volume extents to the closest alignment boundary. The extent offsets will be a multiple of N. NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. After you create the volume, the focus automatically shifts to the new volume.Example: CREATE VOLUME MIRROR SIZE=1000 DISK=1,2 Creates a mirror volume using two specified dynamic disks.Syntax: CREATE VOLUME MIRROR [SIZE=] DISK=, [ALIGN=] [NOERR] SIZE= The amount of disk space, in megabytes (MB), that the volume will occupy on each disk. If no size is given, the new volume takes up the remaining free space on the smaller disk and an equal amount of space on other disk. DISK=, The dynamic disks on which the mirror volume is created. You need two dynamic disks to create a mirror volume. An amount of space equal to the size specified in SIZE= is allocated on each disk. ALIGN= Typically used with hardware RAID Logical Unit Number (LUN) arrays to improve performance. Aligns all volume extents to the closest alignment boundary. The extent offsets will be a multiple of N. NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. After you create the volume, the focus automatically shifts to the new volume.Example: CREATE VOLUME MIRROR SIZE=1000 DISK=1,2
0x40002F53Creates a virtual disk file. Currently only VHD and VHDX format files are supported and are specified through the file extensions (.vhd and .vhdx) of the virtual disk file.Syntax: CREATE VDISK FILE= MAXIMUM= [TYPE={FIXED|EXPANDABLE}] [SD=] [PARENT=] [SOURCE=] [NOERR] FILE= Specifies the complete path and filename of the virtual disk file. The file may be on a network share. MAXIMUM= The maximum amount of space exposed by the virtual disk, in megabytes (MB). TYPE={FIXED|EXPANDABLE} FIXED specifies a fixed size virtual disk file. EXPANDABLE specifies a virtual disk file that resizes to accommodate the allocated data. The default is FIXED. [SD=] Specifies a security descriptor in the security descriptor definition language (SDDL) format. By default the security descriptor is taken from the parent directory. SDDL strings can be complex but flexible. In its simplest form, a security descriptor that protects access, is known as a discretionary access control list (DACL). It is of the form: D:()()...() Common DACL_FLAGS are: \"P\" - The DACL should not be overiden (protected) by any ACLs from parent containers. The container for a VHD or VHDX file is its directory. \"AI\"- The DACL should auto-inherit from the parent container. STRING_ACEs are of the form ;;;;; Common ACE_TYPEs are: \"A\" - Allow access. \"D\" - Deny access. Common RIGHTS are: \"GA\" - All access. \"GR\" - Read access. \"GW' - Write access. Common ACCOUNT_IDs are: \"BA\" - Built in administrators \"AU\" - Authenticated users. \"CO\" - Creator owner. \"WD\" - Everyone. Putting all this together, for example, D:P:(A;;GR;;;AU) gives read-access to all authenticated users. Similarly, D:P:(A;;GA;;;WD) Gives everyone full access. Further information on the SDDL can be found on Microsoft's MSDN website. [PARENT=] Path to an existing parent virtual disk file to create a differencing disk. With the PARENT parameter, MAXIMUM should not be specified because the differencing disk gets the size from its parent. Also, TYPE should not be specified since only EXPANDABLE differencing disks can be created. [SOURCE=] Path to an existing virtual disk file to be used to pre-populate the new virtual disk file. When SOURCE is specified, data from the input virtual disk file is copied block for block from the input virtual disk file to the created virtual disk file. There is no parent-child relationship established however. NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code.Example: CREATE VDISK FILE=\"c:\\test\\test.vhd\" MAXIMUM=1000 CREATE VDISK FILE=\"c:\\test\\child.vhdx\" PARENT=\"c:\\test\\test.vhdx\" CREATE VDISK FILE=\"c:\\test\\test.vhd\" MAXIMUM=1000 SD=\"D:P(A;;GA;;;WD)\" CREATE VDISK FILE=\"c:\\test\
ew.vhdx\" SOURCE=\"c:\\test\\test.vhd\"
Creates a virtual disk file. Currently only VHD and VHDX format files are supported and are specified through the file extensions (.vhd and .vhdx) of the virtual disk file.Syntax: CREATE VDISK FILE= MAXIMUM= [TYPE={FIXED|EXPANDABLE}] [SD=] [PARENT=] [SOURCE=] [NOERR] FILE= Specifies the complete path and filename of the virtual disk file. The file may be on a network share. MAXIMUM= The maximum amount of space exposed by the virtual disk, in megabytes (MB). TYPE={FIXED|EXPANDABLE} FIXED specifies a fixed size virtual disk file. EXPANDABLE specifies a virtual disk file that resizes to accommodate the allocated data. The default is FIXED. [SD=] Specifies a security descriptor in the security descriptor definition language (SDDL) format. By default the security descriptor is taken from the parent directory. SDDL strings can be complex but flexible. In its simplest form, a security descriptor that protects access, is known as a discretionary access control list (DACL). It is of the form: D:()()...() Common DACL_FLAGS are: \"P\" - The DACL should not be overiden (protected) by any ACLs from parent containers. The container for a VHD or VHDX file is its directory. \"AI\"- The DACL should auto-inherit from the parent container. STRING_ACEs are of the form ;;;;; Common ACE_TYPEs are: \"A\" - Allow access. \"D\" - Deny access. Common RIGHTS are: \"GA\" - All access. \"GR\" - Read access. \"GW' - Write access. Common ACCOUNT_IDs are: \"BA\" - Built in administrators \"AU\" - Authenticated users. \"CO\" - Creator owner. \"WD\" - Everyone. Putting all this together, for example, D:P:(A;;GR;;;AU) gives read-access to all authenticated users. Similarly, D:P:(A;;GA;;;WD) Gives everyone full access. Further information on the SDDL can be found on Microsoft's MSDN website. [PARENT=] Path to an existing parent virtual disk file to create a differencing disk. With the PARENT parameter, MAXIMUM should not be specified because the differencing disk gets the size from its parent. Also, TYPE should not be specified since only EXPANDABLE differencing disks can be created. [SOURCE=] Path to an existing virtual disk file to be used to pre-populate the new virtual disk file. When SOURCE is specified, data from the input virtual disk file is copied block for block from the input virtual disk file to the created virtual disk file. There is no parent-child relationship established however. NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code.Example: CREATE VDISK FILE=\"c:\\test\\test.vhd\" MAXIMUM=1000 CREATE VDISK FILE=\"c:\\test\\child.vhdx\" PARENT=\"c:\\test\\test.vhdx\" CREATE VDISK FILE=\"c:\\test\\test.vhd\" MAXIMUM=1000 SD=\"D:P(A;;GA;;;WD)\" CREATE VDISK FILE=\"c:\\test\
ew.vhdx\" SOURCE=\"c:\\test\\test.vhd\"
0x40002F54Selects the specified virtual disk by filename and shifts the focus to it.Syntax: SELECT VDISK FILE= [NOERR] FILE= Specifies the complete path and filename of an existing virtual disk file. NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code.Example: SELECT VDISK FILE=\"c:\\test\\test.vhd\" SELECT VDISK FILE=\"c:\\test\\test.vhdx\" NOERR Selects the specified virtual disk by filename and shifts the focus to it.Syntax: SELECT VDISK FILE= [NOERR] FILE= Specifies the complete path and filename of an existing virtual disk file. NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code.Example: SELECT VDISK FILE=\"c:\\test\\test.vhd\" SELECT VDISK FILE=\"c:\\test\\test.vhdx\" NOERR
0x40002F55Attaches the specified virtual disk.Syntax: ATTACH VDISK [NOERR] [READONLY] { [SD=] | [USEFILESD] } NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. READONLY Attaches the virtual disk as read-only. Any write operation will return an input/output device error. SD= Specifies a security descriptor in the security descriptor definition language (SDDL) format. By default the security descriptor allows access like any physical disk. For more information on the SDDL please see the CREATE VDISK command. USEFILESD Specifies that the security descriptor on the virtual file itself should be used on the virtual disk. If not specified, the disk will not have an explicit security descriptor unless specified with SD=(SDDL string). A virtual disk must be selected for this operation to succeed.Example: ATTACH VDISK ATTACH VDISK READONLY ATTACH VDISK USEFILESD Attaches the specified virtual disk.Syntax: ATTACH VDISK [NOERR] [READONLY] { [SD=] | [USEFILESD] } NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. READONLY Attaches the virtual disk as read-only. Any write operation will return an input/output device error. SD= Specifies a security descriptor in the security descriptor definition language (SDDL) format. By default the security descriptor allows access like any physical disk. For more information on the SDDL please see the CREATE VDISK command. USEFILESD Specifies that the security descriptor on the virtual file itself should be used on the virtual disk. If not specified, the disk will not have an explicit security descriptor unless specified with SD=(SDDL string). A virtual disk must be selected for this operation to succeed.Example: ATTACH VDISK ATTACH VDISK READONLY ATTACH VDISK USEFILESD
0x40002F56Detach the specified virtual disk.Syntax: DETACH VDISK [NOERR] NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. A virtual disk must be selected for this operation to succeed.Example: DETACH VDISK Detach the specified virtual disk.Syntax: DETACH VDISK [NOERR] NOERR For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without the NOERR parameter, an error causes DiskPart to exit with an error code. A virtual disk must be selected for this operation to succeed.Example: DETACH VDISK
0x40002F57Displays the properties of the selected virtual disk.Syntax: DETAIL VDISK A virtual disk must be selected for this operation to succeed.Example: DETAIL VDISK Displays the properties of the selected virtual disk.Syntax: DETAIL VDISK A virtual disk must be selected for this operation to succeed.Example: DETAIL VDISK
0x40002F58Displays a list of virtual disks.Syntax: LIST VDISK Displays a list of virtual disks and information about them. The disk type is shown as Unknown until the disk is attached. The disk marked with an asterisk (*) has focus.Example: LIST VDISK Displays a list of virtual disks.Syntax: LIST VDISK Displays a list of virtual disks and information about them. The disk type is shown as Unknown until the disk is attached. The disk marked with an asterisk (*) has focus.Example: LIST VDISK
0x40002F59Compacts the virtual disk file to reduce the physical size of the file. Compact operation can be performed on a detached EXPANDABLE virtual disk or an EXPANDABLE virtual disk that is attached read only.Syntax: COMPACT VDISK A virtual disk must be selected for this operation to succeed.Example: COMPACT VDISK Compacts the virtual disk file to reduce the physical size of the file. Compact operation can be performed on a detached EXPANDABLE virtual disk or an EXPANDABLE virtual disk that is attached read only.Syntax: COMPACT VDISK A virtual disk must be selected for this operation to succeed.Example: COMPACT VDISK
0x40002F5AMerges a child disk with its parents.Syntax: MERGE VDISK DEPTH= DEPTH= Indicates the number of parents to merge together. For example, MERGE=1 indicates one level of the differencing chain should be merged. A virtual disk must be selected for this operation to succeed. Example: MERGE VDISK DEPTH=1 In this example a child virtual disk is merged with its parent: CREATE VDISK FILE=\"c:\\vhd2.vhd\" parent=\"c:\\vhd1.vhd\" MERGE VDISK DEPTH=1 Merges a child disk with its parents.Syntax: MERGE VDISK DEPTH= DEPTH= Indicates the number of parents to merge together. For example, MERGE=1 indicates one level of the differencing chain should be merged. A virtual disk must be selected for this operation to succeed. Example: MERGE VDISK DEPTH=1 In this example a child virtual disk is merged with its parent: CREATE VDISK FILE=\"c:\\vhd2.vhd\" parent=\"c:\\vhd1.vhd\" MERGE VDISK DEPTH=1
0x40002F5BExpands the maximum size available on a virtual disk.Syntax: EXPAND VDISK MAXIMUM= MAXIMUM= Indicates the new virtual size of the disk in megabytes (MB). A virtual disk must be selected for this operation to succeed. Only detached disks can be expanded. Example: EXPAND VDISK MAXIMUM=20000 Expands the maximum size available on a virtual disk.Syntax: EXPAND VDISK MAXIMUM= MAXIMUM= Indicates the new virtual size of the disk in megabytes (MB). A virtual disk must be selected for this operation to succeed. Only detached disks can be expanded. Example: EXPAND VDISK MAXIMUM=20000
0x40002F5EDisk is uninitialized, initializing it to GPT. Disk is uninitialized, initializing it to GPT.
0xC0002AF9The arguments specified for this command are not valid.For more information on the command type: HELP %1!s! The arguments specified for this command are not valid.For more information on the command type: HELP %1!s!
0xC0002F5CThere is no virtual disk file specified to create.Please specify a file using the FILE= parameter. There is no virtual disk file specified to create.Please specify a file using the FILE= parameter.
0xC0002F5DThere is no virtual disk file specified to select.Please specify a file using the FILE= parameter. There is no virtual disk file specified to select.Please specify a file using the FILE= parameter.

EXIF

File Name:diskpart.exe.mui
Directory:%WINDIR%\WinSxS\amd64_microsoft-windows-diskpart.resources_31bf3856ad364e35_10.0.15063.0_en-us_e1ab747b7695ee47\
File Size:231 kB
File Permissions:rw-rw-rw-
File Type:Win32 DLL
File Type Extension:dll
MIME Type:application/octet-stream
Machine Type:Intel 386 or later, and compatibles
Time Stamp:0000:00:00 00:00:00
PE Type:PE32
Linker Version:14.10
Code Size:0
Initialized Data Size:236032
Uninitialized Data Size:0
Entry Point:0x0000
OS Version:10.0
Image Version:10.0
Subsystem Version:6.0
Subsystem:Windows GUI
File Version Number:10.0.15063.0
Product Version Number:10.0.15063.0
File Flags Mask:0x003f
File Flags:(none)
File OS:Windows NT 32-bit
Object File Type:Dynamic link library
File Subtype:0
Language Code:English (U.S.)
Character Set:Unicode
Company Name:Microsoft Corporation
File Description:DiskPart
File Version:10.0.15063.0 (WinBuild.160101.0800)
Internal Name:diskpart.exe
Legal Copyright:© Microsoft Corporation. All rights reserved.
Original File Name:diskpart.exe.mui
Product Name:Microsoft® Windows® Operating System
Product Version:10.0.15063.0
Directory:%WINDIR%\WinSxS\x86_microsoft-windows-diskpart.resources_31bf3856ad364e35_10.0.15063.0_en-us_858cd8f7be387d11\

What is diskpart.exe.mui?

diskpart.exe.mui is Multilingual User Interface resource file that contain English (U.S.) language for file diskpart.exe (DiskPart).

File version info

File Description:DiskPart
File Version:10.0.15063.0 (WinBuild.160101.0800)
Company Name:Microsoft Corporation
Internal Name:diskpart.exe
Legal Copyright:© Microsoft Corporation. All rights reserved.
Original Filename:diskpart.exe.mui
Product Name:Microsoft® Windows® Operating System
Product Version:10.0.15063.0
Translation:0x409, 1200