Hi risingstar,
According to the research, the function of both command line "mountvol /N" and "diskpart automount disable" is the same. They are the same thing.
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.
Hope it helps.
David Shen - MSFT