{"id":636,"date":"2013-05-27T21:37:10","date_gmt":"2013-05-27T19:37:10","guid":{"rendered":"http:\/\/michlstechblog.info\/blog\/?p=636"},"modified":"2013-05-30T15:10:41","modified_gmt":"2013-05-30T13:10:41","slug":"vmware-mount-vmdk-virtual-disk-from-command-line","status":"publish","type":"post","link":"https:\/\/michlstechblog.info\/blog\/vmware-mount-vmdk-virtual-disk-from-command-line\/","title":{"rendered":"VMware: Mount  a .vmdk virtual disk from command line"},"content":{"rendered":"<div class=\"twoclick_social_bookmarks_post_636 social_share_privacy clearfix 1.6.4 locale-en_US sprite-en_US\"><\/div><div class=\"twoclick-js\"><script type=\"text\/javascript\">\/* <![CDATA[ *\/\njQuery(document).ready(function($){if($('.twoclick_social_bookmarks_post_636')){$('.twoclick_social_bookmarks_post_636').socialSharePrivacy({\"services\":{\"flattr\":{\"uid\":\"Michl\",\"status\":\"on\",\"the_title\":\"VMware%3A%20Mount%20%20a%20.vmdk%20virtual%20disk%20from%20command%20line\",\"the_excerpt\":\"Hi%2C%0D%0A%0D%0Asometimes%20you%20want%20to%20modify%20some%20offline%20Vmware%20virtual%20disks%20from%20command%20line.%20For%20example%20to%20copy%20or%20edit%20config%20files%20or%20set%20some%20parameters%20in%20the%20Windows%20sysprep.xml%20file.%0D%0A%0D%0AThe%20VMware%20Workstation%20does%20not%20provide%C2%A0%20a%20command%20line%20utility%20for%20this%20procedure.%20But%20there%20is%20a%20way%20to%20do%20this.%20Download%20and%20install%20the%20Virtual%20Disk%20Development%20Kit.%0D%0A%0D%0AAfter%20installation%20a%C2%A0vmware-mount.%20...\",\"txt_info\":\"2 clicks for more data protection:\\r\\n\\r\\nOnly when you click here, the button will be come active and you can send your recommendation to Flattr. When activating, data are transmitted to third parties. \",\"perma_option\":\"off\"}},\"txt_help\":\"When you activate these fields by clicking, information to Flattr may be transferred abroad, and probably may also stored there.\",\"settings_perma\":\"Enable permanently and accept data transmission. \",\"info_link\":\"http:\\\/\\\/www.heise.de\\\/ct\\\/artikel\\\/2-Klicks-fuer-mehr-Datenschutz-1333879.html\",\"uri\":\"https:\\\/\\\/michlstechblog.info\\\/blog\\\/vmware-mount-vmdk-virtual-disk-from-command-line\\\/\",\"post_id\":636,\"post_title_referrer_track\":\"VMware%3A+Mount++a+.vmdk+virtual+disk+from+command+line\",\"display_infobox\":\"on\"});}});\n\/* ]]> *\/<\/script><\/div><p>Hi,<\/p>\n<p>sometimes you want to modify some offline Vmware virtual disks from command line. For example to copy or edit config files or set some parameters in the Windows sysprep.xml file.<\/p>\n<p>The VMware Workstation does not provide\u00a0 a command line utility for this procedure. But there is a way to do this. Download and install the <a title=\"Virtual Disk Deployment Kit\" href=\"http:\/\/www.vmware.com\/support\/developer\/vddk\/\" target=\"_blank\">Virtual Disk Development Kit.<\/a><\/p>\n<p>After installation a\u00a0vmware-mount.exe command exists in the bin Folder of the installation directory.<\/p>\n<p>To mount a disk readonly, choose a drive letter (X: in this example), start a cmd.exe as Administrator type the command like this:<\/p>\n<p>first, change to the VMware Virtual Disk Development Kit Program folder<br \/>\n<code><br \/>\ncd \"C:\\Program Files\\VMware Virtual Disk Development Kit\"<br \/>\n<\/code><br \/>\nor append the program bin folder to PATH variable<br \/>\n<code><br \/>\nset PATH=%PATH%;C:\\Program Files\\VMware Virtual Disk Development Kit\\bin;<\/code><br \/>\n<code><br \/>\nvmware-mount.exe X: d:\\temp\\VirtualDisk.vmdk<\/code><\/p>\n<p>to mount the disk writable append \/m:w at the end of the command:<br \/>\n<code><br \/>\nvmware-mount.exe X: d:\\temp\\VirtualDisk.vmdk \/m:w<br \/>\n<\/code><br \/>\nUnmounting is quite simple:<br \/>\n<code><br \/>\nvmware-mount.exe X:\u00a0\/d \/f<\/code><\/p>\n<p>Have fun<\/p>\n<p>Michael<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi, sometimes you want to modify some offline Vmware virtual disks from command line. For example to copy or edit config files or set some parameters in the Windows sysprep.xml file. The VMware Workstation does not provide\u00a0 a command line utility for this procedure. But there is a way to do this. Download and install &hellip; <a href=\"https:\/\/michlstechblog.info\/blog\/vmware-mount-vmdk-virtual-disk-from-command-line\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">VMware: Mount  a .vmdk virtual disk from command line<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[172,169,171,170,14],"class_list":["post-636","post","type-post","status-publish","format-standard","hentry","category-vmware","tag-drive-letter","tag-mount","tag-vddk","tag-vmdk","tag-vmware-2"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/636","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/comments?post=636"}],"version-history":[{"count":13,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/636\/revisions"}],"predecessor-version":[{"id":650,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/636\/revisions\/650"}],"wp:attachment":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/media?parent=636"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/categories?post=636"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/tags?post=636"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}