Projects script, console and service use diskpart Microsoft command line to mount/dismount VHD drives, and the files DisMountMyVHDs.txt and MountMyVHDs.txt. Script and console solutions, can be launched at startup with Windows task scheduler (MyMountVHDTask.xml)
DisMountMyVHDs.cmd
MountMyVHDs.cmd
ConsoleApplication project
WindowsService project
WindowsFormsApplication project using Win32 API. Can be run in console mode with -attach -detach options.
You can use WindowsFormsApplication-Attach.lnk and WindowsFormsApplication-Detach.lnk links