Question

Difficulty: MediumMicrosoft Command-Line Tools

A Windows technician needs to manually prepare a newly installed secondary hard disk (Disk 1) from an elevated Command Prompt using the DiskPart utility. The objective is to select the target disk, create a primary partition, format it with the NTFS file system using a quick format, and assign it the drive letter 'E'. In what order should the technician execute the following commands within the DiskPart environment?

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

Answer

The correct execution order is: select disk 1, create partition primary, format fs=ntfs quick, and assign letter=E.
To properly prepare a new hard drive using DiskPart, a technician must first set focus to the physical disk (select disk 1), create the partition structure (create partition primary), format the partition with the designated file system (format fs=ntfs quick), and finally assign a drive letter (assign letter=E) to mount the volume.

Step-by-Step Solution

1
Select the target disk using 'select disk 1'.
Disk 1 is set as the active disk focus in DiskPart.
DiskPart requires explicit target selection before running disk management operations.
2
Create the primary partition using 'create partition primary'.
Unallocated space on Disk 1 is allocated into a primary partition.
A logical partition structure must exist on raw disk space prior to file system formatting.
3
Format the volume using 'format fs=ntfs quick'.
The primary partition is initialized with an NTFS file system structure.
Formatting establishes the file system required to store files on the partition.
4
Assign the drive letter using 'assign letter=E'.
Drive letter E: is mapped to the active volume in Windows.
Assigning a drive letter makes the formatted partition visible and accessible to applications and users.

Key Concept

DiskPart command sequence for initializing, partitioning, formatting, and mounting secondary drives.
Estimated Time:1m 30s
Rate this question