If you ever need to shrink your Windows partition for any reason without the use of third-party software, you may have noticed that even with very little data on a disk, you generally cannot shrink the volume nearly as much as you might have expected. For example, if you have a 512GB SSD and there is only about 60GB space used in your Windows partition, you still find that you cannot make the partition smaller than about 250GB (this is just an example, real numbers will be different). One reason for this is that when you format a partition, Windows creates various pieces of metradata on the volume and some of that gets stored roughly in the center of the volume.
Yesterday, this idea hit me: What if I initially make my Windows partition tiny, say like 10GB, and I format it. Now, Windows creates the disk structures, and because the drive is only 10 GB in size, it puts some of that data only about 5GB into the volume. Now, right after having created it, perfom an "extend" operation to grow that partition and volume. Note that when you do this, Microsoft does NOT relocate the metadata. It remains just a few GB into this partition. The result? Under most circumstances, you should be able to shrink that partition by a lot more.
I tested my idea today and it worked perfectly.
I realize that doing this may be a pain in the neck for some people because it means creating the partitions prior to installing Windows. But, if you are automating Windows installing it becomes ridiculously easy. I only had to add two entries to my unattended answer file to make this change.
Yesterday, this idea hit me: What if I initially make my Windows partition tiny, say like 10GB, and I format it. Now, Windows creates the disk structures, and because the drive is only 10 GB in size, it puts some of that data only about 5GB into the volume. Now, right after having created it, perfom an "extend" operation to grow that partition and volume. Note that when you do this, Microsoft does NOT relocate the metadata. It remains just a few GB into this partition. The result? Under most circumstances, you should be able to shrink that partition by a lot more.
I tested my idea today and it worked perfectly.
I realize that doing this may be a pain in the neck for some people because it means creating the partitions prior to installing Windows. But, if you are automating Windows installing it becomes ridiculously easy. I only had to add two entries to my unattended answer file to make this change.
My Computers
-
At a glance
Win11 Pro 25H2 (RTM+)Intel i7-14650HX32 GBNo GPU - Built-in Intel Graphics- OS
- Win11 Pro 25H2 (RTM+)
- Computer type
- PC/Desktop
- Manufacturer/Model
- Acemagic
- CPU
- Intel i7-14650HX
- Memory
- 32 GB
- Graphics Card(s)
- No GPU - Built-in Intel Graphics
- Sound Card
- Integrated
- Monitor(s) Displays
- Varies as machine will often be moved to locations with different monitors
- Screen Resolution
- Varies
- Hard Drives
- 1 x 1TB Gen 4 NVMe SSD
- PSU
- 120W Power Brick
- Keyboard
- Corsair K70 Max RGB Magnetic Keyboard
- Mouse
- Logitech MX Master 3
- Internet Speed
- 1Gb Up / 1 Gb Down
- Browser
- Edge
- Antivirus
- Windows Defender
-
At a glance
Win11 Pro 25H2 (RTM+)Intel i7-1255U16 GBIntel Iris Xe Graphics- Operating System
- Win11 Pro 25H2 (RTM+)
- Computer type
- Laptop
- Manufacturer/Model
- Lenovo ThinkBook 13x Gen 2
- CPU
- Intel i7-1255U
- Memory
- 16 GB
- Graphics card(s)
- Intel Iris Xe Graphics
- Sound Card
- Realtek® ALC3306-CG codec
- Monitor(s) Displays
- 13.3-inch IPS Display
- Screen Resolution
- WQXGA (2560 x 1600)
- Hard Drives
- 2 TB 4 x 4 NVMe SSD
- PSU
- USB-C / Thunderbolt 4 Power / Charging
- Keyboard
- Backlit, spill resistant keyboard
- Mouse
- Buttonless Glass Precision Touchpad
- Internet Speed
- 1Gb Up / 1Gb Down
- Browser
- Edge
- Antivirus
- Windows Defender
- Other Info
- WiFi 6e / Bluetooth 5.1 / Facial Recognition / Fingerprint Sensor / ToF (Time of Flight) Human Presence Sensor




