如何在 Windows 中制作虚拟 USB 驱动器?

joh*_*ohn 30 windows usb usb-flash-drive

如何在 Windows 中制作虚拟 USB 驱动器?可以用 DAEMON Tools 或类似的东西来完成吗?

原因是我需要 USB 驱动器来使用它们而不是物理 USB。有时我需要从 USB 加载证书,但我把它留在家里,当我在工作时,我想制作一个虚拟 USB 并把它们放在证书上,那么我该怎么做呢?

Nan*_*ins 19

您可以使用ImDisk创建可移动 USB 驱动器

imdisk -a -s 536870912 -m R: -o rem -p "fs:ntfs /q /y"
Run Code Online (Sandbox Code Playgroud)

-a      Attach a virtual disk. This will configure and attach a virtual disk
        with the parameters specified and attach it to the system.
-s      Size of the virtual disk. Size is number of bytes
-m      Specifies a drive letter or mount point for the new virtual disk
-o rem  Specifies that the device should be created with removable media
        characteristics.
-p      'format' command to create a filesystem when the new virtual disk has 
        been created. "/fs:ntfs /q /y" is: Create an NTFS filesystem with quick 
        formatting and without user interaction.
Run Code Online (Sandbox Code Playgroud)

如何安装

更多链接

  • 请不要在答案中写入 USB,ImDisk 创建的只是可移动驱动器,而不是 USB 可移动驱动器。如果 vmware 正在运行,它不会检测到新的 USB 驱动器,并且不会提供附加到来宾的选项。 (8认同)