{"id":1450,"date":"2016-09-20T16:43:46","date_gmt":"2016-09-20T23:43:46","guid":{"rendered":"http:\/\/jim-zimmerman.com\/?p=1450"},"modified":"2016-09-20T16:45:02","modified_gmt":"2016-09-20T23:45:02","slug":"unable-to-extend-volume-in-windows-2003","status":"publish","type":"post","link":"https:\/\/jim-zimmerman.com\/?p=1450","title":{"rendered":"Unable to extend a volume in Windows 2003."},"content":{"rendered":"<p>Environment: VMware ESXi 5.5.x, Windows 2003 VM, Windows 2012 R2 VM.<\/p>\n<p>I needed to expand the system disk of a Windows 2003 VMware virtual machine.  I was able to easily extend the disk using vSphere, and Windows displayed the new size.  However, I was unable to extend the filesystem using DISKPART.  I would receive the following message, when I tried:<br \/>\n&#8220;Diskpart failed to extend the volume.  Please make sure the volume is valid for extending.&#8221;<\/p>\n<p>To get around this, I shutdown my Windows 2003 server.  Then added the virtual disk to a Windows 2012 R2 VM.  I opened up the Disk Management console via Computer Management.  Made the newly added disk Online by right mousing clicking on the disk name (on the left) and selecting Online.  Then, I right mouse clicked on the logical disk, in my case the C: drive, and selected Expand.  Then, I took the disk offline, but right mouse clicking on the disk name (on the left again) and selecting Offline.  Next, I removed the disk from my Windows 2012 R2 VM WITHOUT deleting the file from disk.<\/p>\n<p>Then, all I to do was boot my Windows 2003 VM, and let the chkdsk do its thing.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Environment: VMware ESXi 5.5.x, Windows 2003 VM, Windows 2012 R2 VM. I needed to expand the system disk of a Windows 2003 VMware virtual machine. I was able to easily extend the disk using vSphere, and Windows displayed the new size. However, I was unable to extend the filesystem using DISKPART. I would receive the [&#038;hellip<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[189,235,33,36],"class_list":["post-1450","post","type-post","status-publish","format-standard","hentry","category-documentation","tag-diskpart","tag-expand","tag-vmware","tag-windows"],"share_on_mastodon":{"url":"","error":""},"_links":{"self":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1450","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1450"}],"version-history":[{"count":2,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1450\/revisions"}],"predecessor-version":[{"id":1452,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1450\/revisions\/1452"}],"wp:attachment":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1450"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1450"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1450"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}