How to Resize a Partition with a Bootable USB or CD (WinPE Guide)

Won't Windows let you resize your C drive? Read our complete guide on how to create a WinPE bootable partition manager (USB or CD/DVD) to safely shrink and extend partitions without booting into the Windows OS.

By Lucas    Updated on May 12, 2026

Quick Answer:

How do you resize a partition using a bootable CD or USB drive?

When Windows Disk Management prevents you from resizing your C drive because system files are actively in use, you must resize the partition outside of the Windows Operating System using a WinPE (Windows Preinstallation Environment) Bootable Media.

  • The Modern Tool: While legacy users often search for a "Boot CD," modern computers rarely have disc drives. You can create a bootable USB flash drive (or a traditional CD/DVD) using the Make Bootable Media feature in AOMEI Partition Software.
  • How it Works: By booting your computer directly from this WinPE USB/CD, you completely bypass the Windows OS. This "unlocks" your C drive, allowing you to shrink data partitions, move unallocated space, and extend your system drive safely without encountering "file in use" errors.
  • No Data Loss: Resizing partitions in a WinPE environment is highly secure and does not format your drive or delete your personal files.

If you have ever tried to manage your computer's storage using the native Windows Disk Management tool, you have likely run into a frustrating wall.

You want to give your C drive more space, so you shrink your D drive. But when you right-click the C drive, the "Extend Volume" option is grayed out. Or perhaps you try to shrink the C drive to create a new partition, but Windows refuses, claiming there are "unmovable files" blocking the process.

Why does this happen? Because Windows is actively running from the C drive. Crucial background files (like the Pagefile, Hibernation files, and system registries) are strictly locked while the OS is awake. You cannot remodel a house while you are living inside it.

To bypass these strict system locks, you need to step outside of Windows. In this comprehensive guide, we will show you how to create a WinPE partition manager on a Bootable USB or Boot CD. By booting your PC from this external media, you can safely and freely resize any partition on your hard drive.

Why Resize a Partition Outside of Windows?

Using a bootable partition manager (often referred to as a Live CD or WinPE USB) provides significant advantages over trying to force changes while Windows is running. IT professionals rely on this method for three main reasons:

1. Bypassing "Unmovable" System Files

As mentioned above, active system files anchor the C drive in place. When you boot your computer from a WinPE USB or CD, your main hard drive is completely dormant. Because Windows is not running, those "unmovable" files are temporarily deactivated, giving you 100% unrestricted access to shrink or extend the drive.

2. Maximum Data Safety

Resizing a partition is a delicate process that rewrites the hard drive's file system. If you do this while Windows is running and a background application crashes or a sudden Windows Update triggers, it can corrupt the partition table. Performing this task in a clean, isolated WinPE environment guarantees that no background software will interrupt the process.

3. Fixing Unbootable Computers

If a virus, a bad update, or a corrupted bootloader prevents Windows from starting at all, you cannot use built-in tools. A bootable partition manager acts as an emergency rescue disk, allowing you to access your hard drive, recover data, or fix partition errors without needing to load the operating system.

Resize Partition with Boot CD/USB in AOMEI Partition Software

In the past, creating a WinPE Boot CD required users to manually download the massive Microsoft Windows AIK (Automated Installation Kit) and type complex command-line scripts.

Today, that process is completely automated by AOMEI Partition Software. This software features a built-in "Make Bootable Media" wizard. With just a few clicks, it gathers the necessary WinPE files from your current system and writes them directly to a USB flash drive or burns them to a legacy CD/DVD if you are using an older PC.

AOMEI Partition Software

A safe and reliable disk partition management tool that helps you migrate OS to SSD or HDD, reorganize disk space, and improve overall PC performance.

 

Once created, this media contains a fully functional, lightweight operating system packed with AOMEI's powerful partition management interface.

Phase 1: How to Create the WinPE Bootable Media (USB or CD)

🤓 Preparation: You will need a working Windows computer and a blank USB flash drive (at least 8GB) or a blank CD/DVD.

Step 1. Launch the Software

Download, install, and open AOMEI Partition Software on a working PC.

Step 2. Open the Bootable Media Wizard

On the main interface, navigate to the top menu, click on Tools, and select Make Bootable Media. Click Next on the introductory screen.

Step 3. Choose Your Media Type

You will be presented with three options:

  • Burn to CD/DVD: Select this if you have an optical drive and wish to create a traditional Boot CD.
  • USB Boot Device: (Highly Recommended) Select this and choose your plugged-in USB flash drive from the drop-down menu.
  • Export ISO File: Choose this if you want to save the raw bootable image file to use in virtual machines (like VMware or VirtualBox).

Select your preferred method and click Proceed.

Step 4. Confirm Formatting

A warning will appear informing you that the USB drive or CD will be formatted. Ensure there are no important files on your USB drive, then click Yes. Wait for the process to complete (usually 3 to 5 minutes) and safely eject your new bootable media.

Phase 2: How to Boot Your PC from the USB/CD

Now that your tool is created, you need to tell your computer to boot from it instead of your normal Windows hard drive.

Step 1. Insert the Media: Plug the WinPE USB flash drive (or insert the Boot CD) into the computer whose partitions you want to resize.

Step 2. Restart and Enter BIOS/UEFI: Turn the computer on. The moment the screen lights up, press your motherboard's BIOS key repeatedly and rapidly. (This is usually F2, F12, F10, or DEL, depending on your PC's manufacturer).

Step 3. Change the Boot Order: Use your arrow keys to navigate to the Boot tab. Move your "USB Storage Device" or "CD-ROM Drive" to the absolute top of the boot priority list.

Step 4. Save and Exit: Press F10 to save your changes and exit. The computer will restart and boot directly into the AOMEI WinPE environment.

Phase 3: How to Resize the Partition in AOMEI WinPE

When the computer finishes booting, you will not see your normal Windows desktop. Instead, you will see the clean AOMEI Partition Software interface. Your hard drive is now completely "unlocked."

Here is how to allocate space from your D drive to your C drive:

Step 1. Shrink the D Drive (To generate unallocated space). Right-click on your D drive (or whichever partition has excess free space) and select Resize/Move Partition.

A window will appear with a slider bar. Drag the left border of the slider towards the right to shrink the partition.

The space you leave behind will become "Unallocated Space." Click OK.

Step 2. Move the Unallocated Space (If necessary)

If the unallocated space is not directly next to the C drive, right-click the D drive again, select Resize/Move Partition, and drag the entire D drive block to the right, pushing the unallocated space directly adjacent to the C drive.

Step 3. Extend the C Drive

Now, right-click your system C: drive and select Resize/Move Partition. Drag the right border of the slider all the way to the right to absorb the new unallocated space. Click OK.

Step 4. Apply the Changes

Review the pending operations listed on the left panel. If everything looks correct, click Apply in the top left corner, then click Proceed.

AOMEI will swiftly execute the partition resizing outside of Windows. Once finished, close the software, remove your Boot CD or USB, and reboot your computer. Your Windows OS will load normally, but your C drive will now be massively expanded.

Alternative Method: Resize C Drive using Windows Installation Media (CMD)

If you do not have access to third-party software but you do have a Windows Installation USB or CD, you can use it to boot your PC and access the Command Prompt.

 Warning: This method is highly technical and requires strict command-line syntax. Furthermore, the Diskpart tool still suffers from native Windows limitations—it cannot move partitions, meaning you can only extend the C drive if the unallocated space is already directly to its right.

Step 1: Boot from the Installation Media

Insert your Windows 10 or Windows 11 Installation USB/CD and boot your computer from it (using the BIOS boot order method mentioned in Phase 2).

Step 2: Open Command Prompt

When the initial "Windows Setup" screen appears (asking for your language and time zone), do not click Next. Instead, press Shift + F10 on your keyboard. This will instantly launch the Command Prompt terminal.

Step 3: Launch Diskpart

Type diskpart and press Enter to open the disk management utility.

Step 4: Locate and Select Your Drive

Type list volume and press Enter. A list of all your partitions will appear. Identify the volume number of your C drive and the volume you want to shrink.

Type select volume X (replace X with the volume number you want to shrink, e.g., your D drive) and press Enter.

Step 5: Shrink or Extend the Partition

To Shrink: Type shrink desired=10240 (This shrinks the volume by 10GB, as the number is in Megabytes) and press Enter.

To Extend: Type select volume Y (replace Y with your C drive number). Then type extend and press Enter to absorb the adjacent unallocated space.

Once completed, type exit to leave Diskpart, close the command window, and reboot your PC normally.

Conclusion

Being blocked by the Windows Operating System when trying to manage your own hard drive is incredibly frustrating. Whether you are dealing with a heavily locked C drive, unmovable system files, or a corrupted OS, stepping outside the Windows environment is the ultimate solution.

While the tech terminology has evolved from the classic "Boot CD" to the modern "Bootable USB," the strategy remains the same. By using AOMEI Partition Software to create a WinPE bootable media, you can safely bypass all native restrictions. With just a few clicks, you can shrink, move, and resize your partitions with absolute freedom, ensuring your PC's storage is perfectly optimized and completely secure.

Free Download Windows 11/10/8.1/8/7
Secure Download

FAQs

Q: Can I use a CD/DVD if I have an older computer?

A: Yes! While modern PCs primarily use USB flash drives, the AOMEI Make Bootable Media wizard fully supports burning the WinPE environment to legacy CDs and DVDs for older motherboards.

Q: Will resizing partitions in a WinPE environment delete my data?

A: No. Resizing, shrinking, and extending partitions via AOMEI Partition Software is a non-destructive process. It safely rewrites the partition boundaries without formatting the disk or erasing your personal files, programs, or operating system.

Q: Why was "Extend Volume" grayed out in Windows Disk Management?

A: Windows Disk Management is highly restrictive. It only allows you to extend a partition if there is unallocated space immediately adjacent to its right side. It also cannot shrink partitions past "unmovable" system files. Using a WinPE bootable media bypasses both of these native restrictions.

Q: Do I need to download the Microsoft Windows ADK to make this bootable media?

A: In most cases, no. Modern versions of AOMEI Partition Software have the necessary WinPE core files built directly into the software. The wizard will automatically generate the bootable environment without requiring you to download massive gigabytes of Microsoft ADK files.

Lucas · Editor
I prefer peaceful and quiet life during vacation,but sometimes I watch football match if my favorite club performs brilliantly in that season. And I love reading, painting and calligraphy, thus I send my friends festival handwriting cards every year.