In case you have specified a maximum capacity for your virtual disk, here is a quick guide to increase or extend the size of your Windows Server 2012 R2 virtual machine’s (VM) virtual disk in VMware Workstation.
Step 1: Firstly, ensure that the VM is powered off before starting. Select the VM for which you want to extend the virtual disk size, and go to Settings.
Step 2: In the Virtual Machine Settings dialog box, got to Hardware tab, if not selected by default. Select Hard Disk (SCSI) form the list on the left pane.
Step 3: On the right pane, click Expand under the Disk Utilities section.
Step 4: In the Expand Disk Capacity dialog box, increase the maximum disk size as desired and click on Expand. In this case, I am increasing from 40GB to 50GB.
Step 5: Now we need to Power On the VM in order to expand the file system from within the guest OS so that the 50GB disk capacity will be available for use.
Step 6: In the Server Manager Dashboard of Windows Server 2012 R2, go to Tools > Computer Management.
Step 7: In the Computer Management page, under the Storage section go to Disk Management.
Step 8: From the image above, we can see that the 10GB disk space we extended hasn’t been allocated yet. To allocate and add the 10GB volume to the existing 40GB, right click on the C: Drive (39.66 GB NTFS) and select Extend Volume to start the Extend Volume Wizard.
Step 9: In the Extend Volume Wizard box, click Next twice and the click Finish.
Here is what the extended volume looks like after completion:
The VM’s virtual disk size has now been extended to 50GB.