I have some virtual Windows-7 machines, referring to a D:-drive.
This D:-drive seems to be configured as a drive mapping, as can be seen in the result of the subst
command:
Prompt>subst
D:\: => C:\d_drive
I have a copy of this machine, where I'd like to map the same drive, but this seems not to work:
Prompt>subst D: C:\d_drive
Invalid parameter - D:
For your information:
- The command
subst
does not mention the D:-drive already being mapped. - The command
net use
does not mention the D:-drive already being used. - Configuration settings, Computer management, Disk management does not mention the D:-drive already existing.
- I don't see anything in the event viewer (or I'm looking at the wrong place).
What might be going wrong here? What might cause subst
to refuse to map this D:-drive?
wmic logicaldisk get name
as the same user, i.e. same command prompt as the failing subst command, does D: appear?wmic logicaldisk D: DELETE
seems not to work (Provider is not capable of the attempted operation
), even not when logged as administrator. What now?