Using DeleteVolumeMountPoint function.
-
Hey I used DeleteVolumeMountPoint function to remove a USB drive (E:) from my machine. Now i want to bring that back. I tried re-booting and that doesn't seems to help. I think calling SetVolumeMountPoint function will bring it back. But that function needs the GUID of USB drive, which i don't have. Any ideas how to get the USB drive(volume - E:\) back? Can i do that via regedit? If so, how? THanks in advance
-
Hey I used DeleteVolumeMountPoint function to remove a USB drive (E:) from my machine. Now i want to bring that back. I tried re-booting and that doesn't seems to help. I think calling SetVolumeMountPoint function will bring it back. But that function needs the GUID of USB drive, which i don't have. Any ideas how to get the USB drive(volume - E:\) back? Can i do that via regedit? If so, how? THanks in advance
Got a system restore point from before you deleted it? [If not, why not? ;P ]
Software rusts. Simon Stephenson, ca 1994.
-
Hey I used DeleteVolumeMountPoint function to remove a USB drive (E:) from my machine. Now i want to bring that back. I tried re-booting and that doesn't seems to help. I think calling SetVolumeMountPoint function will bring it back. But that function needs the GUID of USB drive, which i don't have. Any ideas how to get the USB drive(volume - E:\) back? Can i do that via regedit? If so, how? THanks in advance
If you want to do it programmatically, there is some work to do around the
SetVolumeMountPoint
function. The easiest way is to do it from the Control Panel: open the Administrative tools and run Computer management, then select the section Disk management. There you can see all the disks, both removable and not; you should right-click on the USB drive and select Change drive letter and path (or Assign drive letter and path, or similar). Cheers, Sauro -
If you want to do it programmatically, there is some work to do around the
SetVolumeMountPoint
function. The easiest way is to do it from the Control Panel: open the Administrative tools and run Computer management, then select the section Disk management. There you can see all the disks, both removable and not; you should right-click on the USB drive and select Change drive letter and path (or Assign drive letter and path, or similar). Cheers, Sauro