Использовать cmd или PowerShell с правами Администратора!
To turn off Automount feature, you can run one of the following commands: mountvol /N or diskpart automount disable
We can verify the status of Automatic mounting of new volumes by looking at the value of the following key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MountMgr\NoAutoMount
If the value is set to 1: This indicates that Automatic mounting of new volumes is Disabled.
If the value is set to 0: This indicates that Automatic mounting of new volumes is Enabled.