Shrink a basic volume (2024)

  • Article

Applies To: Windows 11, Windows 10, Windows 8.1, Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012

You can decrease the space used by primary partitions and logical drives by shrinking them into adjacent, contiguous space on the same disk. For example, if you discover that you need another partition but don't have more disks, you can shrink the existing partition from the end of the volume to create new unallocated space. That space can then be used for a new partition. Certain file types can block the shrink operation. For more information, see Other considerations.

When you shrink a partition, any ordinary files are automatically relocated on the disk to create the new unallocated space. There's no need to reformat the disk to shrink the partition.

You can shrink primary partitions and logical drives on raw partitions—those without a file system—or partitions that use the NTFS file system.

Caution

If the partition is a raw partition (that is, one without a file system) that contains data (such as a database file), shrinking the partition might destroy the data.

Ways to shrink a basic volume

Note

You must be a member of the Backup Operators or Administrators group, at minimum, to complete these steps.

Shrink a basic volume by using Disk Management

  1. In Disk Management, right-click the basic volume you want to shrink.

  2. Select Shrink Volume.

  3. Follow the on-screen instructions.

Note

You can only shrink basic volumes that have no file system or that use the NTFS file system.

Shrink a basic volume by using the command line

  1. Open a command prompt and enter diskpart.

  2. At the DISKPART prompt, enter list volume. Note the number of the simple volume you want to shrink.

  3. At the DISKPART prompt, enter select volume <volumenumber>. Select the simple volume volumenumber you want to shrink.

  4. At the DISKPART prompt, enter shrink [desired=<desiredsize>] [minimum=<minimumsize>]. Shrink the selected volume by the amount specified in desiredsize in megabytes (MB) if possible, or by the amount specified in minimumsize if desiredsize is too large.

ValueDescription
list volumeDisplays a list of basic and dynamic volumes on all disks.
select volumeSelects the specified volume, where volumenumber is the volume number, and gives it focus. If no volume is specified, the select command lists the current volume with focus. You can specify the volume by number, drive letter, or mount point path. On a basic disk, selecting a volume also gives the corresponding partition focus.
shrinkShrinks the volume with focus to create unallocated space. No data loss occurs. If the partition includes unmovable files, such as the page file or the shadow copy storage area, the volume shrinks to the point where the unmovable files are located.
desired= desiredsizeThe amount of space, in megabytes, to recover to the current partition.
minimum= minimumsizeThe minimum amount of space, in megabytes, to recover to the current partition. If you don't specify a desired or minimum size, the command reclaims the maximum amount of space possible.

Other considerations

  • When you shrink a partition, certain files like the paging file or the shadow copy storage area can't be automatically relocated. Also, you can't decrease the allocated space beyond the point where the unmovable files are located.

  • If the shrink operation fails, check the Application Log for Event 259, which identifies the unmovable file. If you know the cluster(s) associated with the file that's preventing the shrink operation, you can also use the fsutil command at a command prompt (enter fsutil volume querycluster /? for usage). When you provide the querycluster parameter, the command output identifies the unmovable file that's preventing the shrink operation from succeeding.

    In some cases, you can relocate the file temporarily. For example, if you need to shrink the partition further, you can use Control Panel to move the paging file or stored shadow copies to another disk, delete the stored shadow copies, shrink the volume, and then move the paging file back to the disk.

  • If the number of bad clusters detected by dynamic bad-cluster remapping is too high, you can't shrink the partition. If this situation occurs, consider moving the data and replacing the disk. Don't use a block-level copy to transfer the data. This method also copies the bad sector table, and the new disk treats these sectors as bad even though they're healthy.

  • Manage basic volumes
Shrink a basic volume (2024)
Top Articles
Why Developers Should Use SVG Files | Delicious Brains
How to pack a carry-on (and save on airline baggage fees)
Blorg Body Pillow
Thor Majestic 23A Floor Plan
Dollywood's Smoky Mountain Christmas - Pigeon Forge, TN
Ofw Pinoy Channel Su
PRISMA Technik 7-10 Baden-Württemberg
Beautiful Scrap Wood Paper Towel Holder
Aries Auhsd
A Fashion Lover's Guide To Copenhagen
Infinite Campus Parent Portal Hall County
Cool Math Games Bucketball
Assets | HIVO Support
Oro probablemente a duna Playa e nomber Oranjestad un 200 aña pasa, pero Playa su historia ta bay hopi mas aña atras
272482061
Otterbrook Goldens
Inside the life of 17-year-old Charli D'Amelio, the most popular TikTok star in the world who now has her own TV show and clothing line
Loves Employee Pay Stub
Lawson Uhs
Kirksey's Mortuary - Birmingham - Alabama - Funeral Homes | Tribute Archive
Best Transmission Service Margate
Www.patientnotebook/Atic
Pixel Combat Unblocked
Downtown Dispensary Promo Code
Schooology Fcps
The Ultimate Guide to Obtaining Bark in Conan Exiles: Tips and Tricks for the Best Results
JD Power's top airlines in 2024, ranked - The Points Guy
Tas Restaurant Fall River Ma
Everything You Need to Know About NLE Choppa
Dreammarriage.com Login
Foolproof Module 6 Test Answers
Afspraak inzien
Puffco Peak 3 Red Flashes
Www Craigslist Com Brooklyn
How much does Painttool SAI costs?
Wunderground Orlando
Oppenheimer Showtimes Near B&B Theatres Liberty Cinema 12
Lake Kingdom Moon 31
Janaki Kalaganaledu Serial Today Episode Written Update
Former Employees
boston furniture "patio" - craigslist
Sound Of Freedom Showtimes Near Amc Mountainside 10
Best Haircut Shop Near Me
Florida Lottery Powerball Double Play
Movie Hax
2294141287
Abigail Cordova Murder
Rick And Morty Soap2Day
Pronósticos Gulfstream Park Nicoletti
Where Is Darla-Jean Stanton Now
Latest Posts
Article information

Author: Francesca Jacobs Ret

Last Updated:

Views: 5694

Rating: 4.8 / 5 (48 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Francesca Jacobs Ret

Birthday: 1996-12-09

Address: Apt. 141 1406 Mitch Summit, New Teganshire, UT 82655-0699

Phone: +2296092334654

Job: Technology Architect

Hobby: Snowboarding, Scouting, Foreign language learning, Dowsing, Baton twirling, Sculpting, Cabaret

Introduction: My name is Francesca Jacobs Ret, I am a innocent, super, beautiful, charming, lucky, gentle, clever person who loves writing and wants to share my knowledge and understanding with you.