MountVHD The program MountVHD allows you to automatically mount virtual disks (VHD format) under Windows 7. This task is implemented using the "DiskPart" program, which is part of the Windows 7 installation. Since a virtual drive must be manually reinstalled in Windows 7 after a restart, MountVHD supports the installation of a corresponding task for the Windows 7 Task Scheduler. The task is configured in such a way that Windows 7 automatically mount the virtual drive at each system startup. The virtual drive is then available at any time, as if it were a normal physical drive. The way through the task scheduler was chosen, because it is possible to execute programs with administrative rights. This is necessary for the automatic integration of virtual drives. MountVHD is portable and can be executed directly under Windows. It requires no additional DLLs, no separate runtime environment and does not interfere with system directories or the registry. The installation is simple: Copy the program file to a directory of your choice. To uninstall the program simply delete the file MountVHD.exe and its directory, if necessary. With exception of this window and the saving task file dialouge, the program works invisibly in the background when mounting a drive. It is controlled by the following program parameters: MountVHD.exe /? (Or -?, ? or call without parameters) --- Displays this window. MountVHD.exe "VHD filename" --- The virtual drive "VHD file name" (file name including path) will be mounted. MountVHD will work with Administrative rights. The quotes (") are not mandatory if filepath and filename do not contain spaces. For example: MountVHD.exe C:\HDDs\Data.vhd MountVHD.exe "VHD filename" /l (or -l) --- Same behavior as above, however, a log file is generated in Windows Temp directory that contains the output of the program "DiskPart". The filename of the logfile is 'MountVHD-logfile.txt'. The file will be deleted next time MountVHD.exe mounts a virtual drive without the /l or -l parameter. MountVHD.exe "VHD filename" / t (or -t) --- The program creates a taskfile in XML format including the "VHD file name" (filename and path of the VHD file to be mounted), the current users name, and the directory where the MountVHD.exe program is located.This taskfile can be imported directly into the Windows Task Scheduler. Therefore, the steps to permanently integrate a virtual drive into Windows 7 are simply creating the XML taskfile and then importing the generated taskfile into the Windows 7 Task Scheduler. After calling the program with parameter /t (or -t), a Savedialog will appear, in which you define a directory for storing the task file (the default is the Windows Temp directory). After successfully importing the task file in the Windows 7 Task Scheduler the XML taskfile can be deleted.      Tip: The Windows 7 Task Scheduler can be opened by clicking on the button "Start Windows Taskscheduler" in this window.      Caution: After importing a task file created by MountVHD into the Windows 7 Task Scheduler, the program file 'MountVHD.exe' must not be deleted or moved to a different directory since the program is called at every system start in order to mount the virtual drive. MountVHD is freeware. The software can be obtained, copied, distributed and used free of charge. All rights to the software remain with the author. Any alteration of the program file, disassembly or other reconversion of the program into a source code format is prohibited. Exclusion of liability: The present software 'MountVHD' was carefully prepared by the author, successfully tested under Windows 7 Professional and tested for viruses before publication. The program is provided "as is". It is pointed out that it is not possible to develop software programs in such a way that they can be used without errors for all application conditions. The author does not warrant the explicit suitability of the software for a particular application or a specific hardware or assortment configuration. The author accepts no liability or warranty for errors in the software as well as errors and damages resulting from the use or inability to use the software. This includes the loss of business profits, the interruption of business operations, loss of data, and all other material and ideational losses and their consequential loss, even if the author has previously been expressly informed about the possibility of such damages. The user agrees with the use of the software 'MountVHD' with the o.g. conditions of use as well as the guarantee and liability exclusion. Should individual provisions be or become void, invalid or contestable in these conditions, the validity of all other provisions or agreements shall remain unaffected. Author:   Markus Haacke   www.gismeth.de