To update Windows disk info after a VPS resize, rescan the virtual disk and extend the correct volume with DiskPart. The process usually takes a few minutes and lets Windows report the added capacity without reinstalling the operating system.
Prerequisites
- Windows Server 2016, Windows Server 2019, Windows Server 2022, Windows Server 2025, Windows 10, or Windows 11.
- An active RDP session, VPS console, or local console with a local administrator account.
- Extra disk capacity already added to the same virtual disk in your provider’s control panel. This guide does not create storage that has not been assigned to the VPS.
- A backup or VPS snapshot taken before changing a production disk, especially when working on the system volume.
- If you need a Windows environment for this task, VPSLake Windows RDP hosting provides a remote Windows server with administrator access.
Step 1: Confirm that the VPS disk was expanded
Windows can only use capacity that the virtual disk already exposes, so check the VPS control panel before changing partitions.
Open the VPSLake client area at https://my.vpslake.com, open the relevant service, and launch the VPS control panel (Virtualizor). Confirm that the disk resize or storage change has completed. If the panel still shows the old disk size, wait for that operation to finish or contact support; DiskPart cannot add capacity that the hypervisor has not presented.
After the provider-side resize, connect to Windows over RDP or the VPS console. Open Start → Windows Administrative Tools → Computer Management → Storage → Disk Management. The disk should show the new total size with unallocated space after the existing partition. Do not initialize, format, or delete a disk that already contains your Windows installation or data.
If Disk Management still shows the previous size, right-click the disk area and choose Rescan Disks. You can also perform the rescan from DiskPart in the next step.
Step 2: Open DiskPart with administrator rights
DiskPart changes partition metadata, so an elevated command window is required.
Open Start, search for Command Prompt, right-click it, and select Run as administrator. Then enter:
diskpart
rescan
list disk
list volume
The rescan command asks Windows to discover the new disk geometry. list disk lets you compare the disk size, while list volume displays the drive letters and current volume sizes.
The output will differ on each server, but the target should be identifiable by its drive letter and expected size:
DISKPART> list volume
Volume ### Ltr Label Fs Type Size Status Info
---------- --- ---------- ----- ---------- ------- --------- ---------
Volume 0 C NTFS Partition 80 GB Healthy Boot
Volume 1 D DATA NTFS Partition 200 GB Healthy
Do not choose a volume only because it is the largest one. The EFI, recovery, reserved, or data volume may be larger than the partition you actually intend to grow.
Step 3: Inspect and select the target volume
Selecting the volume by its drive letter and checking its details reduces the chance of modifying the wrong partition.
Replace C below with the drive letter that should receive the new space:
select volume=C
detail volume
DiskPart accepts a drive letter for select volume; if your environment requires the volume number instead, use the number shown by list volume:
select volume=0
detail volume
Check that detail volume shows the expected drive letter, NTFS filesystem, and disk. A normal selection looks similar to this:
DISKPART> detail volume
Disk ### Status Size Free Dyn Gpt
-------- ------------- ------- ------- --- ---
Disk 0 Online 300 GB 220 GB
Volume 0 Ltr C Label Fs Type Size Status Info
---------- --- --- ---------- ----- ---------- ------- --------- ---------
Volume 0 C NTFS Partition 80 GB Healthy Boot
If the free space is not on the same disk or does not immediately follow this volume, stop before running an extension command. Windows cannot move an intervening partition with DiskPart.
Step 4: Extend the volume and filesystem
The standard extend command grows the selected volume into contiguous unallocated space and, for NTFS, normally grows the filesystem with it.
With the correct volume selected, run:
extend
For a successful operation, DiskPart reports:
DiskPart successfully extended the volume.
If you want to add only part of the available space, specify the amount in megabytes. For example, this adds 50 GB rather than consuming all contiguous free space:
extend size=51200
Do not use the size form unless you have deliberately calculated how much capacity to leave unallocated. On a basic disk, the available space must be immediately after the selected partition. Microsoft documents the command syntax and those layout requirements in its DiskPart extend command reference.
If the partition has already been extended but Windows still reports the old filesystem size, keep the same volume selected and run:
extend filesystem
That form is specifically for extending a filesystem after the underlying volume was enlarged separately. It is not a substitute for adding unallocated space to the partition.
When finished, leave DiskPart:
exit
Verify the updated disk information
Verification confirms that both the partition and the filesystem now expose the added capacity.
Open an elevated PowerShell window and run:
Get-Volume -DriveLetter C | Format-Table DriveLetter,FileSystem,HealthStatus,Size,SizeRemaining
Get-Partition -DriveLetter C | Format-Table DiskNumber,PartitionNumber,DriveLetter,Size
Change C to the target drive letter. The result should show a larger Size, a healthy volume, and the expected filesystem:
DriveLetter FileSystem HealthStatus Size SizeRemaining
----------- ---------- ------------ ---- -------------
C NTFS Healthy 300000000000 220000000000
You can also reopen Computer Management → Storage → Disk Management and confirm that the former black Unallocated region has been absorbed by the selected volume. If the volume hosts a database, backup repository, or application, check its own storage display as well.
Troubleshooting
“The volume cannot be extended”
The selected volume may not be NTFS, or the unallocated space may be separated from it by another partition. Run detail volume, then inspect the order in Disk Management. On a basic disk, the free area must be on the same disk and immediately after the target volume.
extend reports that there is not enough usable free space
Windows may not have detected the provider-side resize yet, or the free space may belong to another disk. Run rescan in DiskPart and compare list disk with the new size shown in the VPS control panel. If the disk remains unchanged, do not initialize it; resolve the virtual-disk resize first.
“Extend Volume” is unavailable in Disk Management
The unallocated area is probably not adjacent to the selected volume, or you selected a recovery or reserved partition. Do not delete a recovery partition just to make the option available. Back up the server and plan a supported partition move or use a separate volume instead.
Windows still shows the old capacity after a successful extension
Refresh Disk Management and run Get-Volume again. If the partition size increased but the filesystem did not, select the correct volume in DiskPart and run extend filesystem; if both values are unchanged, you likely extended a different volume or are viewing a stale application cache.
Hardening after the resize
- Keep the backup or snapshot until the enlarged volume has passed a normal read and write test.
- Leave EFI, Microsoft Reserved, and recovery partitions untouched.
- Set a free-space alert so the next capacity issue is found before applications stop writing.
- If BitLocker is enabled, keep the recovery key available and confirm its protection status after storage maintenance.
FAQ
Does updating Windows disk info delete my files?
The built-in DiskPart extension is designed to enlarge the selected volume while preserving its existing data. A current backup is still important because a wrong volume selection, storage fault, or interrupted provider-side operation can create a separate recovery problem.
Can I extend the C: drive while Windows is running?
Usually, yes. NTFS volumes can generally be extended online when contiguous unallocated space is available, so a reboot is not normally required. The provider-side virtual-disk resize may have separate maintenance requirements.
Why is the disk larger but the C: drive unchanged?
The virtual disk and the partition are different layers. Windows may see a larger disk while the C: partition still ends at its old boundary; selecting the correct volume and running extend connects the adjacent unallocated space to that partition.
Is extend filesystem the same as extend?
No. extend grows the selected partition or volume into unallocated space, while extend filesystem updates a filesystem after its underlying volume has already been enlarged. Use the latter only when the partition is already larger but the filesystem still reports the old size.