4 ways to unmount a disc or drive

4 ways to unmount a disc or drive
4 ways to unmount a disc or drive

Windows XP, Vista, and Linux allow you to unmount virtual disks, optical disks, and network shares. This article shows you how to unmount a drive in Windows 7, Windows Vista, and Windows XP as well as Linux and Mac OS X.


Method 1 of 4: Use the "Disk Management" tool in XP, Vista or Windows 7

Unmount a Drive Step 1

Step 1. Open the Computer Management program

To do this, start by pressing To start up.

Unmount a Drive Step 2

Step 2. In the search box, type run

Unmount a Drive Step 3

Step 3. Under “Programs”, click Run

Unmount a Drive Step 4

Step 4. Type "compmgmt.msc"

Unmount a Drive Step 5

Step 5. Press OK to launch Computer Management

Unmount a Drive Step 6

Step 6. Click Disk Management

You will find this in the left panel of the window Computer management.

Unmount a Drive Step 7

Step 7. Choose the disk

Right click on the drive or partition you want to unmount.

Unmount a Drive Step 8

Step 8. Go to the context menu

Select Change drive letter and access paths …

Unmount a Drive Step 9

Step 9. Unmount the drive

Select the drive you want to unmount and press To delete.

Unmount a Drive Step 10

Step 10. Do Yes when prompted to remove the drive path

Unmount a Drive Step 11

Step 11. Close the Disk Management window

Method 2 of 4: Unmount a mounted disk in a folder in Windows using Command Prompt

Unmount a Drive Step 12

Step 1. Open the Windows menu by clicking the button at the bottom left of your screen

Unmount a Drive Step 13

Step 2. Type cmd in the bar that says "Search programs and files" near the bottom near the Windows button

Unmount a Drive Step 14

Step 3. Click on cmd in the Programs section

Unmount a Drive Step 15

Step 4. Unmount the drive

Type "mountvol Path / d" and replace "Path" with the path to the folder where the disk is mounted.

Method 3 of 4: Unmount a disk in Linux

Unmount a Drive Step 16

Step 1. Open a terminal

From the Linux GUI, press Ctrl + alt = "Image" + F1 to open a terminal.

Otherwise, you can select Terminal from System Tools

Unmount a Drive Step 17

Step 2. Unmount the drive

Type "umount / dev / partitionID" into the terminal command line, replacing partitionID with the ID of the partition you want to unmount.

Method 4 of 4: Unmount a disk in Mac OS X

Unmount a Drive Step 18

Step 1. Unmount the drive

Right click on the disk then click Eject in the context menu.

Alternatively, you can drag the icon of the disk you want to unmount to the Trash


  • Sometimes when you try to unmount a disk in Linux, you will see a message saying that the disk is busy. You can try to determine what software is currently using the disk by opening a terminal or command prompt and entering the following command: "lsof + D / mnt / windows". This will give you a list of the processes running on that drive so you can know which ones to stop before you can unmount the drive.
  • Unmounting a disk does not remove any data from the folder, it only unmounts the disk.
  • The command to unmount in Linux can be used to unmount hard disks, virtual disks, USB sticks, CD drives, and file partitions. The syntax of the command differs slightly when you want to unmount media. For example, to unmount a CD drive, you will need to enter the command "umount / media / cdrom" in the Shell or Terminal command prompt.


  • Note that the command to unmount a disk in Linux is UMOUNT and not UNMOUNT.
  • Whether you are using Linux or Windows, it may be a good idea to unmount a USB drive before unplugging it from the USB port. This is to make sure that you will not lose any data when you unplug the drive. On Linux, unmount using the command given above. In Windows, remove it by right-clicking on the icon Safely Remove Device in the taskbar and selecting the USB disk.

Popular by topic