umount

unmount file systems 

Command


SYNOPSIS

umount [-v] path...

umount -A [-v]


DESCRIPTION

If path is supplied and it is a mounted drive, umount unmounts it. In this case if the path is a volume or mount point for an attached VHD(X) or ISO image, vhdutil is not called to detach the image. Unlike Linux the way an image file was mounted is not stored in the mount table so umount cannot query the table to discover how much work to do and instead bases its decision on the path.

If path is supplied and it is not a mounted drive, umount unmounts all places where path is mounted.

If path is a VHD(X) file or ISO image, umount will both dismount the volume and call vhdutil to detach the image file. The call to vhdutil can fail if the calling user does not have SE_MANAGE_VOLUME_PRIVILEGE asserted (e.g. because the user is elevated or priv -e -a SeManageVolumePrivilege or equivalent was run) in which case the end result is simply to dismount the volume and not detach the image.

Options

-A 

unmounts all currently mounted file systems.

-v 

displays additional information as each file system is unmounted (verbose mode).


DIAGNOSTICS

Possible exit status values are:

0 

Successful completion.

>0 

An error occurred.


PORTABILITY

Windows 8.1. Windows Server 2012 R2. Windows 10. Windows Server 2016. Windows Server 2019. Windows 11. Windows Server 2022.


AVAILABILITY

PTC MKS Toolkit for System Administrators
PTC MKS Toolkit for Developers
PTC MKS Toolkit for Interoperability
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Commands:
mount, vhdutil


PTC MKS Toolkit 10.4 Documentation Build 39.