启用和禁用自动装载新卷

Diskpart提示符下:

  automount   //查看当前策咯

  automount enable  //开启

  automount disable  //禁用


 Mountvol /N    禁用新卷的自动装入。

      /E    再次启用新卷的自动装入。


sp HKLM:SYSTEMCurrentControlSetServicesmountmgr NoAutoMount 1   #1禁用 0开启
原文地址:https://www.cnblogs.com/feiyucha/p/10645143.html