Skip to content

Windows MOUNT command

The Windows MOUNT command allows users to attach a drive letter to a specific volume, enabling easy access to that volume. This command is particularly useful when managing storage devices or network shares. By using the MOUNT command, users can assign a drive letter to a volume that does not already have one, making it more accessible. This command can be run from the Command Prompt or PowerShell, providing a simple and effective way to manage volumes on a Windows system.

Terminal window
mount [options] [parameters]
OptionDescription
-tSets the filesystem type to mount.
-oProvides a comma-separated list of options.
ParameterDescription
deviceSpecifies the device to mount.
directorySpecifies the mount point directory.
Terminal window
mount \\server\share Z:

Mounts a network drive with the specified path to the local drive Z.

Terminal window
mount C:\Path\example.vhd /p:1

Mounts a Virtual Hard Disk (VHD) file located at the specified path using partition number 1.

Terminal window
mount C:\Path\example.iso /o drive

Mounts an ISO image file located at the specified path and assigns it the next available drive letter.

Terminal window
mount -o anon \\server\share Z:

Mounts an NFS share with the specified path to the local drive Z with anonymous access.

To use the mount command in Windows, execute the following command:

Terminal window
mount --options <value>

What is the purpose of the mount command in Windows?

Section titled “What is the purpose of the mount command in Windows?”

The mount command in Windows is used to mount a storage device or a network share to a specific directory in the file system.

How can I list mounted drives using the mount command in Windows?

Section titled “How can I list mounted drives using the mount command in Windows?”

You can list the currently mounted drives in Windows by running the following command:

Terminal window
mount

Can I specify a specific drive letter when mounting in Windows using the mount command?

Section titled “Can I specify a specific drive letter when mounting in Windows using the mount command?”

Yes, you can specify a particular drive letter when mounting in Windows using the mount command. Here is an example:

Terminal window
mount /d X: C:\Path\To\Mount

Is it possible to mount network shares in Windows using the mount command?

Section titled “Is it possible to mount network shares in Windows using the mount command?”

Yes, you can mount network shares in Windows using the mount command. Here is an example:

Terminal window
mount \\Server\Share /m C:\Mount\Point

How do I unmount a drive or network location in Windows using the mount command?

Section titled “How do I unmount a drive or network location in Windows using the mount command?”

To unmount a drive or network location in Windows using the mount command, you can use the following command:

Terminal window
mount /u C:\Mount\Point
  • Mounting a drive
  • Assigning a drive letter to a specific partition
  • Mounting a network share
  • Making a drive accessible for use
  • Assigning a specific file system to a drive