Многие люди хотят расширить разделы в Windows Server 2022 после его работы в течение некоторого времени. Диск C: и другие разделы, например, для баз данных, резервных копий и т. д., заполняются. Было бы идеально, если бы вы могли расширить раздел, не тратя время на повторное создание разделов и восстановление всего из резервной копии. Чтобы расширить том в Windows Server 2022, вы можете попробовать либо родной Windows инструменты или стороннее программное обеспечение. Однако из-за определенных ограничений собственные инструменты работают только при определенных условиях. Лучшим выбором является использование безопасного программного обеспечения для разделения, чтобы расширить тома в Server 2022. В этой статье представлены 3 способа расширения разделов в Windows Server 2022/2025 без потери данных.
Содержание:
- Увеличить объем в Windows Server 2022 diskpart CMD
- Расширить раздел в Server 2022 с управлением дисками
- Продлить Server 2022 том с безопасным программным обеспечением для разделов
1. Расширить объем в Windows Server 2022 diskpart CMD
DiskPart — это Windows встроенный инструмент, запущенный из командной строки. Вы можете выполнять множество операций управления дисками и разделами, таких как создание, удаление, форматирование, преобразование, сжатие, расширение тома и т. Д.
Press Windows и R на клавиатуре, чтобы открыть «Выполнить», введите diskpart и нажмите Enter, затем diskpart Откроется окно командной строки. Введите «?» и нажмите Enter, вы увидите все доступные команды.
Как расширить раздел C в Server 2022/2025 с diskpart команда:
- Чтобы открыть, следуйте методу выше. diskpart командное окно.
- Тип list volume и нажмите Enter, тогда все разделы будут показаны в списке.
- Тип select volume D и нажмите Enter. (D — это номер или буква диска соседнего раздела справа.)
- Тип delete volume и нажмите Enter.
- Тип select volume C и нажмите Enter.
- Тип extend и нажмите Enter.
Есть команда «сжать», почему бы не сжать смежный диск D, чтобы расширить раздел C? При сжатии D или любого другого раздела с помощью diskpart команда, нераспределенное пространство создается с правой стороны. Таким образом, это нераспределенное пространство всегда не является смежным с диском C. Diskpart Команда «extend» может расширить раздел NTFS только при наличии смежного нераспределенного пространства справа. Если вы сжимаете раздел D, чтобы расширить диск C через diskpart, вы получите сообщение об ошибке «На указанном(ых) диске(ах) недостаточно полезного свободного места для расширения тома«.
2. Расширьте раздел в Server 2022/2025 с управлением дисками
Управление дисками — еще один родной Windows инструмент с графическим интерфейсом, что делает его более простым в использовании для многих людей. Однако, как и diskpart Команда Disk Management может расширить раздел NTFS только с прилегающим справа нераспределенным пространством. Это означает, что вы должны удалить диск D: перед расширением диска C:. Кроме того, чтобы расширить раздел в Windows Server 2022/2025 с помощью управления дисками, разделы, которые нужно удалить и расширить, должны быть одного типа — либо оба первичные, либо оба логические. В противном случае, Опция «Расширить том» будет неактивна., даже после удаления раздела.
На моем тестовом сервере я уменьшил диск D: и получил 30 ГБ нераспределенного пространства. Как вы видите на снимке экрана, «Расширить том» неактивно для дисков C и E, потому что это нераспределенное пространство не является смежным с диском C и находится слева от диска E.
Если диск D является основным на вашем сервере и вы можете его удалить, выполните следующие шаги. В противном случае перейдите к следующему разделу.
Как увеличить объем в Windows Server 2022/2025 без ПО:
- Press Windows + X на клавиатуре и выберите в списке пункт «Управление дисками».
- Щелкните правой кнопкой мыши соседний раздел D и выберите «Удалить том».
- Щелкните правой кнопкой мыши диск C и выберите «Расширить том». Выполните следующие шаги во всплывающем окне «Мастер расширения тома».
Если конфигурация разделов вашего диска не соответствует требованиям или вы не хотите удалять какие-либо разделы, запустите вместо этого программное обеспечение для безопасного разбиения диска.
3. Расширить Server 2022 том с безопасным программным обеспечением для разделов
Здесь очень много раздел программного обеспечения для Server 2022, но немногие достаточно безопасны. Лучше, чем другие инструменты, NIUBI Partition Editor имеет мощный виртуальный режим, возможность отмены по желанию, 1-секундный откат и технологию горячего клонирования для защиты серверной системы и данных.
Скачать эту программу, и вы увидите главное окно со структурой разделов диска и другой информацией.
Как увеличить объем в Windows Server 2022 без потери данных:
- Щелкните правой кнопкой мыши соседний диск D и выберите «Изменить размер/переместить том» в NIUBI Partition Editor, перетащите левую границу вправо во всплывающем окне. После этого диск D будет сжат, а слева появится нераспределенное пространство.
- Щелкните правой кнопкой мыши диск C: и выберите «Изменить размер/Переместить том», перетащите правую границу вправо, чтобы объединить это нераспределенное пространство.
- Нажмите «Применить» в левом верхнем углу главного окна, чтобы изменения вступили в силу.
Следуйте шаги в видео в продлить диск C in Windows Сервер 2022
- Если вы хотите уменьшить диск D, чтобы расширить диск E, перетащите правую границу влево на шаге 1 и перетащите левую границу влево на шаге 2.
- Если вы хотите уменьшить E, чтобы расширить диск C, есть дополнительный шаг, чтобы переместить раздел D справа и создайте нераспределенное пространство рядом с диском C.
- Если вы хотите расширить раздел сервера 2022 в VMware/Hyper-V/RAID, выполните те же действия, что и выше.
Помимо уменьшения и увеличения объема в Windows Server 2022/2025 и предыдущий Server 2019/ 2016/2012/2008/2003, NIUBI Partition Editor помогает вам выполнять многие другие операции по управлению разделами диска, такие как перемещение, объединение, преобразование, клонирование, дефрагментация, скрытие, стирание раздела и сканирование поврежденных секторов.
Скачать
Многие администраторы серверов сталкивались с проблемой, C: диск переполняется и изменился на красный. Что вы будете делать в этой ситуации, пересоздавать все разделы и восстанавливать все из резервной копии? Никто не хочет так делать. Это критическая проблема, когда диск C заполнен, поэтому вам лучше исправить это как можно быстрее.
Самый быстрый и простой способ решить эту проблему — расширение C: диск за счет уменьшения другого объема.
Обзор:
- Преимущества расширения раздела Windows 2012
- 3 способа расширить раздел в Windows Server 2012
- Способ 1 — Расширение тома с помощью Diskpart
- Способ 2 — увеличить объем с помощью управления дисками
- Способ 3 — Расширить раздел безопасным программным обеспечением
Преимущества расширения раздела для Server 2012
Когда диск C заполняется, вы можете увеличить место на диске C без потери программ и данных. Сократите том данных, чтобы освободить свободное место, а затем перенесите на диск C. Таким образом, вы можете решить эту проблему быстро и легко. Операционная система, программа и все остальное остаются такими же, как и прежде. Это стоит очень много времени, если вы заново создаете раздел, восстанавливаете все из резервной копии и проверяете данные. Для расширения раздела в Server 2012 R2 есть 3 вида инструментов. В этой статье я расскажу, как расширить том в Windows Server 2012 R2 с помощью этих инструментов шаг за шагом.
3 метода увеличения громкости на сервере Windows 2012
Для расширения раздела в Windows Server 2012 r2 существует 3 вида инструментов: diskpart, Disk Management и программное обеспечение для разделов диска.
- Diskpart был добавлен из Server 2003. Он работает из командной строки и может выполнять базовые и расширенные операции по управлению разделами, такие как сжатие и расширение тома. Однако для многих пользователей компьютеров командная строка неудобна в использовании.
- Начиная с Windows Server 2008, Microsoft добавила новые функции «Сжать том» и «Расширить том» в Disk Management с графическим интерфейсом. Однако, как и в случае с diskpart, Disk Management имеет много ограничений при изменении размера разделов. Вы столкнетесь со многими проблемами при расширении раздела на сервере Windows.
- Программное обеспечение для разбиения диска гораздо мощнее собственных инструментов. Однако существует потенциальный риск повреждения системы/раздела при использовании ненадежного программного обеспечения. Поэтому лучше заранее сделать резервную копию и запустить самое безопасное программное обеспечение для разбиения.
Способ 1 — расширить раздел Server 2012 с помощью Diskpart cmd
- Press Windows и R , чтобы открыть Run, напишите CMD и нажмите Enter.
- Тип Diskpart в окне командной строки.
- Тип Список дисковнажмите Enter, а затем введите список разделов, (Эта операция предназначена для просмотра существующих дисков и разделов.
- Тип выберите диск 0, то выберите раздел 1 (Выберите том диска для работы, обычно это должен быть диск 0 и раздел 1)
- Тип увеличить размер = XX (XX — это объем пространства, 1024 МБ = 1 ГБ, если вы не укажете размер, команда расширит раздел на все доступное пространство.)
Примечание: этот метод работает только тогда, когда вы удалять примыкающий раздел справа, чтобы расширить раздел слева. Например: до расширение диска C в Server 2012, необходимо заранее удалить непрерывный раздел D.
Способ 2 — расширить том Server 2012 с помощью управления дисками
Как я уже сказал выше, Disk Management и diskpart работают по-разному, но у них одинаковые ограничения. Перед расширением раздела вам также необходимо удалить смежный раздел справа. Кроме того, 2 раздела должны быть одинаковыми первичными или логическими. Если вы не хотите удалять раздел или если ваша структура разделов не соответствует требованиям, перейдите к следующему разделу.
Как увеличить том в Windows Server 2012 R2 с помощью управления дисками:
- Переместите все файлы в смежном разделе справа (например, D:) в другое место.
- Нажмите одновременно клавиши Windows + X и нажмите «Управление дисками» в списке.
- Щелкните правой кнопкой мыши раздел справа (например, D:) и выберите «Удалить том».
- Щелкните правой кнопкой мыши раздел слева (например, C:) и выберите «Расширить том». Следите за мастером.
Способ 3 — расширить раздел в Server 2012 r2 безопасным программным обеспечением
С помощью программного обеспечения для разделов сервера вы можете сжать диск D и создать нераспределенное пространство слева. Таким образом, диск C можно легко расширить, не удаляя никаких разделов. Операционная система, программы и все остальное остаются такими же, как и прежде. Однако, как я уже сказал выше, существует потенциальный риск повреждения системы и разделов из-за ненадежного программного обеспечения. Вам лучше заранее сделать резервную копию сервера и запустить безопасный инструмент.
Лучше, чем другие программы, NIUBI Partition Editor имеет уникальную технологию 1-Second Rollback. Если он обнаруживает какую-либо ошибку при изменении размера разделов, он автоматически возвращает сервер в исходное состояние в мгновение ока. Чтобы избежать ошибки, он разработан для работы в виртуальном режиме. Он перечисляет все операции как ожидающие предварительного просмотра, и реальные разделы диска не будут изменены, пока не будет нажата кнопка «Применить» для подтверждения. Кроме того, он может клонировать раздел диска в Windows без прерывания работы сервера. Еще одним важным преимуществом является то, что он намного быстрее. Специальный алгоритм перемещения файлов NIUBI помогает сжимать, перемещать и копировать разделы на 30% — 300% быстрее. Это очень полезно для экономии времени.
Как расширить раздел в Windows Server 2012 R2 без потери данных:
Шаг 1: Скачать NIUBI Partition Editor, щелкните правой кнопкой мыши D: диск и выберите «Изменить размер / переместить объем».
Шаг 2: Во всплывающем окне перетащите оставил граница правота чтобы уменьшить этот раздел и создать нераспределенное пространство слева.
Нажмите OK и возвращаемся к главному окну, в виртуальном режиме создается нераспределенное пространство объемом 20 ГБ, а в левом нижнем углу отображается список ожидающих выполнения операций.
Шаг 3: Щелкните правой кнопкой мыши C привод и снова выберите «Изменить размер/Переместить том». В всплывающем окне перетащите правую сдвиньте границу вправо, чтобы объединить это нераспределенное пространство.
Шаг 4: Нажмите OK и обратно в главное окно. Диск C увеличен до 60 ГБ в виртуальном режиме. Нажимать Применить вступить в силу, готово!
Чтобы сжимать, расширять и перемещать разделы, вам просто нужно перетащить их на карту диска. Поддерживаются внутренние и съемные SSD/HDD, все типы аппаратных RAID-массивов, виртуальные машины VMware/Hyper-V, USB-накопители и карты памяти.
Видеоруководство по расширению громкости на Server 2012 R2
Помимо расширения раздела в Windows Server 2012/2016/2019/2022/2025 и предыдущих версиях Server 2003/2008 (R2), NIUBI Partition Editor поможет вам сделать много других операций управления разделами диска.
Подробнее Скачать
Внимание! Произведите бекап важных файлов(данных) перед расширением.
Стандартное расширение
1. Заходим на сервер по rdp (если не знаете как, сначала сюда).
2. Правой кнопкой мыши нажимаем на «Пуск» и затем на «Управление дисками» (если у вас английское написание и вам непривычно, сюда).
3. Правой кнопкой мыши нажимаем на диск «C:» и далее на «Расширить том».
4. Нажимаем «Далее».
5. По стандарту предоставляет выбрать все свободное место, по желанию можете написать свое значение, затем нажать «Далее».
6.Нажимаем кнопку «Готово».
Расширение через diskpart (Если не получается через стандартное расширение)
Данный случай в основном подходит, когда система не
позволяет сделать это в стандартном варианте через Extend Volume (Расширить том):
1.Правой кнопкой мыши нажимаем на значок «Пуск» и затем Run (Выполнить). Затем написать cmd и нажать «OK»
2.В открывшемся окне выполняем команду Diskpart
3.В списке дисков list disk выбираем нужный диск select disk 0
4.Выбираем из списка разделов list vol тот раздел, который нам необходим select volume 1
5.Добавляем к тому все доступное свободно место extend и проверяем, что он расширен list vol
Необязательные, но возможно будут полезные для общего развития команды diskpart:
| Команды | |
|---|---|
| Команда | Описание команды |
help
|
Отображает список доступных команд или подробные сведения о справке по указанной команде. |
active
|
Помечает раздел диска с фокусом как активный. |
assign
|
Назначает букву диска или точку подключения тому с фокусом. |
attributes
|
Отображает, задает или очищает атрибуты диска или тома. |
automount
|
Включает или отключает функцию автоматического отключения. |
break
|
Разбивает зеркало том с фокусом на два простых тома. |
clean
|
Удаляет любую секцию или форматирование тома из диска с фокусом. |
compact vdisk
|
Уменьшает физический размер динамического расширения виртуального жесткого диска (VHD). |
convert
|
Преобразует тома для распределения файлов (FAT) и FAT32 в файловую систему NTFS, оставляя существующие файлы и каталоги без изменений. |
detach vdisk
|
Останавливает выбранный виртуальный жесткий диск (VHD) от отображения в качестве локального жесткого диска на хост-компьютере. |
detail
|
Отображает сведения о выбранном диске, секции, томе или виртуальном жестком диске (VHD). |
exit
|
Завершает интерпретатор команды diskpart. |
expand vdisk
|
Развертывает виртуальный жесткий диск (VHD) до указанного размера. |
extend
|
Расширяет том или секцию с фокусом вместе с файловой системой в свободное (нераспределированное) пространство на диске. |
filesystems
|
Отображает сведения о текущей файловой системе тома с фокусом и выводит список файловых систем, поддерживаемых для форматирования тома. |
format
|
Форматирует диск для приема файлов. |
gpt
|
Назначает атрибуты gpt секции с фокусом на базовых дисках таблицы разделов GUID (gpt). |
inactive
|
Помечает системную секцию или загрузочную секцию с фокусом как неактивную на дисках основной загрузки (МБ R). |
merge vdisk
|
Объединяет разностный виртуальный жесткий диск (VHD) с соответствующим родительским виртуальным жестким диском. |
offline
|
Принимает сетевой диск или том в автономное состояние. |
online
|
Принимает автономный диск или том в состояние «в сети». |
recover
|
Обновляет состояние всех дисков в группе дисков, пытается восстановить диски в недопустимой группе дисков и повторно выполняет повторную синхронизацию зеркало томов и томов RAID-5 с устаревшими данными. |
rem
|
Предоставляет способ добавления комментариев в скрипт. |
remove
|
Удаляет букву диска или точку подключения из тома. |
repair
|
Восстанавливает том RAID-5 с фокусом, заменив сбой области диска указанным динамическим диском. |
rescan
|
Находит новые диски, которые, возможно, были добавлены на компьютер. |
retain
|
Подготавливает существующий динамический простой том для использования в качестве загрузочного или системного тома. |
san
|
Отображает или задает политику сети хранения (san) для операционной системы. |
select
|
Перемещает фокус на диск, секцию, том или виртуальный жесткий диск (VHD). |
set id
|
Изменяет поле типа секции для секции с фокусом. |
shrink
|
Уменьшает размер выбранного тома по указанному объему. |
uniqueid
|
Отображает или задает идентификатор таблицы разделов GUID (GPT) или сигнатуру главной загрузочной записи (МБ R) для диска с фокусом. |
Как расширить системный раздел диска в Windows Server
<< SurvivalHost Wiki
| К началу статьи
Hostingrust.ru
Важно знать, что на VDS всегда можно расширить дисковое пространство без потери данных штатными средствами. Это удобно после апгрейда серверов. После того как техническая поддержка добавила по вашему запросу еще дискового пространства, мы должны теперь увеличить его внутри ОС. Важно иметь в виду, что процедура расширения как правило простая, однако процедура уменьшения дискового пространства как правило не используется на практике, т.к. более сложная.
Для начала мы должны войти на наш сервер и щелкнуть правой кнопки мыши на “Пуск”, а затем выбрать “Управление дисками”
После открытия управления дисками щелкаем правой кнопкой мыши на системный диск “C:” и нажимаем на “Расширить том”.
Выбираем сколько места хотим выделить системному тому и нажимаем на “Далее”. По умолчанию выделяется все свободное место.
На последнем шаге нажимаем на “Готово” и таким образом мы расширяем диск.
Как можете увидеть размер диска увеличился и теперь у нас вместо изначальных 20GB имеется 30GB дискового пространства.
На этом все! Если у вас возникнут любые вопросы, мы будем рады вам помочь!
Услуги
Introduction
Extending volume on Windows Server 2022? Here are several ways that you may extend volume with or without software and get data & OS protection without formatting. You can also shrink a volume without data loss to produce unallocated space or extend a volume without losing data when there is unallocated space.
Quick Navi
- Part1: Extend volume on Windows Server 2022 [3 methods]
- Part2: Resize C Drive on Server 2022
- Part3: How to Enable Extend Volume When It’s Not Available
- Part4: Extend a Volume from Another Disk (Including RAID Setup)
Note: Extending a volume is based on unallocated space, or you may merge two volumes to expand a volume. If you want to shrink a volume, Windows built-in tools can help shrink an NTFS volume without data. When shrinking a FAT32 volume, you may use a third-party tool like IM-Magic Partition Resizer, which can help protect the server against unexpected power surges or shutdowns during the resizing procedure with its rollback algorithms.
| Function Comparison (Extend Volume for Server 2022) | |||
| Disk Management | Diskpart | Partition Resizer* | |
| Extend NTFS C drive when there is adjacent unallocated space |
|||
| Extend FAT32 C drive | NO | NO | |
| Shrink FAT32 partition | NO | NO | |
| Move unallocated space or partition without data loss | NO | NO | |
| Move Partition | NO | NO | |
| Merge Partitions | NO | NO | |
| Merge C and D/Adjacent Partition | NO | NO | |
| Convert MBR Disk to GPT Without Data Loss | NO | NO | |
| Recovery partition in the way | NO | NO | |
| Delete the Recovery Partition | NO | ||
| Delete Volume | |||
| Eg.#1: C, D (Delete D to extend C) |
C must be NTFS | C must be NTFS | C can be NTFS/FAT32 |
| Eg.#2: C, D (Shrink D to extend C) |
NO | NO | |
| Eg.#3: C, D (Merge D and C) |
NO | NO | |
| Eg.#4: C, Recovery, D (Delete/Shrink D to Extend C) |
NO | NO | |
| Eg.#5: C, D, E, F (Shrink E to Extend C) |
NO | NO | |
| Download Win Server (Free Demo) |
Part1: 3 Ways to Extend Volume on Server 2022
Method 1: Using Disk Management to Extend Volume Server 2022
Conditions:
Extending a volume will only show up for drives under the following terms and conditions:
- The target drive must be using the NTFS file system (FAT32 partitions cannot be extended with Disk Management).
- There must be unallocated space immediately adjacent to the partition that you wish to extend. No recovery partition stands in the way, or Disk Management and Diskpart cannot extend the volume.
- The unallocated space must be contiguous with the partition you want to extend. This means the space must be directly next to the partition (usually on the right side).
- If the disk is an MBR disk, it must be smaller than 2TB in size (MBR disks larger than 2TB cannot have unallocated space that is usable for volume extension).
- If the disk is GPT, the «Extend Volume» option will work without the 2TB limitation.
Windows includes a built-in tool called Disk Management, which offers an intuitive graphical interface, making it accessible to most users. Using this tool, you can extend an NTFS partition by allocating adjacent unallocated space. However, before expanding the C drive, you’ll need to delete the D drive or any adjacent partitions.
That said, Disk Management does have its limitations.
Limitations of Disk Management: Disk Management can only extend a partition if there is unallocated space immediately next to it. If there’s a partition (e.g., D:) between the C drive and the unallocated space, you won’t be able to extend the C drive. Furthermore, this tool only supports primary partitions and requires the unallocated space to be contiguous with the partition you wish to extend.
Steps to Extend Volume Using Disk Management:
- Step 1: Press Win + X and select Disk Management from the menu.
- Step 2: Right-click on the volume (e.g., C drive) that you want to extend, and select Extend Volume from the context menu.
- Step 3: In the «Extend Volume Wizard,» click Next and select the amount of space to add. If there’s unallocated space directly adjacent to the C drive, it will be automatically detected and made available for extension.
- Step 4: After selecting the unallocated space, click Next and then Finish to complete the extension.
Method 2: Using Diskpart CMD to Extend Volume Server 2022
DiskPart is a powerful, command-line tool included with Windows that allows you to manage disk partitions. It offers more flexibility than Disk Management, particularly in situations where the graphical tool is unavailable or does not offer the functionality you need. Diskpart allows you to extend partitions even if the space is not immediately adjacent, but the unallocated space must be within the same disk and contiguous with the partition you are extending.
Note: If there is no unallocate space adjacent to the drive, you need to delete a volume to create unallocated space, and it must be the right-side partition that you want to expand.
Steps to Extend Volume Using Diskpart:
- Step 1: Press Win + R, type diskpart and press Enter.
- Step 2: Type list volume and press Enter. This will display a list of all available partitions.
- Step 3: Type select volume C (or the volume you want to extend) and press Enter.
- Step 4: Type extend and press Enter. Diskpart will automatically extend the volume using available unallocated space.
Note: Diskpart only extends a partition if there is unallocated space directly next to it. If the unallocated space is not adjacent, Diskpart will not work.
Method 3: Extend Volume Using Partition Resizer Server (Shrink, Move Partitions Without Data Loss)
In more complex scenarios where Disk Management or Diskpart is not sufficient (e.g., when there is no adjacent unallocated space or when you need to move partitions), a third-party tool like Partition Resizer Server can be a great solution.
Video: How to resize partition without losing data in Server.
Partition Resizer can move partitions around, shrink them, and create unallocated space as well as extend partition without losing data.
Benefits of Using Partition Resizer Server:
- Allows you to extend a partition even if the unallocated space is not adjacent.
- Can move partitions, resize them, and merge volumes without data loss.
- Supports NTFS, FAT32, and other formats.
- Reduces the risk of data loss during disk resizing operations.
Step 1: Download Parition Resizer Server, install and open it. Pick one large drive, right click the large drive, and go to option «Resize/Move»
Step 2: Move the border of the large drive from left to right and produce free space unallocated.
Step 3: Right click on C drive and settle on «Resize/Move.» Extend its right side border to claim the unallocated space.
Step 4: Proceed with moving the arrows to add the unallocated volume to the C drive. Tap on the «Apply» button.
Note: If there is partition that stand in between the target drive and unallocated space, you may move partitions safely with Partition Resizer.
How to Move Volume Using Partition Resizer Server:
Note: Partition Resizer can also help you with more advanced scenarios, such as resizing and moving partitions without data loss.
Also read: how to move partitions without losing data, how to resize c drive server 2022
Part2: Resize C Drive on Server 2022
When the C drive on your Windows Server 2022 is running out of space, you may want to expand it without reinstalling the operating system or losing data. If there’s no unallocated space next to the C drive, you may need to shrink or move another partition to free up space. In this part, we will go through methods to resize the C drive efficiently, including shrinking, moving partitions, and using third-party tools.
#1 Resizing C Drive Using Built-in Disk Management (Only for Adjacent Unallocated Space)
Note that Disk Management only allows you to extend a volume to adjacent unallocated space, and it’s not very flexible when you need to move space between non-adjacent partitions since Disk Management cannot move a partition or unallocated space. (IM-Magic Partition Resizer Server can help move a partition without losing data.)
Here are some cases for extending the c drive.
| Disk Management | |
| C (NTFS), Unallocated Space | Extend C directly |
| C (FAT/FAT32), Unallocated Space | No |
| C, Free Space | Right click the free space in disk management and choose ‘Delete Partition’ to convert it unallocated space first, and then extend the c drive. |
| C D E |
|
| C Recovery D E | NO |
| C E | Delete E, Extend C |
| Terms and Conditions: The C drive must be NTFS for extending volume. |
- Case#1 C D E (Solution: Delete D to create adjacent unallocated space for c drive extending)
- Case#2 C Recovery Partition D E ( Disk Management cannot do the c drive extending in this case when the recovery partition stands in the way)
- Case#3 C E
Steps to Resize C Drive Using Disk Management When The Adjacent Unallocated Space Has Been Created:
- Step 1: Press Win + X and choose Disk Management from the list.
- Step 2: Right-click on the C drive and select Extend Volume.
- (If the option is grayed out, there may be several possible causes including FAT32 c drive, unallocated space not adjacent at the right-side of the c drive, 2TB max for MBR disk etc.)
- Step 3: Follow the wizard to extend the volume using the adjacent unallocated space.
#2 Resizing C Drive Using Diskpart (For Advanced Users)
Diskpart is a more powerful command-line tool that performs similar functions to Disk Management but is more complicated to use. Diskpart can extend a volume into adjacent unallocated space; however, it is subject to the same restrictions as Disk Management. Specifically, the unallocated space must be directly next to the C drive. (IM-Magic Partition Resizer Server can help move the partitions, including the recovery partition without losing data.)
| Diskpart | |
| C, Unallocated Space | Extend C directly |
| C, Free Space | Delete the free space to convert it unallocated space first, and then extend the c drive. |
| C D E | Delete D, Extend C |
| C Recovery D E | NO |
| C E | Delete E, Extend C |
| Terms and Conditions: The C drive must be NTFS in the above cases. |
Steps to Resize C Drive Using Diskpart After Adjacent Unallocated Space Has Been Created:
- Step 1: Press Win + R, type diskpart and press Enter.
- Step 2: Type list volume to view all available volumes.
- Step 3: Select the C drive with the command select volume C.
- Step 4: Type extend and press Enter. If there’s unallocated space next to the C drive, it will be added to the C drive.
#3 Using Partition Resizer Server to Resize C Drive (Move & Shrink Partitions Without Data Loss)
For situations where you need to resize your C drive but the adjacent space is unavailable or not contiguous, you can use Partition Resizer Server. This third-party tool provides a safer and more flexible way to shrink, move, or extend partitions without data loss.
| IM-Magic Partition Resizer Server | |
| C, Unallocated Space | Extend C directly |
| C, Free Space | Delete the free space to convert it unallocated space first, and then extend the c drive. |
| C D E |
|
| C Recovery D E |
|
| C E |
|
| Terms and Conditions: If it’s unallocated space from another hard disk, RAID is required to make the disks into one logical hard drive. NTFS, FAT32 are all supported. Moving partitions can help changing the location of the unallocated space. |
Steps to Resize C Drive Using Partition Resizer Server:
- Step 1: Download and install Partition Resizer Server.
- Step 2: Open the tool and locate the partition adjacent to the C drive (e.g., D: drive) that you want to shrink to create unallocated space.
- Step 3: Right-click the D drive (or the partition next to C) and select Resize/Move.
- Step 4: Move the left border of the partition to the right, creating unallocated space next to C.
- Step 5: Right-click on the C drive and select Resize/Move again, extending the right side to claim the newly created unallocated space.
- Step 6: Click Apply to commit the changes.
Note: The Partition Resizer tool allows you to move and shrink partitions without affecting the data, and it supports both NTFS and FAT32 formats.
Part3: How to Enable Extend Volume When It’s Not Available
If the «Extend Volume» option is grayed out in Windows Server 2022, there could be several reasons why this happens. In this section, we will address the common causes and provide solutions to enable the Extend Volume feature again.
Reasons for Extend Volume Grayed Out
- No Adjacent Unallocated Space: For the «Extend Volume» option to work, there must be unallocated space directly to the right of the volume you wish to extend. If there’s no unallocated space next to the target volume (e.g., C: drive), the option will be disabled. To resolve this, you can either create unallocated space by shrinking an adjacent partition (like D:) or use a third-party tool like Partition Resizer to move the unallocated space.
- Partition is Not NTFS: The «Extend Volume» feature is only available for NTFS (New Technology File System) volumes. If your partition is using the FAT32 or other file systems, the «Extend Volume» option will be unavailable. You must either convert the partition to NTFS or use a third-party tool to resize it. You can convert a FAT32 partition to NTFS without data loss by running the
convertcommand in the Command Prompt:convert [drive letter]: /fs:ntfs. - Unallocated Space is Not Adjacent: Even if there is unallocated space on the disk, if it is not directly next to the volume you want to extend (e.g., if there’s a partition between the C: drive and unallocated space), the «Extend Volume» option will be grayed out. In this case, you can either delete or move the partition standing between the C: drive and the unallocated space using tools like Partition Resizer.
- MBR Disk Limitation: If the disk is using MBR (Master Boot Record) partition style, the «Extend Volume» feature will only work if there is unallocated space less than 2TB in size. MBR disks have a 2TB limit for each partition. If your disk exceeds this limit, you may need to convert the disk to GPT (GUID Partition Table) to enable the extension or reduce the partition size. Partition Resizer can help you convert MBR to GPT without data loss.
- Volume is Dynamic: Dynamic disks allow more advanced features like spanning and striping, but certain operations, such as extending simple volumes, may not be possible if the dynamic disk is not formatted correctly or if the dynamic volume is part of a RAID configuration.
- Windows Recovery Partitions: Sometimes, Windows Server has a recovery partition that cannot be extended. If there is a recovery partition placed right next to the system partition, it may block the «Extend Volume» option. In such cases, you may need to move or delete the recovery partition. Tools like Partition Resizer can help you move or delete these partitions without losing data.
- Unsupported File System or Corrupted Partition: In some cases, the volume you are attempting to extend may have file system errors or corruption. Running a check disk command
chkdskon the partition can sometimes resolve these issues. You can open a command prompt and typechkdsk C: /fto fix errors before attempting to extend the volume again. - RAID Configuration Issues: If your server is using a RAID array, there may be limitations to how you can extend volumes. RAID volumes may require specific management software provided by the RAID controller, and the «Extend Volume» option in Windows may not work for RAID arrays. You may need to use the RAID management tool to add space to the RAID array or extend the logical volume. Alternatively, third-party software like Partition Resizer may allow you to resize partitions even on RAID configurations.
Solutions:
To fix the issue of «Extend Volume» being grayed out, consider the following steps:
- Ensure there is unallocated space immediately adjacent to the volume.
- Convert any non-NTFS partitions (e.g., FAT32) to NTFS if necessary.
- Use third-party partition tools (like Partition Resizer) to move, shrink, or merge partitions to create unallocated space next to the volume you wish to extend.
- If using MBR disk, consider converting it to GPT for larger capacity support.
- Check for and resolve file system corruption using the
chkdskcommand. - If using RAID, consult your RAID controller software for options to extend the volume or array size.
Enable Extend Volume by Deleting the Recovery Partition
This way, you can extend volume server 2022 by deleting the recovery partition. In this process, you must create a USB recovery drive by following the required steps.
Steps to Use:
Step 1: Tap on the icon for ‘Search’; in the search box, write ‘Recovery Drive.’ Make a selection of the ‘Create a recovery drive’ option.
Step 2: Once your tool for the recovery drive opens, select the option of ‘Back up system files to the recovery drive.’ Then make a selection of the ‘Next’ option.
Step 3: Look for a USB flash drive that matches the space requirement on the screen. Select the connected USB flash drive and tap the ‘Next’ option to continue.
Step 4: Tap on the ‘Create’ option for the beginning creation of the recovery drive.
Step 5: Once the process is finished, do not tap on the ‘Finish’ option. Select the ‘Delete the recovery partition’ option to remove the recovery partition from your device. Then, tap on the ‘Delete’ option to free up the space you used to store the image for recovery. Once you have successfully removed it, tap the ‘Finish’ option.
Option: Deleting the recovery partition by IM-Magic Partition Resizer.
Also read: How to delete or move the recovery partition on Window Server
For detailed instructions on how to move, resize, or merge partitions to resolve the «Extend Volume» issue, refer to the full guide on using fixing extend volume greyed out in Windows Server 2022.
Part4: Extend a Volume from Another Disk (Including RAID Setup)
If you have a RAID setup or want to extend a volume using space from another disk, it’s essential to consider a few important factors. In Windows Server 2022, you cannot directly extend a volume from a different disk unless you are using a RAID array that supports this function (such as RAID 0, RAID 1, or RAID 5).
Using RAID to Extend Volume
RAID (Redundant Array of Independent Disks) can help in extending a volume by combining multiple physical disks into one logical volume. If you have RAID set up (using software RAID or a hardware RAID controller), you can extend a volume across multiple disks. However, you need to ensure that:
- The RAID array is functioning and configured correctly.
- You have enough free space on the RAID array to extend the existing volume.
- Your RAID configuration is supported by the version of Windows Server you are using (e.g., RAID 5 is supported for fault tolerance and performance in Server 2022).
Steps to Extend a Volume Using RAID
Partition Resizer Server can help add unallocated space from another disk to any volume once you have set up these disks with RAID and when Windows built-in tools fails. You may try using Windows built-in tools first to see whether it would work in your case.
Step 1: Check your RAID array to ensure it’s healthy and has unallocated space. You can do this via your RAID controller management software or the built-in Windows tools.
Step 2: Open Disk Management. Right-click on the volume you want to extend, and if the RAID is correctly set up with unallocated space, you will see the option to extend the volume.
Step 3: If you’re using hardware RAID, you may need to expand the virtual disk on your RAID controller software before extending it in Windows. If it’s a software RAID, ensure you have configured additional space and mirror or stripe the new disk as part of the RAID array.
Step 4: Once the RAID array has unallocated space and is configured correctly, follow the standard method (using Disk Management or Partition Resizer) to extend the volume on the new, expanded RAID array.
Important Note: Extending a volume in a RAID setup may require additional steps depending on the type of RAID and disk layout. Always back up important data before performing disk operations.
