The inactive partition continues to be mounted?
The inactive partition continues to be mounted?
Hello,
I reached a dead end here. I created a bootable USB using Ventoy (Asus Rog Strix Arion case with a Samsung 970 EVO 1TB SSD), which sets up two partitions—one for ISO files or data and another for boot. The issue is that the 32MB partition can’t be marked as not mountable. I’ve tried diskpart and marking it inactive, but the system still tries to mount it. This problem occurs across multiple devices (Windows 7, 10, 11) and on all machines. I’ve been searching for a solution for a few weeks without success. Someone could help me?
Yours gratefully,
Dragos Manea.
Windows is quite naive. It tries to connect to every visible device. I encountered this issue with a fiber channel RAID setup shared between two computers. Because no masking was applied on the hardware controller to conceal certain partitions, the first machine that started up connected everything.
I didn’t discover a fix within Windows itself.
I find it hard to accept that in the AI age, marking a partition as no-mount isn't possible in a Windows environment.
If you follow the steps accurately, mount all three drives and then apply a script or command through autorun to remove the 32 MB partition. PowerShell could help. Additional resources include links for using foreach statements in PowerShell and methods for unmounting via PowerShell commands. Ejecting might also work with relevant guides. Task Scheduler could be utilized as well.
For the first two links, manual selection of the disk number is required since there is no automatic option. The third link does not apply, and the fourth link isn't suitable for a new notebook or PC where I'm connecting USB memory. Thank you for your response.
The disk number remains the same? If it stays consistent, you can design an input script that imitates entering or selecting a keyboard for that specific disk number. Alternatively, if the disk number changes, you’d need a script to detect it and save it in a variable, then use that variable in your input script. The third link points to Windows 10/11, but your system is running Windows 11—does this mean the laptop’s operating system is correct? Also, what type of new laptop or USB memory are you referring to? Make sure to open Disk Management, expand all drives, and capture a screenshot for reference.
The scenario is this: I work in a university setting, frequently use my drive on various computers (and the drive number changes depending on the notebook I connect to). I need that regardless of the PC or notebook I connect my USB enclosure to, the 32mb partition should not be mounted. Many of the notebooks I connect my drive to will be the first time I connect to it. I hope I have explained myself clearly, as English is my second language.
I believe it's impossible to stop a random host system from accessing that partition beforehand.