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.
unmounts all currently mounted file systems.
displays additional information as each file system is unmounted (verbose mode).
Possible exit status values are:
Windows Server 2012. Windows 8.1. Windows Server 2012 R2. Windows 10. Windows Server 2016. Windows Server 2019.
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
PTC MKS Toolkit 10.3 Documentation Build 39.