Hi,
In Windows XP, Vista, 7 and 8.1 you can create pemanently substitued disk.
- It is like you type following command, but on system and permanent level.
subst V: C:\VirtualMachines
You may use tool PSUBST, or do it via registry.
https://code.google.com/p/psubst/
This is standard Windows fuction. Substited disks survice reboot and allow Sytem to work with it.
It does map C:\VirtualMachines as V drive.
- So you can access C:\VirtualMachines\TestVM by two paths:
V:\TestVM
C:\VirtualMachines\TestVM
VMware Workstation 8.0.6 can work with these drives well and there were no issues in having V:\TestVM
- But in Workstation 9 and 10.0.1 build-1379776 it doesn't work correctly. I have Windows 8.1, but I have had the issue on Windows 7 also.
STEPS TO REPRODUCE:
- Create directory C:\VirtualMachines
- Import this into registry
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices]
"V:"="\\??\\C:\\VirtualMachines"
- Restart computer and V: drive should be there
- Create virtual machine in V:\TestVM (no need to have OS, leave default settings)
- Power on VM
- Try to take/restore a snapshot
ER: There will be error "Error taking snapshot: One of the parameters supplied is invalid"
- Close the VM
- Open VM from path C:\VirtualMachines\TestVM
- Now you can take or restore snapshots without any isuee.
I think this is a bug, because in Workstation 8.0.6 it worked fine.