Mountvol Command In Windows Server 2008
This article describes the Mountvol command in Windows Server 2008 operating system and syntax related with it.
Introduction
Mountvol is command-line tool that is built in Windows server 2008. This command-line tool is used to create, remove and display a volume mount point. It link volumes without having a drive letters. Volume mount point means actual logical drive that is mounted to an existing empty folder. Basic syntax for using Mountvol command is given below.
Syntax
mountvol [<Drive>:]<Path VolumeName>
mountvol [<Drive>:]<Path> /d
mountvol [<Drive>:]<Path> /l
mountvol [<Drive>:]<Path> /p
mountvol /r
mountvol [/n | /e]
mountvol <Drive>: /s
|
Parameters of the Mountvol Command
Parameter |
Description |
[<Drive>:]<Path> |
Specifies the existing NTFS directory where the volume is to be mounted. |
<VolumeName> |
The volume name that is the target of the mount point. |
/d |
Removes the volume mount point from the specified NTFS folder. |
/l |
Display the mounted volume name for the specified folder. |
/p |
Used to remove a volume mount point from the specified directory. The basic volume is dismounted and is taken offline, making it unmountable. |
/r |
Used to remove a volume mount point directories and registry settings that no longer exists in the system. This prevents them from being automatically mounted and given their former volume mount point (s) when added back to the system. |
/n |
Disables the automatic mounting of new basic volumes. |
/e |
Used to re-enable the automatic mounting of new basic volumes. |
/s |
Can be used only on Itanium-based computers only. Mounts the Extensible Firmware Interface (EFI) system partition on the specified drive. |
Example
mountvol d56 \\?\Volume\{a96d98e1-2729-11e1-9f00-806d172696f}}\
|
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here