Ventoy Forums
Prevent VTOYEFI from auto-mounting - Printable Version

+- Ventoy Forums (https://forums.ventoy.net)
+-- Forum: Ventoy General Use —— Ventoy 使用交流 (https://forums.ventoy.net/forumdisplay.php?fid=1)
+--- Forum: Ventoy Discussion Forum (https://forums.ventoy.net/forumdisplay.php?fid=2)
+--- Thread: Prevent VTOYEFI from auto-mounting (/showthread.php?tid=2424)



Prevent VTOYEFI from auto-mounting - Keith Weisshar - 03-31-2023

Is there a way to prevent VTOYEFI from auto-mounting from the MBR formatted Ventoy USB drive on another PC or after using mountvol /r?  When I unplug the USB drive and then run mountvol /r then plug the drive back in it auto-mounts both the Ventoy and the VTOYEFI partitions? MBR uses type EF for the VTOYEFI partition which means EFI System Partition but is not hidden. GPT uses GPT attributes 0xC0000001 for the VTOYEFI partition which is both hidden and no auto-mount.