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:
Hello Todaya,

You can delete the partition, and extend the partition to the left of it that you shrank it from back into it. :)

Hope this helps,
Shawn
 

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
Greetings,

I am having the problem where i have 120gigabytes of free data, but I can only shrink 78. I know that i have hit an unmoveable file of some sort, but I've been told that I could get around this by defragging etc. I have defragmented by disk, but with no result.

Any ideas on how I could resolve this?

Thanks in advance.
 

My Computer

OS
windows 7
Hello Aydhayeth, and welcome to Seven Forums.

You can use a trial version of a 3rd party disk management program (ex: Paragon Disk Manager) to easily shrink the partition when you have this type of problem with a unmovable file. Unfortunately, Disk Management in Windows 7 and Vista is limited.

Hope this helps,
Shawn
 

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
Thank you for your help.
I tried using the program, it did not get me much further but i've decided too keep it as 1 partition.

regards,

ayd
 

My Computer

OS
windows 7
Ok Ayd. You're welcome. :)
 

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 for the post, the forum is a fantastic resource.

I'm well versed with XP but the site has helped me come to terms with the changes in 7 comfortably, hope the site grows from strength to strength.
 

My Computer

Computer Manufacturer/Model Number
Dell Studio 1555
OS
Windows 7 Home Premium x64
CPU
Intel Core 2 Duo P7350 (2.0ghz, 1066mhz FSB 3mb cache)
Memory
2x 2GB (800mhz) DDR
Graphics Card(s)
ATI Radeon HD 4570 (512MB) (8.632.1.2000)
Monitor(s) Displays
(15.6' WLED) & (ViewSonic VX2433WM)
Screen Resolution
1366x768 & 1920x1080
Hard Drives
320GB (5,400rpm)
I can only shrink 78. I know that i have hit an unmoveable file of some sort, but I've been told that I could get around this by defragging ...

This is a problem in Vista or W7's defragger .. use another Defragger.
 

My Computer

Computer Manufacturer/Model Number
HP d4996t (upgraded)
OS
XP MCE .... XP Pro 64 .... W7 U x64
CPU
E6750, 2.67GHz C2D
Memory
4GB, PC2 6400
Graphics Card(s)
GeForce 9400GT
Monitor(s) Displays
Twin Samsung 2443BWT
Screen Resolution
1920x1200
Hard Drives
Many .. 3 Installed
PSU
460W
Internet Speed
Cable
Hi,
I was able to shrink (and got unallocated space) but when I tried to create a new volume, I'm facing some errors. It said that I have already contained max number of partitions. Before I had created one. I think there is another one which is as HP Recovery Disk.
Is there any way I can create volume? I don't want to use VHDs. Every time I restart my computer, I have to reattach those drives.

Thanks,
Suranjit
 

My Computer

Computer Manufacturer/Model Number
HP
OS
Windows 7 64 bit
CPU
Inter Core 2 Duo T6600
Memory
4GB DDR3
Graphics Card(s)
ATI Radeon
Sound Card
Altec Lansing
Hello Suranjit,

Could you post a screenshot of your Disk Management showing your drive layout?
 

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
Here is the Screen shot of my Disk Management. I still can not create New Volume from my Unallocated space...
attach.gif


Thanks,
Suranjit
 

Attachments

  • my Disk Management.jpg
    my Disk Management.jpg
    112.1 KB · Views: 1,833

My Computer

Computer Manufacturer/Model Number
HP
OS
Windows 7 64 bit
CPU
Inter Core 2 Duo T6600
Memory
4GB DDR3
Graphics Card(s)
ATI Radeon
Sound Card
Altec Lansing
Suranjit,

I would say that you're most likely going to need to use a 3rd party program like GParted to create the partition from the unallocated space instead. :(
 

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
Hey Brink,

Thanks for your suggestion. I will try to use GParted. But they mentioned that it's only for x86 machine (for Windows). I don't know whether it will work for my machine or not.

Are there any free 3rd party software available for partitioning? I tried to use some others but those did not help me.

Thanks,
Suranjit
 

My Computer

Computer Manufacturer/Model Number
HP
OS
Windows 7 64 bit
CPU
Inter Core 2 Duo T6600
Memory
4GB DDR3
Graphics Card(s)
ATI Radeon
Sound Card
Altec Lansing

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
I used Partition Magic Home Edition. It worked. But now there is a drive in my "Hard Disk Drives [Local Disk (Q)]" but Disk Management does not show anything. Is it a fake? Can I remove that from my Computer views?

And for Shrink related things, if anyone wants to create partitions but don't want the trouble related to Virtual HDs then they should do two things:
1. Shrink a partition (will create an unallocated space). Can not create volumes (more than 1/2) since it's limited in Windows 7.
2. Use a third party like Partition Wizard to create a partition from that shrink volume.

Thanks,
Suranjit
 

My Computer

Computer Manufacturer/Model Number
HP
OS
Windows 7 64 bit
CPU
Inter Core 2 Duo T6600
Memory
4GB DDR3
Graphics Card(s)
ATI Radeon
Sound Card
Altec Lansing
Strange, could you post a screenshot of it Computer and what is shows now in Disk Management?
 

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
Brink,
Here, I have attached two screen shots for my Computer & Disk management. You will see there is a drive "Local Disk (Q)" in the computer but not in Disk Management.

Thanks,
Suranjit
Screen.png

Screen2.png
 

My Computer

Computer Manufacturer/Model Number
HP
OS
Windows 7 64 bit
CPU
Inter Core 2 Duo T6600
Memory
4GB DDR3
Graphics Card(s)
ATI Radeon
Sound Card
Altec Lansing
Strange. Is it still there after a restart? Does it open?
 

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
Yeah, it's still there after restarting. I can not open that one. Says, Q:\ is not accessible. Can not open.
It's disturbing thing.

Plz let me know if there is any way to remove that.

Thanks,
Suranjit
 

My Computer

Computer Manufacturer/Model Number
HP
OS
Windows 7 64 bit
CPU
Inter Core 2 Duo T6600
Memory
4GB DDR3
Graphics Card(s)
ATI Radeon
Sound Card
Altec Lansing
Back
Top