VHD cannot be attached when stored in a network location.
Easiest solution is to go into Computer Management -> Services and Applications -> Services and there find “VHD Attach” service. Right-click properties and then go to Log On tab. Instead of Local System account select This account and fill your user data.
After service restart you should be able to attach from network location also.
If I auto-attach BitLocker enabled drive, I get no password prompt.
This happens because VHD Attach auto-mounting happens when service is started and this is usually before user interface is even shown. BitLocker shows password dialog only when drive appears and not at later time.
Workaround is not to auto-mount such drives at all.
- Make a shortcut to VHDAttach.exe (found in C:\Program Files\Josip Medved\VHD Attach by default).
- Right-click on created shortcut and select Properties. Under target text append /attach “whatevernameofdiskis.vhd”.
- Open Windows Start menu (
key), right-click All programs and select open there.
- Navigate to Programs, Startup and move shortcut there.
Now when user logs on, VHD will be attached. Since there is user interface, BitLocker will ask for password.
P.S. Do not forget to remove that disk from auto-mounted list. Otherwise system will mount disk anyhow and all this is for nothing.
Will this program work on Windows Vista?
I am afraid not, API needed for program to function is available only in Windows 7 and later.
I get message “Windows SmartScreen prevented an unrecognized app from starting. Running this app might put your PC at risk.” Is there something wrong?
Click on “More info” and then select “Run anyway”.
How do I perform automated install?
You can use /VERYSILENT parameter with VHD Attach installation in order to do no-questions-asked installation. This and many other command-line installation parameters come courtesy of InnoSetup.
Drives sometime don’t attach upon startup.
Under Service, VHD Attach, Properties, General, Startup Type you can change startup type from Automatic to Automatic (Delayed start).
This usually resolves this issue but at the cost of slightly later disk mounting.