You decide which services we may enable for analytics, personalization, and external content.
We use cookies and similar technologies on our website to personalize content, embed external media, and better understand how individual areas are used.
Necessary cookies
These entries support essential functions such as security, stability, and form processing.
Optional sections
AnalyticsMarketingPersonalizationExternal media
Your data may be processed with your consent or on the basis of legitimate interests. In the cookie settings, you can reject or explicitly allow each optional category.
Some services process personal data in third countries. By consenting, you also agree to this transfer. You can find more information in our Privacy Policy.
You can reopen and change your selection at any time. · 1.0.2
VPS: Expand Hard Drive (Partition) on Windows Server
Discover how to safely expand your Windows Server partition to effectively use new storage space → Learn more now
10 November 20262 min read1 Views0 helpful
Introduction
Windows OS offers built-in tools for disk and partition management that allow you to perform a variety of actions — including expanding partitions, splitting disks, and more. Expanding partitions is especially important when you have upgraded your Windows Server’s storage. This guide shows you how to expand a partition on your Windows Server.
FAQ
Frequently asked questions
Open the Disk Management tool (search in the Start menu or press Windows key + R, then enter diskmgmt.msc), right-click the main partition, and select Extend Volume.
Typically, after upgrading your server’s storage — the new space becomes usable only after expanding the main partition.
There are two methods: the graphical Disk Management tool for most standard tasks, and the diskpart command line for advanced users and more options.
Yes, the recommended process via the Disk Management tool is safe and does not affect your existing data.
Feedback
Was this article helpful?
Your feedback helps us prioritize and improve content.
0 of 0 Users found this article helpful.
Personal support
Need more help than the guide provides?
Our ZAP support team knows your product — briefly describe your issue and we'll help you personally.
Navigation
VPS
Preparation
First, connect to your Windows Server via RDP. If you need help, check out our First Access (RDP) guide.
There are two methods to manage disks and partitions: the Disk Management tool with a GUI, and the command line tool diskpart. The Disk Management tool is a graphical interface for diskpart and covers most standard tasks, including expanding partitions. For advanced users, diskpart is the more powerful and comprehensive option.
Expanding a Partition
In various cases, you need to expand your existing partition to use new storage space. A typical scenario is upgrading your server’s storage, which by default is only assigned after expanding the main partition.
We recommend using the Disk Management tool method as it is much easier for beginners. The process is safe and does not affect your data.
First, open the Disk Management tool. Simply search for it in the Start menu or open it via Run with Windows key + R, enter diskmgmt.msc, and confirm.
In the tool, right-click on the main partition and select Extend Volume, which will open a wizard.
Tip
The main drive is always the C: drive.
In the wizard, click Next to reach a page where you can specify how much space to add. By default, Windows automatically fills the entire unallocated space — this is ideal.
You can simply click Next and then Finish to complete the process.
After completion, the new configuration with the updated disk size will be shown in Disk Management.
Alternatively, open the Command Prompt as Administrator. Search for it in the Windows Start menu, right-click, and select Run as administrator.
Enter the command diskpart to start the CLI tool. Once loaded, enter list disk to display all currently connected disks.
Then select the disk you want to expand with select disk [disk number]. Replace [disk number] with the number from the list.
Tip
The main drive is always the C: drive.
With the disk selected, enter list volume to show all volumes on that disk. Find the volume you want to expand and select it with select volume [volume number]. Replace [volume number] accordingly.
With the disk and volume selected, you can now extend the volume. Either use all the unallocated space or specify a size:
Code
# Extend to use all unallocated space
extend
# Extend by a specific size (10240 = 10240MB = 10GB)
extend size=10240
If successful, you will see the increased volume size when listing volumes again and in Explorer. To exit, type quit.
Conclusion
You have successfully expanded your main partition and are now using all available storage space. If you have any questions or need help, our support team is available daily! 🙂
Server hosting from €2.49 / month, online instantly, DDoS protection included.