How to expand a virtual hard disk in Windows Server Core

microsoft black logo

If you are using Windows Server Core in your environment then you will know that adding disk space to a virtual hard drive is not as simple as using the Disk Management GUI.

But, using the steps below, you can carry out the disk extension in no time.

First of all, add the amount of disk space that you want in your Hypervisor, be it Hyper-V, Oracle or VMWare. Then logon to your Windows Server Core which should bring up the standard command prompt. In this command prompt, type in the following command steps:

  • diskpart (this will take you into the Disk Part program)
  • list disk (this will list all the disks on your server – make note of the disk you want to expand)
  • rescan (this will then show the extra disk space you added available on the disk)
  • select disk # (# being the disk number you want to extend)
  • extend (this will expand the disk to the full available capacity)
  • exit

This will take you back to the command prompt and you can then logoff the server.

You will now find that the virtual hard disk is now available with the extra disk space.

Free Subscription!Subscribe to our site to receive updates via email!

Enter your email address below and click the Subscribe button to receive email notifications about new and exciting downloads available through our website at https://www.techygeekshome.com

You will also receive notifications about new technical guides, latest news and MSI installer downloads that are available through our blog here at https://blog.techygeekshome.info 

We will not spam you and we will not pass on any of your details to anyone else. We tend to post new content once or twice a week.

Join 144 other subscribers

You can unsubscribe any time you like.

About A.J. Armstrong

Founder of TechyGeeksHome and Head Editor for over eight years! IT expert in multiple areas for over 20 years. Sharing experience and knowledge whenever possible! Making IT Happen.

View all posts by A.J. Armstrong

Leave us a message...

This site uses Akismet to reduce spam. Learn how your comment data is processed.