Removing a mount point for a volume
About this task
Mount point can be unmounted using either of the following methods:
Unmounting the drive using Windows PowerShell:
Open Windows PowerShell command.
Run the following cmdlet:
Remove-PartitionAccessPath -DriveLetter [x] -AccessPath [y]
x
—is the drive letter of the mounted volume.y
—is the path of the access path folder.Example:
Remove-PartitionAccessPath -DriveLetter F -AccessPath E:\MountPointF
Unmounting the drive using DiskPart command:
Open Command Prompt and run as Administrator.
Run the following command:
diskpart
View the list of all available volumes, using the following command:
list volume
To select the drive on which you want to unmount the volume, use the following command:
select volume DRIVE-LETTER
Unmount the drive, using the following command:
remove mount ACCESS-PATH
Example:
remove mount E:\MountPointF
Unmounting the drive using Mountvol command:
Open Command Prompt and run as Administrator.
To list a brief help text, list of volumes, mount points, and GUIDs on your system, use the following command:
C:\> mountvol
Unmount a mount point having access path, using the following command:
mountvol ACCESS-PATH /d
/d
—removes the volume mount point from the specified directory.Example:
C:\> mountvol E:\MountPointF /d