Partition or Volume - Shrink

How to Shrink a Partition or Volume in Windows 7

   Information
This will show you how to shrink an existing partition or volume using Disk Management or Diskpart in Windows 7 to create unallocated disk space, from which you can create a new partition or volume with.
   Warning
You must be logged on in an administrator account to be able to do this tutorial.

If while shrinking a partition below, you get a Convert to Dynamic disks? type prompt, do not do so.

If you disable the Disk Defragmenter service, then you will get the error below when you try to do anything in Disk Management. If you get this error, then make sure that the Disk Defragmenter service is set to only Manual.

Error.jpg





OPTION ONE

Using Disk Management


1. Open the Control Panel (icons view), and click on the Administrative Tools icon. then close the Control Panel window.

2. Click on Computer Management in Administrative Tools, then close the Administrative Tools window.

3. In the left pane under Storage, click on Disk Management. (See screenshot below)
Shrink_Step1.jpg
4. In the middle pane, right click on the partition that you want to shrink and click on Shrink Volume. (See screenshot above)

5. Type in how many MB (1 GB = 1024 MB) of the available shrink space shown that you want to shrink the partition or volume by to be used for the new unallocated space, then click on the Shrink button. (See screenshot below)
   Warning
The size of the available shrink space can be restricted by the amount of space currently allocated to on the hard drive for the virtual memory page file, System Protection maximum storage space size, and hibernation files. The location of the files on the hard drive plays a big part here because these files are marked as unmovable, and Disk Management is unable to relocate them. As such, if these unmovable files are located in the middle of the total amount of free space on the disk, then only the amount of free space on the other side (to the right) of these files will actually be available for the new partition. This will result in you showing that you have x amount of free space, but not being able to use it for your partition. The only way around this is to use a 3rd party hard drive partition management program, or setup the partition when installing Vista.

Shrink_Step2.jpg
6. The selected partition (step 4) has now been shrunk to create a new empty unallocated space. You can use this new unallocated space to create a new partition with. (See screenshot below)
Shrink_Step3.jpg
7. Close the Computer Management window. (See screenshot above)






OPTION TWO

Using Diskpart in a Elevated Command Prompt


1. Open a elevated command prompt, or a command prompt at boot.

2. In the elevated command prompt, type diskpart and press Enter. (See screenshot below)
CMD_Shrink_Step1.jpg
3. In the elevated command prompt, type list volume and press Enter. (See screenshot below)
NOTE: This will give you a list of volume numbers to select from to shrink.
CMD_Shrink_Step2.jpg
4. In the elevated command prompt, type select volume # and press Enter. (See screenshot below)
NOTE: You would substitute # for the volume number listed that you want to shrink. For example, I want to shrink the listed volume 2, so I would type select volume 2 and press Enter.
CMD_Shrink_Step3.jpg
5. In the elevated command prompt, type shrink querymax and press Enter. (See screenshot below)
NOTE: This will give you the maximum amount of size in MB that you can shrink the selected partition or volume (step 4) by to be used as the new unallocated space. For example, I have 696 GB available to shrink.
CMD_Shrink_Step4.jpg
6. To Shrink All of the Available Space
A) In the elevated command prompt, type shrink and press Enter.
NOTE: This will shrink the selected partition or volume by all of the maximum number of reclaimable bytes (step 4) to be used for the new unallocated space.

B) Go to step 8.
7. To Shrink the Available Space by a Specified Size
A) In the elevated command prompt, type shrink desired=(# in MB) and press Enter. (See screenshot below)
NOTE: You would substitute (# in MB) for how many MB (1 GB = 1024 MB) you want to shrink the selected partition or volume (step 4) by to be used for the new unallocated space. For example, if I only wanted to shrink the partition or volume by 81920 MB (80 GB), then I would type shrink desired=81920 and press Enter.
CMD_Shrink_Step5.jpg
8. In the elevated command prompt, type exit and press Enter. (See screenshot below)
CMD_Shrink_Step6.jpg
9. Close the elevated command prompt.

10. The selected partition (step 4) has now been shrunk to create a new empty unallocated space. You can use this new unallocated space to create a new partition with.
That's it,
Shawn





 
Last edited:

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Thanks.

By the way, would you recommend me shrinking and then partitioning my hard drive via Windows or should I do it while installing Ubuntu and the one it provides for partitioning. I already have Windows 7 installed and I am trying to dual boot it with Ubuntu.
 

My Computer

Computer Manufacturer/Model Number
Dell Inspiron E 1505
OS
Windows 7 Professional 32 Bit
CPU
Genuine Intel(R) CPU T2080 @ 1.73GHz 1.73 GHz
Motherboard
DELL
Memory
2GB
Graphics Card(s)
ATI Mobility Radeon X1400
Sound Card
High Definition Audio Device
Screen Resolution
1280 by 800
Hard Drives
136 GB
Recovery 10 GB
I'm afraid that I'll be of no help with Ubuntu, but you might great a new thread in the Installation & Setup forum area for this to see what we can do to help.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Shrinking C:

Hey I have just finished building my PC and am wanting to create a partition to install my game files etc onto. I've never done partitioning before but the plan is to have my operating system on one partition say 50GB and the remaining as a Data drive for installing my games. Is this the right Idea? and is it safe to shrink a volume that contains System files? I find the help file in computer management difficult to understand.

I've attached a screenshot of what I see in disk management below. I've noticed I don't have the system reserved partition of 100mb that everybody else seems to have. is it ok to just go ahead and shrink the C: drive despite this?
 

Attachments

  • Untitled.png
    Untitled.png
    41.2 KB · Views: 310

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 Home Premium x64
CPU
Intel Core i5-2500K
Motherboard
MSI - H61MA-E35 B3
Memory
8GB DDR3
Graphics Card(s)
Nvidia GTX 550 Ti
Hard Drives
Western Digital WD5001ABYS-01YNA0 ATA
Antivirus
Nod 32
Browser
Fire fox
Yes, its perfectly OK. You can go head and shrink the C: without any trouble.

Regards,
Golden
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Golden Mk. I.4
OS
Windows 10 Pro x64 ; Xubuntu x64
CPU
Intel i7 860 @ 2.80 GHz O/C'ed to 4.0GHz
Motherboard
Gigabyte P55A-UD3R Rev.1. Award BIOS F13
Memory
16GB Corsair Vengance DDR3 @ 661 MHz Dual Channel (9-9-9-24)
Graphics Card(s)
EVGA NVidia GTX 560 1024MB
Sound Card
Realtek Integrated
Monitor(s) Displays
Dual Samsung SyncMaster 2494HS
Screen Resolution
1920*1080 and 1920*1080
Hard Drives
1*Samsung 840 EVO 120GB SSD;
1*OCZ Vertex 2 60GB SSD;
2*Samsung F3 SpinPoint 1TB in RAID0;
1*Samsung F1 SpinPoint 1TB;
2*Western Digital 1TB External USB 3.0
1*Western Digital 500GB External USB 3.0
1*Seagate 500GB External USB 2.0
PSU
Thermaltake ToughPower QFan 750W
Case
Thermaltake Element S VK60001W2Z
Cooling
Corsair H60 Water Cooling, 2*230mm and 2*80mm case fans
Keyboard
Logitech G110
Mouse
Logitech MX518
Cool thanks. And what size roughly do you think I should keep for that C drive?
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 Home Premium x64
CPU
Intel Core i5-2500K
Motherboard
MSI - H61MA-E35 B3
Memory
8GB DDR3
Graphics Card(s)
Nvidia GTX 550 Ti
Hard Drives
Western Digital WD5001ABYS-01YNA0 ATA
Antivirus
Nod 32
Browser
Fire fox
Hello TheNothingNZ, and welcome to Seven Forums.

It depends on how much you plan on installing and saving to it, but the more the better since this is your OS partition. :)
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Hi Guys,

I did a shrink volume on my external 3tb HDD yesterday.
Here are the details...
Shrinked 1tb of space
Now i have 3 spaces in diskmgmt,
I: (1.92TB)
Unallocated (252gig): I named this, so it is called E: now.
Unallocated (756gig)

So my question is, i have been trying to extend E: to use up the 756gig, so that i will have 2 partitions of 1.92tb and 1tb. But the option to extend in E: is greyed out.

Can anyone advice me where did i go wrong?
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 x64

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Thanks Brink.

I am not at that computer right now, but i illustrated how it looks like.

The Extend Option on E: is greyed out.
 

Attachments

  • asd.jpg
    asd.jpg
    166.1 KB · Views: 296

My Computer

Computer type
PC/Desktop
OS
Windows 7 x64
Thanks Brink.

I am not at that computer right now, but i illustrated how it looks like.

The Extend Option on E: is greyed out.

Please post an unaltered screenshot. This is covering up to much to tell.

All I see in this screenshot is one D: partition on Disk 1, and no actual E: or unallocated space that you altered.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Please post an unaltered screenshot. This is covering up to much to tell.

All I see in this screenshot is one D: partition on Disk 1, and no actual E: or unallocated space that you altered.

I am illustrating the actual SS. :(
I'll do so tonight again then.

Anyway, y does shrinking 1tb of free space end up with 2 unallocated spaces of 256gb and 752gb?
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 x64
It depends on what order the partitions were shrunk, but you should be able to delete E: to have the last two partitions combine as one unallocated space that you should then be able to create a new partition with. :)
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
It depends on what order the partitions were shrunk, but you should be able to delete E: to have the last two partitions combine as one unallocated space that you should then be able to create a new partition with. :)

Haha Brink! THANKS!

You reply is exactly what i am looking for. I see that you get my illustration now. :P

So assuming i deleted E: the unallocated space will become approx 900gig(combined) instead of reverting back to 256gig and 756gig(2 separate unallocated space)?

Any chance that the 256gig(E: when deleted) will combine with D:? and leave that 756gig unallocated intact?
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 x64
Yep, when you delete E: it will become unallocated space that will merge with the current adjacent unallocated space to be one 900 GB unallocated space to the right of the D: partition. :)
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Yep, when you delete E: it will become unallocated space that will merge with the current adjacent unallocated space to be one 900 GB unallocated space to the right of the D: partition. :)

Thanks a lot!

But just curious, y did they divide it in the first place when i shrink 1tb of free space(into 200+ and 700+)?

Reading from the tutorial you posted earlier, it was mentioned about pagefile and some unmovable stuff. but in my case, the ratio is a bit weird? no?
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 x64
Hey Brink... here it is...
 

Attachments

  • 1.jpg
    1.jpg
    212 KB · Views: 136

My Computer

Computer type
PC/Desktop
OS
Windows 7 x64
So this is what happens when i delete...
 

Attachments

  • 2.jpg
    2.jpg
    238.8 KB · Views: 132

My Computer

Computer type
PC/Desktop
OS
Windows 7 x64
In that case, you must have created the partitions in some other order.

You could delete I: as well to make one large unallocated partition, create a new one large partition, then shrink it by how much you want the 2nd partition to be. However, you would have to find a location to save what's on I: until finished.

One option would be to use the free Partition Wizard Home Edition to move/resize the two unallocated spaces to be one new partition. This way you don't have to do anything with the data on I:.

How to resize Partition for Windows Server 2000/2003/2008 or Windows XP/7/Vista with partition magic manager software? Move/Resize Partition Help.

Create Partition help of partition software - Partition Wizard.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
In that case, you must have created the partitions in some other order.

You could delete I: as well to make one large unallocated partition, create a new one large partition, then shrink it by how much you want the 2nd partition to be. However, you would have to find a location to save what's on I: until finished.

One option would be to use the free Partition Wizard Home Edition to move/resize the two unallocated spaces to be one new partition. This way you don't have to do anything with the data on I:.

How to resize Partition for Windows Server 2000/2003/2008 or Windows XP/7/Vista with partition magic manager software? Move/Resize Partition Help.

Create Partition help of partition software - Partition Wizard.

Yeah i used PW. works like a gem. :P thanks!
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 x64
Back
Top