Remove hardware from “safely remove hardware” list on Windows 7












4















I have a USB wifi card (D-Link DWA-125) on a Windows 7 x64 computer. The problem is that the card appears on the "safely remove hardware" list, but I don't ever want to unplug it, so I would like to remove it from the list.



So far I have only found solutions that mess with the registry (and don't really work properly) or that substitute the safely remove hardware with a third-party software.
Or worse, hide the icon altogether. Yes, I do need the icon from USB drives and phones.



So, is there a "clean" way to remove it from the list?



Thanks.










share|improve this question



























    4















    I have a USB wifi card (D-Link DWA-125) on a Windows 7 x64 computer. The problem is that the card appears on the "safely remove hardware" list, but I don't ever want to unplug it, so I would like to remove it from the list.



    So far I have only found solutions that mess with the registry (and don't really work properly) or that substitute the safely remove hardware with a third-party software.
    Or worse, hide the icon altogether. Yes, I do need the icon from USB drives and phones.



    So, is there a "clean" way to remove it from the list?



    Thanks.










    share|improve this question

























      4












      4








      4


      1






      I have a USB wifi card (D-Link DWA-125) on a Windows 7 x64 computer. The problem is that the card appears on the "safely remove hardware" list, but I don't ever want to unplug it, so I would like to remove it from the list.



      So far I have only found solutions that mess with the registry (and don't really work properly) or that substitute the safely remove hardware with a third-party software.
      Or worse, hide the icon altogether. Yes, I do need the icon from USB drives and phones.



      So, is there a "clean" way to remove it from the list?



      Thanks.










      share|improve this question














      I have a USB wifi card (D-Link DWA-125) on a Windows 7 x64 computer. The problem is that the card appears on the "safely remove hardware" list, but I don't ever want to unplug it, so I would like to remove it from the list.



      So far I have only found solutions that mess with the registry (and don't really work properly) or that substitute the safely remove hardware with a third-party software.
      Or worse, hide the icon altogether. Yes, I do need the icon from USB drives and phones.



      So, is there a "clean" way to remove it from the list?



      Thanks.







      windows-7 usb






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Aug 2 '10 at 14:20









      Ricardo SmaniaRicardo Smania

      1711210




      1711210






















          2 Answers
          2






          active

          oldest

          votes


















          3














          The short answer is no. Those settings are normally hard-coded into the driver. The registry hack will probably work until you reboot.






          share|improve this answer
























          • Can you please show a registry hack?

            – Jessica
            Oct 8 '15 at 7:13











          • @Jessica see the other answer.

            – DavidPostill
            Oct 8 '15 at 7:14











          • I finally located 'Capabilities', and I'm not sure what the next step is.

            – Jessica
            Oct 8 '15 at 7:18



















          1














          Possible solution here



          http://www.eggheadcafe.com/software/aspnet/30495127/remove-hardware-from-safely-remove-hardware-list.aspx




          This can be achieved by modifying a registry value. So far
          I had no time writing a little tool for this...



          Devices are shown there if they are marked as removable and
          if they do no have the 'surprise removal ok' flag. These are
          bit coded flags:



          From cfgmgr32.h:



          The device capabilities are found in the registry in a value
          named 'Capabilities' under (sample for one of my USB flash
          drives):
          HKEY_LOCAL_MACHINESYSTEMCurrentControlSetEnumUSBVid_058f&Pid_633158F091111B



          If you take away 4 from the value or add 80h and then
          refresh the save removal dialog by toggeling the checkbox,
          then the drive is gone.
          But the value is reset when you attach the drive for the
          next time. This is hard coded into the driver and read
          each time the drive is loaded. If you export the modified
          value an reg file then you can silently load it on startup
          by
          regedit /s hidecardreader.reg



          The device id string of your card reader (this
          Vid_058f&Pid_633158F091111B thing) is found in the properties
          of the USB device in the device manager. My ListUsbDrives
          tool shows it too (the 'Ctrl DevID'):
          http://www.uwe-sieber.de/files/listusbdrives.zip







          share|improve this answer
























          • Thanks for the answer! I finally located 'Capabilities', and I'm not sure what the next step is.

            – Jessica
            Oct 8 '15 at 7:18











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f170949%2fremove-hardware-from-safely-remove-hardware-list-on-windows-7%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          3














          The short answer is no. Those settings are normally hard-coded into the driver. The registry hack will probably work until you reboot.






          share|improve this answer
























          • Can you please show a registry hack?

            – Jessica
            Oct 8 '15 at 7:13











          • @Jessica see the other answer.

            – DavidPostill
            Oct 8 '15 at 7:14











          • I finally located 'Capabilities', and I'm not sure what the next step is.

            – Jessica
            Oct 8 '15 at 7:18
















          3














          The short answer is no. Those settings are normally hard-coded into the driver. The registry hack will probably work until you reboot.






          share|improve this answer
























          • Can you please show a registry hack?

            – Jessica
            Oct 8 '15 at 7:13











          • @Jessica see the other answer.

            – DavidPostill
            Oct 8 '15 at 7:14











          • I finally located 'Capabilities', and I'm not sure what the next step is.

            – Jessica
            Oct 8 '15 at 7:18














          3












          3








          3







          The short answer is no. Those settings are normally hard-coded into the driver. The registry hack will probably work until you reboot.






          share|improve this answer













          The short answer is no. Those settings are normally hard-coded into the driver. The registry hack will probably work until you reboot.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Aug 2 '10 at 14:22









          JNKJNK

          7,4101928




          7,4101928













          • Can you please show a registry hack?

            – Jessica
            Oct 8 '15 at 7:13











          • @Jessica see the other answer.

            – DavidPostill
            Oct 8 '15 at 7:14











          • I finally located 'Capabilities', and I'm not sure what the next step is.

            – Jessica
            Oct 8 '15 at 7:18



















          • Can you please show a registry hack?

            – Jessica
            Oct 8 '15 at 7:13











          • @Jessica see the other answer.

            – DavidPostill
            Oct 8 '15 at 7:14











          • I finally located 'Capabilities', and I'm not sure what the next step is.

            – Jessica
            Oct 8 '15 at 7:18

















          Can you please show a registry hack?

          – Jessica
          Oct 8 '15 at 7:13





          Can you please show a registry hack?

          – Jessica
          Oct 8 '15 at 7:13













          @Jessica see the other answer.

          – DavidPostill
          Oct 8 '15 at 7:14





          @Jessica see the other answer.

          – DavidPostill
          Oct 8 '15 at 7:14













          I finally located 'Capabilities', and I'm not sure what the next step is.

          – Jessica
          Oct 8 '15 at 7:18





          I finally located 'Capabilities', and I'm not sure what the next step is.

          – Jessica
          Oct 8 '15 at 7:18













          1














          Possible solution here



          http://www.eggheadcafe.com/software/aspnet/30495127/remove-hardware-from-safely-remove-hardware-list.aspx




          This can be achieved by modifying a registry value. So far
          I had no time writing a little tool for this...



          Devices are shown there if they are marked as removable and
          if they do no have the 'surprise removal ok' flag. These are
          bit coded flags:



          From cfgmgr32.h:



          The device capabilities are found in the registry in a value
          named 'Capabilities' under (sample for one of my USB flash
          drives):
          HKEY_LOCAL_MACHINESYSTEMCurrentControlSetEnumUSBVid_058f&Pid_633158F091111B



          If you take away 4 from the value or add 80h and then
          refresh the save removal dialog by toggeling the checkbox,
          then the drive is gone.
          But the value is reset when you attach the drive for the
          next time. This is hard coded into the driver and read
          each time the drive is loaded. If you export the modified
          value an reg file then you can silently load it on startup
          by
          regedit /s hidecardreader.reg



          The device id string of your card reader (this
          Vid_058f&Pid_633158F091111B thing) is found in the properties
          of the USB device in the device manager. My ListUsbDrives
          tool shows it too (the 'Ctrl DevID'):
          http://www.uwe-sieber.de/files/listusbdrives.zip







          share|improve this answer
























          • Thanks for the answer! I finally located 'Capabilities', and I'm not sure what the next step is.

            – Jessica
            Oct 8 '15 at 7:18
















          1














          Possible solution here



          http://www.eggheadcafe.com/software/aspnet/30495127/remove-hardware-from-safely-remove-hardware-list.aspx




          This can be achieved by modifying a registry value. So far
          I had no time writing a little tool for this...



          Devices are shown there if they are marked as removable and
          if they do no have the 'surprise removal ok' flag. These are
          bit coded flags:



          From cfgmgr32.h:



          The device capabilities are found in the registry in a value
          named 'Capabilities' under (sample for one of my USB flash
          drives):
          HKEY_LOCAL_MACHINESYSTEMCurrentControlSetEnumUSBVid_058f&Pid_633158F091111B



          If you take away 4 from the value or add 80h and then
          refresh the save removal dialog by toggeling the checkbox,
          then the drive is gone.
          But the value is reset when you attach the drive for the
          next time. This is hard coded into the driver and read
          each time the drive is loaded. If you export the modified
          value an reg file then you can silently load it on startup
          by
          regedit /s hidecardreader.reg



          The device id string of your card reader (this
          Vid_058f&Pid_633158F091111B thing) is found in the properties
          of the USB device in the device manager. My ListUsbDrives
          tool shows it too (the 'Ctrl DevID'):
          http://www.uwe-sieber.de/files/listusbdrives.zip







          share|improve this answer
























          • Thanks for the answer! I finally located 'Capabilities', and I'm not sure what the next step is.

            – Jessica
            Oct 8 '15 at 7:18














          1












          1








          1







          Possible solution here



          http://www.eggheadcafe.com/software/aspnet/30495127/remove-hardware-from-safely-remove-hardware-list.aspx




          This can be achieved by modifying a registry value. So far
          I had no time writing a little tool for this...



          Devices are shown there if they are marked as removable and
          if they do no have the 'surprise removal ok' flag. These are
          bit coded flags:



          From cfgmgr32.h:



          The device capabilities are found in the registry in a value
          named 'Capabilities' under (sample for one of my USB flash
          drives):
          HKEY_LOCAL_MACHINESYSTEMCurrentControlSetEnumUSBVid_058f&Pid_633158F091111B



          If you take away 4 from the value or add 80h and then
          refresh the save removal dialog by toggeling the checkbox,
          then the drive is gone.
          But the value is reset when you attach the drive for the
          next time. This is hard coded into the driver and read
          each time the drive is loaded. If you export the modified
          value an reg file then you can silently load it on startup
          by
          regedit /s hidecardreader.reg



          The device id string of your card reader (this
          Vid_058f&Pid_633158F091111B thing) is found in the properties
          of the USB device in the device manager. My ListUsbDrives
          tool shows it too (the 'Ctrl DevID'):
          http://www.uwe-sieber.de/files/listusbdrives.zip







          share|improve this answer













          Possible solution here



          http://www.eggheadcafe.com/software/aspnet/30495127/remove-hardware-from-safely-remove-hardware-list.aspx




          This can be achieved by modifying a registry value. So far
          I had no time writing a little tool for this...



          Devices are shown there if they are marked as removable and
          if they do no have the 'surprise removal ok' flag. These are
          bit coded flags:



          From cfgmgr32.h:



          The device capabilities are found in the registry in a value
          named 'Capabilities' under (sample for one of my USB flash
          drives):
          HKEY_LOCAL_MACHINESYSTEMCurrentControlSetEnumUSBVid_058f&Pid_633158F091111B



          If you take away 4 from the value or add 80h and then
          refresh the save removal dialog by toggeling the checkbox,
          then the drive is gone.
          But the value is reset when you attach the drive for the
          next time. This is hard coded into the driver and read
          each time the drive is loaded. If you export the modified
          value an reg file then you can silently load it on startup
          by
          regedit /s hidecardreader.reg



          The device id string of your card reader (this
          Vid_058f&Pid_633158F091111B thing) is found in the properties
          of the USB device in the device manager. My ListUsbDrives
          tool shows it too (the 'Ctrl DevID'):
          http://www.uwe-sieber.de/files/listusbdrives.zip








          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Feb 2 '11 at 22:56









          MoabMoab

          51.1k1494160




          51.1k1494160













          • Thanks for the answer! I finally located 'Capabilities', and I'm not sure what the next step is.

            – Jessica
            Oct 8 '15 at 7:18



















          • Thanks for the answer! I finally located 'Capabilities', and I'm not sure what the next step is.

            – Jessica
            Oct 8 '15 at 7:18

















          Thanks for the answer! I finally located 'Capabilities', and I'm not sure what the next step is.

          – Jessica
          Oct 8 '15 at 7:18





          Thanks for the answer! I finally located 'Capabilities', and I'm not sure what the next step is.

          – Jessica
          Oct 8 '15 at 7:18


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f170949%2fremove-hardware-from-safely-remove-hardware-list-on-windows-7%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          How to make a Squid Proxy server?

          Is this a new Fibonacci Identity?

          19世紀