11 novembre 2009

Double click to mount a virtual hard disk (Windows 7 Style)

I have been wanting to come up with a workable solution for mounting virtual hard disks by double clicking on them in Windows 7 for a while now.  The problem is that: There is no easily scriptable API for VHD mounting You need to be elevated (running “As Administrator”) in order to mount a virtual hard disk The best idea I could think of for a simple solution was to try scripting the DISKPART tool.  Unfortunately – once I got going I got a bit carried away.  The result is this batch file: --> The rest... [Lire la suite]
Posté par jcdemarque à 22:15 - - Permalien [#]
Tags : , , , , ,

15 décembre 2008

Right click to Mount & Dismount Hyper-V VHD

Updated scripts are here http://www.ravichaganti.com/blog/?p=241 Virtual Server 2005 had a tool to mount and unmount VHD files. MS, so far, has not given this tool with hyper-V. However, they published WMI interfaces for doing the same. So, here is a small script that enables Mount/Unmount options in the context menu when you right-click on a .VHD file. I am currently not handling any errors. This will fail if you try to mount / unmount a VHD in use. I am looking at WMI interfaces to understand how I can put some checks in to... [Lire la suite]
Posté par jcdemarque à 21:04 - - Permalien [#]
Tags : , , ,
27 septembre 2008

Un KB pour Virtual Server et VHDMount..

http://blogs.technet.com/fabricem_blogs/archive/2008/09/25/irtual-server-update-kb956124-msp-is-now-available.aspx VIRTUAL SERVER UPDATE KB956124.msp IS NOW AVAILABLE KB956124.msp update to Virtual Server 2005 R2 SP1 is now available at: http://www.microsoft.com/downloads/details.aspx?FamilyID=886876b7-e17c-4429-85da-f623506c5f2c&displaylang=en This update provides a fix for an issue related to mounting of VHDs using vhdmount.exe, which a user may encounter after installation of update 948515 for Virtual... [Lire la suite]
Posté par jcdemarque à 10:45 - - Permalien [#]
Tags : , ,