使用DiskPart.exe作为盘管理选择在窗口景色, 2000年, 2003年和XP

盘管理在计算机管理之下在管理员工具是允许视窗2000、窗口2003年Windows XP和窗口景色用户设置活动分区,变动驱动器字母和道路的GUI (图形用户界面)基于磁盘分区公共事业,扩大容量,收缩容量,删除容量,并且格式化驱动。 然而,盘管理引伸在Microsoft Management Console (MMC)不适当地总运作。 问题面对由用户包括任意变灰或失去能力扩大容量并且收缩容量选择,因为盘管理卡扣式禁止您疏忽进行也许导致数据损失的行动。

如果您得到沮丧与盘管理,试验DiskPart公共事业,文本方式命令行根据剧本的口译员处理,创造,删除并且重量尺寸对象例如盘、分开和容量在窗口景色, XP, 2003年和2000年。 默认情况下(3个操作系统以后不安装与DiskPart.exe,因此用户需要 手工下载并且安装DiskPart). 因为DiskPart是命令行公共事业,用户将必须使用各种各样的命令指示DiskPart执行盘相关的任务。 用户能使用 帮助 命令列出所有可利用的命令为DiskPart。 因为各种选择为命令,添附指令名字帮助,即。 帮助[命令]或者只简单地键入指令名字。 为了详细说明和指南能使用命令,添附完全指令句法到帮助,即。 帮助[完全指令句法以选择].

DiskPart

为容易的参考和得到起动指南,这您在您的硬盘和分成或者容量能执行与DiskPart的某一简单的操作。 但,在您继续之前,在所有失败的情况下切记您备份重要文件和节目。

  1. 开始并且跑DiskPart

    要跑DiskPart,键入 DiskPart.exe 在起动查寻在窗口景色,或者在跑的命令正文框在视窗2000, 2003年和XP完成了由输入键。 一个指令提示窗口与DISKPART壳被装载。

  2. 列出所有盘在系统在DiskPart

    对所有您可利用的安装的硬盘在系统,简单地键入 名单盘和命中进入。

  3. 选择并且设置目标磁盘到用途盘部分

    要设置和选择您要与在DiskPart一起使用的盘,使用以下命令句法:

    选择盘 <盘数字(###)>

    盘数字从“名单盘”命令被检索。

  4. 创造分开与DiskPart

    If the hard disk is empty without any partition or still has unallocated space, a partition can be created on it with the following command syntax:

    create partition <partition type> [size=<n>] [offset=<n>] [id={<byte> | <guid>}] [align=<n>] [noerr]

    The partition types that are supported are primary partition (the only bootable type, but limited to four per hard disk), extended partition (also limited to four per hard disk to supplement those need more than 4 primary partitions), logical drive (to define within extended partition to allow many volumes to be created), EFI system partition and MSR (Microsoft Reserved partition). Note that not all options are available for all partition type.

    Example: create partition primary size=1000 (Create a primary partition with the size of 10GB.)

  5. Create a volume in DiskPart

    DiskPart allows user to create RAID (RAID-5) volume using three or more specified dynamic disks, simple volume or striped volume using two or more specified dynamic disks. The syntax for the command is:

    create volume <volume type> [size=<n>] disk=<n>,<N>,<n>[,<n>[,...]] [align=<n>] [noerr]

    Example: create volume raid size=1000 disk=1,2,3 (Create a RAID-5 array volume with 1 GB (1000MB) using disk 1, 2 and 3.)

  6. List all volumes in DiskPart

    Use the following command to list all volumes in order to check which number is associated with the volume we want to work with:

    list volume

  7. Select a volume to manage in DiskPart

    Use the following command to select a volume in order to manage (shrink, extend, delete format) the volume:

    select volume <number>

    The number for the volume is retrieved from “list volume” command.

  8. List all partitions in DiskPart

    Use the following command to list all partitions in order to check which number is associated with the partition we want to work with:

    list partition

  9. Select a partition to manage in DiskPart

    Use the following command to select a volume in order to manage (shrink, extend, delete format) the partition:

    select partiton <number>

    The number for the partiton is retrieved from “list partition” command.

  10. Shrink a volume (reduce size of partition) in DiskPart

    To reduce the size of the volume with focus by the specified amount and makes free disk space available from unused space at the end of the volume, use following command syntax:

    shrink [desired=<n>] [minimum=<N>] [nowait] [noerr]

    Example: shrink desired=500 minimum=250 (Shrink volume by 500 MB, with 250 MB as minimum size to be freed if not possible.)

    To check and determine how much is the maximum number of bytes that a volume can be reduced by (the free space that is available on the volume), use following command:

    shrink querymax [noerr]

  11. Extends the volume or partition (increase size) in DiskPart

    To extend the volume or partition with focus and its file system into free (unallocated) space which can be used to store data on a disk, use following command syntax:

    extend [size=<n>] [disk=<n>] [noerr]

    The above command works on when both volume or partition is selected.

    Example: extend size=500 (Increase the size of current partition or volume selected by 500MB.)

  12. Delete partition or volume with DiskPart

    Note that system, boot or any volume/partition that contains the active paging file or crash dump (memory dump) cannot be deleted. And users must select a partition or volume before start deletion operation. Dynamic disks should be removed by using “delete volume” command.

    delete partition

    delete volume

  13. Format a volume or partition in DiskPart

    Simply select a partition or volume, and then type Format.

IMPORTANT: This is a machine translated page which is provided "as is" without warranty. Machine translation may be difficult to understand. Please refer to original English article whenever possible.

Share and contribute or get technical support and help at My Digital Life Forums.



3 Responses to “Using DiskPart.exe As Disk Management Alternative in Windows Vista, 2000, 2003 and XP”

  1. saleem
    September 30th, 2007 04:27
    1

    Hi,

    I have 180GB with windows vista installed, if I try to create or shrink partition for linux like:

    keep 80 GB for Windows & rest for Linux.

    I use the “create partition” but when i give the size=100000 or 80000 this says size is too large !

    Anyhelp please

    regards,
    —saleem

  2. Big Al
    October 24th, 2007 16:47
    2

    You can’t shrink a partition with this tool under Windows 2000, this seems to be a Vista-only feature.

  3. J.A. Siebrecht
    March 19th, 2008 17:16
    3

    Dit is de grootste onzin die ik ooit gelezen heb!!!

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe without commenting


Custom Search

New Articles

Incoming Search Terms for the Article

vista diskpart - diskpart vista - DiskPart.exe - diskpart shrink - diskpart gui - Diskpart syntax - diskpart.exe vista - diskpart - disk part - diskpart download - diskpart.exe shrink - diskpart in Vista - vista diskpart shrink - vista diskpart.exe - diskpart.exe download - shrink partition windows 2003 - all - shrink partition xp - vista extend volume disabled - using diskpart - server 2003 shrink partition - shrink volume windows 2003 - diskpart vista download - diskpart shrink windows 2003 - diskpart shrink volume - shrink volume in xp - windows vista diskpart - diskpart shrink XP - diskpart shrink download - shrink windows 2003 partition - diskpart windows download - download diskpart - shrink partition - windows 2003 shrink partition - download vista diskpart - disk management vista - diskpart shrink partition xp - vista disk part - using diskpart in vista - vista diskpart help - shrink volume on XP - diskpart set active - using diskpart.exe - diskpart shrink 2003 - download diskpart for Vista - diskpart shrink windows xp - diskpart shrink vista - download diskpart.exe vista - download diskpart.exe - diskpart.exe example - xp shrink partition - diskpart shrink server 2003 - list disk - shrink xp volume - using diskpart vista - vista disk management command line - format using diskpart - increase partition vista - vista partition diskpart - diskpart shrink drive - diskpart shrink disk - extend volume greyed out - vista Diskpart - using vista diskpart - windows vista partition limit - diskpart shrink partition - vista diskpart active - windows vista disk management - diskpart set active partition - shrink partition windows xp - diskpart reduce partition size - info: windows xp reducing partition size free - increase partition in xp with diskpart - vista diskpart gui - diskpart windows vista download -