Question

Difficulty: EasyMicrosoft Command-Line Tools

A technician needs to manually initialize and prepare a secondary unformatted hard drive (Disk 1) with an NTFS volume using the Windows DiskPart command-line utility. Arrange the following DiskPart commands in the correct order to complete this task.

  1. 1select disk 1
  2. 2clean
  3. 3create partition primary
  4. 4format fs=ntfs quick
  5. 5assign

Answer

The correct execution order in DiskPart is: select disk 1, clean, create partition primary, format fs=ntfs quick, and assign.
In DiskPart, task execution requires setting focus first using the selection command for Disk 1. Next, clearing old configuration data prepares the drive. Creating a primary partition establishes the volume boundary, formatting with NTFS writes the file system structures, and assigning a drive letter makes the partition accessible in Windows.

Step-by-Step Solution

1
Set focus to the target physical disk
Disk 1 becomes the active target in DiskPart.
Explicit context selection prevents accidentally modifying the primary operating system disk.
2
Clear existing disk configuration
All partition and volume information is removed from Disk 1.
Wiping the disk structure ensures a clean initialization state.
3
Build a primary partition
An unformatted primary partition is created.
File systems require a partition container to reside on.
4
Format the volume
The partition is formatted with the NTFS file system.
Formatting creates file allocation structures necessary for operating system file storage.
5
Mount the volume with a drive letter
Windows assigns the next available drive letter to the volume.
Assigning a drive letter exposes the drive to Windows File Explorer.

Key Concept

DiskPart command sequence for disk preparation
Rate this question