How to increase Windows Server partition
After increasing the VPS storage, Windows Server can recognize the larger disk without automatically adding new space to the C drive. In this case, you need to extend the partition.
Before you start: keep an up-to-date backup. Selecting the wrong disk or volume may cause unavailability or loss of data.
1. Confirm additional space
Open PowerShell as administrator:
Get-Disk
Get-Partition
Get-Volume
The disk must show greater capacity than the current partition.
If the new space does not appear, first confirm that the change has been applied to the service and restart only if the procedure requires it.
2. Open Disk Management
Press Win + R and run:
diskmgmt.msc
Wait for the discs to read. Look for an area marked Unallocated.
3. Check the space position
To extend a partition through Disk Management, the unallocated space typically needs to be immediately to the right of the partition on the same disk.
If there is another partition between C drive and free space, do not delete anything without backup and planning.
4. Extend C drive
- right-click on the C: drive;
- choose Extend Volume;
- proceed through the wizard;
- select the available space;
- review the size;
- finish.
Confirm in File Explorer or with:
Get-Volume -DriveLetter C
Alternative with DiskPart
Open Command Prompt as administrator:
diskpart
List the volumes:
list volume
Carefully identify the C drive and select its number:
select volume NUMERO
detail volume
If the data is correct and contiguous space is available:
extend
exit
Never copy an example number without checking it on your server.
Extend Volume option is disabled
Common causes include:
- lack of unallocated space;
- space located on another disk;
- intermediate partition;
- incompatible limit or format;
- storage change not yet recognized.
Do not erase the recovery or system partition just to enable the option.
Frequently asked questions
Does enlarging the partition delete the files?
Normal extension preserves data, but any disk operation involves risk. Make a backup first.
Do I need to restart?
Many extensions can be done online, but recognition of new storage may vary. Follow environment-specific guidelines.
Can I decrease the unit later?
Shrinking a partition is a different operation and has limitations. Plan capacity before extending.
What is the official reference?
See Microsoft's guide to extend a volume in Windows and Windows Server.
If you need help, open a ticket with Nice Hosting support.