This topic includes recommended disk-partition configurations for BIOS-based computers.
For information about disk partition configurations for UEFI-based computers, see Recommended UEFI-Based Disk-Partition Configurations.
This topic also describes the default configuration and gives examples of configurations using recovery partitions, using more than four partitions, and using a single partition. Other configurations are supported as long as they fulfill the requirements described in the Understanding Disk Partitions topic.
To create these partition structures by using Windows® System Image Manager (Windows SIM), see Create BIOS-based Hard-Disk Partitions by Using Windows SIM.
For image-based deployment, use the DiskPart tool to create the partition structures on your destination computers. For instructions, see Apply Images by Using ImageX.
Default Configuration
For new installations, by default, Windows Setup will create a system partition and a Windows partition.
This table shows the partition structure:
Description | Partition ID | Size | Partition type | Active | Format | Drive letter |
---|---|---|---|---|---|---|
System partition |
1 |
300 MB |
Primary |
true |
NTFS |
S |
Windows |
2 |
Remainder of disk |
Primary |
NTFS |
W |
Note: | |
In this example, the Windows partition is assigned the letter "W" to avoid drive-letter conflicts. After the computer reboots, the primary hard disk will automatically be reassigned to the letter "C". |
Windows Setup will automatically create these disk partitions when:
- There is no existing system partition on the
computer.
- The computer does not already have three
existing partitions.
- There is enough disk space for the
partitions.
When upgrading Windows from a previous version, Windows Setup does not change the arrangement of your partitions.
The code below shows a script for the DiskPart tool that will create the default partition structure, for use in image-based deployments:
select disk 0 clean create partition primary size=300 format quick fs=ntfs label="System" assign letter="S" create partition primary format quick fs=ntfs label="Windows" assign letter="W" exit
System Recovery
Consider installing recovery tools such as Windows Recovery Environment (Windows RE) in either the system partition or in a separate recovery partition to enable end users to repair or reinstall Windows without deleting the recovery tools.
Once installed, you can configure Windows Boot Manager to start a recovery tool when Windows is unable to start.
To configure a separate recovery partition, identify the recovery partition as a utility partition by setting the Partition Type:
- In Windows SIM, set:
Microsoft-Windows-Setup
\DiskConfiguration\Disk\ModifyPartition\TypeID
to0x27
.
- In the DiskPart tool, after you have created
and formatted the partition, use the command set id=27.
We recommend placing recovery and utility partitions at the beginning of the drive. Recovery partitions do not appear in Windows Explorer.
In the example below, the configuration includes a primary recovery partition, a primary system partition, and a primary Windows partition.
The table below shows settings to use in
Windows SIM, under the
Microsoft-Windows-Setup\DiskConfiguration\Disk
setting, to set up this example configuration.
Description | Create Partition: Order | Create Partition: Extend | Create Partition: Size | Create Partition: Type | Modify Partition: Order | Modify Partition: PartitionID | Modify Partition: Active | Modify Partition: Format | Modify Partition: Label | Modify Partition: Letter | Modify Partition: TypeID |
---|---|---|---|---|---|---|---|---|---|---|---|
Recovery tools (such as Windows RE) |
1 |
Size of the customized Windows recovery image |
Primary |
1 |
1 |
NTFS |
Recovery |
R |
0x27 |
||
System partition |
2 |
300 |
Primary |
2 |
2 |
true |
NTFS |
System |
S |
||
Windows |
3 |
true |
Primary |
3 |
3 |
NTFS |
Windows |
W |
Note: | |
In this example, the Windows partition is assigned the letter "W" to avoid drive-letter conflicts. After the computer reboots, the primary hard disk will automatically be reassigned to the letter "C". |
For image-based deployment, create an identical partition structure on the destination computer. The code below shows a script for the DiskPart tool that will create the example partition structure:
select disk 0 clean create partition primary size=3000 format quick fs=ntfs label="Recovery" assign letter="R" set id=27 create partition primary size=300 format quick fs=ntfs label="System" assign letter="S" active create partition primary format quick fs=ntfs label="Windows" assign letter="W" exit
Using More Than Four Partitions
On BIOS-based systems, each hard drive can have up to four primary partitions, or up to three primary partitions and an extended partition. An extended partition can be divided into multiple logical partitions.
Note: | |
|
The diagram below includes three primary partitions (Recovery, Utility2, and a system partition) and an extended partition. The extended partition includes logical partitions (Windows and Logical2).
The table below shows the settings to use in
Windows SIM, under
Microsoft-Windows-Setup\DiskConfiguration\Disk
, to set
up this example configuration.
Description | Create Partition: Order | Create Partition: Extend | Create Partition: Size | Create Partition: Type | Modify Partition: Order | Modify Partition: PartitionID | Modify Partition: Active | Modify Partition: Extend | Modify Partition: Format | Modify Partition: Label | Modify Partition: Letter | Modify Partition: TypeID |
---|---|---|---|---|---|---|---|---|---|---|---|---|
Recovery |
1 |
Size of the customized Windows recovery image |
Primary |
1 |
1 |
NTFS |
Recovery |
R |
0x27 |
|||
Utility2 |
2 |
250 |
Primary |
2 |
2 |
NTFS |
Utility2 |
U |
0x27 |
|||
System partition |
3 |
100 |
Primary |
3 |
3 |
true |
NTFS |
System |
||||
Extended partition |
4 |
true |
Extended |
|||||||||
Windows |
5 |
15000 |
Logical |
4 |
4 |
NTFS |
Windows |
W |
||||
Logical2 |
6 |
100 |
Logical |
5 |
5 |
true |
NTFS |
Logical2 |
L |
Note: | |
In this example, the Windows partition is assigned the letter "W" to avoid drive-letter conflicts. After the computer reboots, the primary hard disk will automatically be reassigned to the letter "C". |
For image-based deployment, you must create an identical partition structure on the destination computer. The code below shows a script for the DiskPart tool that will create the example partition structure:
select disk 0 clean create partition primary size=3000 format quick fs=ntfs label="Recovery" assign letter="R" set id=27 create partition primary size=250 format quick fs=ntfs label="Utility2" assign letter="U" set id=27 create partition primary size=100 format quick fs=ntfs label="System" assign letter="S" active create partition extended create partition logical format quick fs=ntfs label="Windows" assign letter="W" create partition logical format quick fs=ntfs label="Logical2" assign letter="L" exit
Using a Single Partition
You can install Windows on a drive with only a single partition.
Important: | |
Without a separate system partition, some tools may not be available, such as Windows® BitLocker™ Drive Encryption. For more information, see Understanding Disk Partitions. |
The table below shows settings used in
Windows SIM, under the
Microsoft-Windows-Setup\DiskConfiguration\Disk
setting, to set up this example configuration.
Description | Create Partition: Order | Create Partition: Extend | Create Partition: Type | Modify Partition: Order | Modify Partition: PartitionID | Modify Partition: Active | Modify Partition: Format | Modify Partition: Label | Modify Partition: Letter | Modify Partition: TypeID |
---|---|---|---|---|---|---|---|---|---|---|
Windows |
1 |
true |
Primary |
1 |
1 |
true |
NTFS |
Windows |
C |
For image-based deployment, you must create an identical partition structure on the destination computer. The code below shows a script for the DiskPart tool that will create the example partition structure:
select disk 0 clean create partition primary format quick fs=ntfs label="Windows" assign letter="C" exit
Drives that do not appear in Windows Explorer
By default, the system partition and utility partitions do not appear in Windows Explorer. To confirm that these partitions exist on the destination computer, do the following:
- Click Start, right-click Computer, and then click
Manage. This opens the Computer Management control
panel.
- Click Disk Management. The list of available disks and
partitions appears.
- In the list of partitions, confirm that the system and utility
partitions are present and are not assigned a drive letter.