Command of Diskpart a Windows NT Utility

Diskpart is a command-line hard disk partitioning utility included in versions of the Windows NT operating system line from Windows 2000 onwards, replacing fdisk which was used in MS-DOSĀ  based operating systems. This utility can be use to enable storage configuration from a script, a remote session, or another command prompt. Diskpart enhances the Disk Administrator graphical user interface (GUI). Diskpart differs from many command-line utilities because it does not operate in a single-line mode. Instead, after you start the utility, the commands are read from standard input/output (I/O). You can direct these commands to any disk, partition, or volume.

You can use Diskpart to convert a basic disk to a dynamic disk. The basic disk can either be empty or contain either primary partitions or logical drives. The basic disk can be a data disk or system or boot drive. The basic disk cannot have fault-tolerant disk driver (FtDisk) sets such as stripes or mirrors. To convert basic disks that have FtDisk driver sets, use Disk Management on Windows 2000 or convert the disk before you upgrade to Windows XP.

And than, you can use Diskpart to delete missing dynamic disks. Dynamic disks contain a shared database; all of the dynamic disks on a computer have knowledge of all other dynamic disks on that computer. When dynamic disks are moved, the original computer considers theses disks as “missing”.

Commands to Set Focus

select

Use the select command to set the focus to the specified target. To obtain a list of focus types, leave the Type field blank. If you do not specify an identification (ID) number, the current focus object is displayed.

select disk[=n]

Use the select disk command to set the focus to the disk that has the specified Windows NT disk number. If you do not specify a disk number, the command displays the current in-focus disk.

select partition[=n/l]

Use the select partition command to set the focus to the specified partition. If you do not specify a partition, the current in-focus partition is displayed.

On basic disks, you can specify the partition by either index, drive letter, or mount point. You can only specify the partition by index on dynamic disks.

select volume[=n/l]

Use the select volume command to set the focus to the specified volume. If you do not specify a volume, the command displays the current in-focus volume.

You can specify the volume by either index, drive letter, or mount point path. On a basic disk, if you select a volume, the corresponding partition is put in focus.

Miscellaneous Commands
exit

Use the exit command to stop Diskpart and return control to the operating system.

clean [all]

Use the clean command to remove partition or volume formatting from the current in-focus disk by zeroing sectors. By default, only the MBR or GPT partitioning information and any hidden sector information on MBR disks is overwritten. If you specify the all parameter, each and every sector can be zeroed, and all data that is contained on the drive can be deleted.

rem [...]

The rem command does nothing, and you can use it to comment script files.

rescan

Use the rescan command to rescan all I/O buses and cause any new disks that have been added to the computer to be discovered.
Help Commands
help

Use the help command to display a list of all commands.

Popular Tags for the article:

a disk specified is not dynamic, cara convert dynamic drive to logical drive, diskpar for windows nt, diskpart dynamic a disk specified is not dynamic, diskpart show disks winnt, windows nt diskpart

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • BlinkList
  • blogmarks
  • Blogosphere News
  • connotea
  • LinkaGoGo
  • LinkedIn
  • Live
  • MyShare
  • MySpace
  • RSS
  • StumbleUpon
  • Technorati
  • Webnews.de
  • Yahoo! Bookmarks
  • Yahoo! Buzz

Related posts:

  1. Tips for Recover Grub Bootloader Ubuntu 9.10
  2. Dos Command from Microsoft Windows XP
  3. How to Make Windows XP running in Ubuntu
  4. Very Easy Ways to Recover or Reinstall Grub Boot Loader
  5. Tips to Get a Forgotten Windows Passwords with Ubuntu

Leave a Reply