zoukankan      html  css  js  c++  java
  • 如何清除SATA硬盘的“安全删除硬件”图标

    百度以及中文网站上千篇一律的是NVIDIA的芯片组的方法,解决方法如下:


    打开注册表,找到[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices
    vata],新建一个Dword值,命名为"DisableRemovable",将"数值数据"更改成"1",最后重启一下,就好了。你用的是NVIDIA的芯片组,你安装了NVIDIA主板驱动中的IDE驱动,装了以后就会出现这图标。

    可是大部分不是NVIDIA芯片组。

    搜到http://www.overclock.net/t/974023/fix-ahci-sata-drives-showing-in-safely-remove-hardware,解决了这个问题。将方法贴在如下:

    Ever since I set my BIOS to AHCI, I was plagued with my SATA connected drives showing up in the "Safely Remove Hardware" icon.

    I understand that eSata, and USB devices should show up there. However, my internal devices, HDDs, CD/DVD/BluRay are showing up as well.

    I didn't want to have to reinstall Windows 7, and set BIOS to SATA/RAID.
    I wanted a better solution.
    I found it!


    This is a Registry fix.
    You should ALWAYS back up your registry before you make changes - it only takes a second to do it, and if anything happens to it you'll need to reinstall...
    Here we go...

    Regedit your way to:
    HKEY_LOCAL_MACHINE SYSTEM CurrentControlSet services msahci
    and create a new KEY called "Controller0"
    inside Controller0, create a new KEY called "Channel0"
    Now inside Channel0, create a new DWORD called "TreatAsInternalPort"
    set this value to "1"
    (this sets SATA port 0 (Drive C)to no longer show up in "Safely Remove Hardware")

    Now, go back into the Controller0 folder again.
    inside Controller0, create a new KEY called "Channel1"
    Now inside Channel1, create a new DWORD called "TreatAsInternalPort"
    set this value to "1"
    (this sets SATA port 1 (Drive D)to no longer show up in "Safely Remove Hardware")

    And so on, until all internal SATA ports are set to be treated as Internal.
    My motherboard has 6 SATA ports, so I have set Channel0 to Channel5.

    Here is an example of my registry change:




    Your motherboard may have more or less SATA ports,

    just remember to start with 0
    6 Ports = 0-5 etc.

    Now Reboot to allow changes.



  • 相关阅读:
    chrome webkitappearance
    图片占用内存
    javascript性能优化repaint和reflow
    vim 系统剪切板
    CSS选择符的命名(转载)
    relative 内部 margin
    中国软件企业
    dom元素排序
    shell
    tips for asm
  • 原文地址:https://www.cnblogs.com/phyking/p/4456599.html
Copyright © 2011-2022 走看看