Vmware虚拟机出现大量ATA Channel设备的解决办法

解决办法:

  1. 找到该虚拟机的配置文件(.vmx格式)
  2. 用记事本打开
  3. 添加一行
    devices.hotplug = "false"
  4. 保存退出
    再次开启虚拟机后问题得以解决

参考:http://blog.ihipop.info/2015/05/4830.html

原文如下:

遇到这个问题的人不少,Windows7下面的那个安全删除硬件下面一大堆的ATA Channel X,基本上发帖问的都是有强迫症的,也没人放Google找就发帖问,作为严重强迫症用户找到了解决方案,VMware官方文档。
如果你是轻度强迫症用户,只需要按照官方文档说的,编辑VMX配置文件加上一句话就可以了
devices.hotplug = "false"
如果重度强迫症用户,连硬盘都不想看见,就按照这个解决方案,开机用脚本改注册表伺候。
MAKING AN EJECTABLE DEVICE UN-EJECTABLE
The way to get rid of the option to eject the virtual disk is to make Windows believe that it is not hot-pluggable. This can be achieved by modifying the corresponding device capabilities registry value. That, however, is complicated by the facts that only SYSTEM has write access to the registry key and that Windows re-writes the correct value when booting – re-enabling HotPlug. The solution is to execute a computer startup script via Group Policy. Startup scripts are run in SYSTEM context, and since the script runs every time the system is booted we can be sure the device capabilities value is always configured the way we want it to be.
To implement the solution, create a batch file with the following content and run it as a computer startup script:
Shell
1 :: Disable eject hard disk
2 :: Original value: 6
3 reg.exe add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\PCI\VEN_1000&DEV_0054&SUBSYS_197615AD&REV_01\4&1f16fef7&0&00A8" /v Capabilities /t REG_DWORD /d 2 /f

Note: The second command is for disabling network card ejection. This is an alternative to setting “devices.hotplug=false” in the VMX file.
Shell
1 :: Disable eject network card
2 :: Original value: 6
3 reg.exe add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\PCI\VEN_8086&DEV_100F&SUBSYS_075015AD&REV_01\4&3ad87e0a&0&0088" /v Capabilities /t REG_DWORD /d 2 /f

你可能感兴趣的:(Vmware虚拟机出现大量ATA Channel设备的解决办法)