<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" 
      xmlns:thr="http://purl.org/syndication/thread/1.0">
  <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html" />
  <link rel="self" type="application/atom+xml" href="http://ask-leo.com/atom.xml" />
  <id>tag:ask-leo.com,2008://5/tag:ask-leo.com,2004://5.141-</id>
  <updated>2008-11-10T03:02:31Z</updated>
  <title>Comments for Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</title>
  
  <generator uri="http://www.sixapart.com/movabletype/">Movable Type 4.21-en</generator>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:44466</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c44466" />
    <title>Comment from Ian on 2008-09-10</title>
    <author>
      <name>Ian</name>
      <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
      <![CDATA[<p>A program called USB Disk Ejector - is free and works perfectly!</p>

<p>Ian<br />
.........</p>

<p><a href="http://www.i-logo.net">http://www.i-logo.net</a></p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2008</a>.</p>
    </content>
    <published>2008-09-10T14:01:15Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:40913</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c40913" />
    <title>Comment from Leo on 2008-05-26</title>
    <author>
      <name>Leo</name>
      <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
      <![CDATA[<p>-----BEGIN PGP SIGNED MESSAGE-----<br />
Hash: SHA1</p>

<p>Yes. In the worst case you could corrupt and lose all the<br />
data on the drive.</p>

<p>Leo</p>

<p></p>

<p>-----BEGIN PGP SIGNATURE-----<br />
Version: GnuPG v1.4.7 (MingW32)</p>

<p>iD8DBQFIOu2OCMEe9B/8oqERAqheAJ948wYoTwUYT2F7V2Yu96koZSMusACeN1OR<br />
jHtBs3PzsTd7pikUo6brF8I=<br />
=td4N<br />
-----END PGP SIGNATURE-----<br />
</p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2008</a>.</p>
    </content>
    <published>2008-05-26T17:04:23Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:40907</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c40907" />
    <title>Comment from Shrav on 2008-05-26</title>
    <author>
      <name>Shrav</name>
      <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
      <![CDATA[<p>Sometimes i forget to use "Safely Remove Hardware" commands for my usb drive . Can this be any problem .</p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2008</a>.</p>
    </content>
    <published>2008-05-26T15:11:02Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:35828</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c35828" />
    <title>Comment from yogesh on 2007-11-28</title>
    <author>
      <name>yogesh</name>
      <uri>http://unspecified</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://unspecified">
      <![CDATA[<p>now able to see that unplag or eject hardware,</p>

<p>not showing usb device </p>

<p>able to see in mycomputer</p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2007</a>.</p>
    </content>
    <published>2007-11-29T07:37:54Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:34479</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c34479" />
    <title>Comment from Rockechris on 2007-10-09</title>
    <author>
      <name>Rockechris</name>
      <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
      <![CDATA[<p>Worked like a charm! Excellent article.</p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2007</a>.</p>
    </content>
    <published>2007-10-09T08:08:45Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:33927</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c33927" />
    <title>Comment from Chip on 2007-09-18</title>
    <author>
      <name>Chip</name>
      <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
      <![CDATA[<p>The comment Jared posted on Jan 20, 2007 is almost perfect, but I've adopted an easier way to use it.  Copy the directory\command </p>

<p>%windir%\system32\RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll</p>

<p>Go to your desktop and create a new shortcut and paste that directory\command into the location bar.  If you want the special Windows icon for it open up the properties of the shortcut, click Change Icon, click Browse, and (if it's already showing you your system32 directory) find hotplug.dll and open that.  The Safely Remove Hardware icon is located in there.</p>

<p>I created this process for a novice user that liked to do everything from her desktop.  The article suggests a much more complicated process, the icon/shortcut can be transferred to many XP computers.  I'm just cutting out the middle man of the command prompt because c'mon man! this is Windows! not Linux! lol</p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2007</a>.</p>
    </content>
    <published>2007-09-18T14:28:34Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:33288</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c33288" />
    <title>Comment from jonnyxx on 2007-08-25</title>
    <author>
      <name>jonnyxx</name>
      <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
      <![CDATA[<p>Hi, this is a very helpfull page, thanks leo for all your efforts, and all the other people who have commented. I have the usb problem in reverse. I use wireless usb devices (for networking) and they appear in the safely remove hardware list. users sometimes accidentally remove the wireless device, and then the pc loses it's connection. Does anyone know of a way to remove a certain device from the list? so it CAN'T be turned off. cheers, jonnyxx.</p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2007</a>.</p>
    </content>
    <published>2007-08-26T06:50:33Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:30924</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c30924" />
    <title>Comment from ANGAD on 2007-05-26</title>
    <author>
      <name>ANGAD</name>
      <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
      <![CDATA[<p>When i connect my usb pen drive on my laptop i see  removal drive in my computer and work proparly but neither showing on taskbar for safaly remove nor get "usb device found massage" Please salve my problem. </p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2007</a>.</p>
    </content>
    <published>2007-05-26T07:48:27Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:30873</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c30873" />
    <title>Comment from pop4e on 2007-05-24</title>
    <author>
      <name>pop4e</name>
      <uri>http://unspecified</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://unspecified">
      <![CDATA[<p>When i connect my USB FLASH, drive don't show in my computer!!!    Show the message that is all ok but isn't   help!</p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2007</a>.</p>
    </content>
    <published>2007-05-24T20:48:59Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:30031</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c30031" />
    <title>Comment from Jumme (Denmark) on 2007-04-24</title>
    <author>
      <name>Jumme (Denmark)</name>
      <uri>http://unspecified</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://unspecified">
      <![CDATA[<p>Hey Leo, thanks.</p>

<p>Devcon works like a charm.</p>

<p>Now, I wondered.. if a small utility like this can romeve my eSata external harddisk drive, connected by SiImage Sata controller....<br />
Is there any way by messing with the registry, to place/show my eSata drive under "Safely Remove Hardware" in XP (where it is somehow not present now)?</p>

<p>Thanks in advance,<br />
Jumme</p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2007</a>.</p>
    </content>
    <published>2007-04-25T01:36:19Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:29640</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c29640" />
    <title>Comment from Quixilvr on 2007-04-09</title>
    <author>
      <name>Quixilvr</name>
      <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
      <![CDATA[<p>I found an amazing program that allows you to quickly remove the USB devices that you commonly use called RemoveDrive. I found it when I was researching some of the other program alternatives like "USB Safely Remove" (which is shareware and has an annoying popup screen) & "DevEject" (Which is another command line excecutable like RemoveDrive, but it does not remove drives considered as "Local Drives"). </p>

<p>RemoveDrive is a command line executable, so you would need to tell it what to remove drive by drive. I saved the RemoveDrive.exe to "C:\Program Files\RemoveDrive" and then created a BAT Batch file with the following:</p>

<p>--------------------------------------------------<br />
CD\<br />
CD C:\Program Files\RemoveDrive<br />
RemoveDrive.exe "Simple Flash Disk 2.0 USB Device"<br />
RemoveDrive.exe "Multi Flash Reader USB Device"<br />
--------------------------------------------------</p>

<p>The device names in quotes are the names of my USB devices as they appear in the "Safely Remove Hardware" >> "Stop a Hardware device" screen that you would normally have to use to remove your devices. Now I have the Batch file assigned to a "Hot Key Plus" combination, and I can remove my USB drives in a flash!</p>

<p>You can get the RemoveDrive.exe file at: [url]http://www.uwe-sieber.de/usbstick_e.html[/url]</p>

<p>Hope this helps</p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2007</a>.</p>
    </content>
    <published>2007-04-09T18:25:38Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:27066</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c27066" />
    <title>Comment from Jared on 2007-01-20</title>
    <author>
      <name>Jared</name>
      <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
      <![CDATA[<p>After reading about the misadventures of using Devcon, I thought you might like to how I do this. This is a batch file of the safely remove dll. <br />
Note that this may not work on restricted acess machines.</p>

<p>Open notepad and copy the lines between the *'s (do not include the *'s)</p>

<p>*******************************</p>

<p>REM SAFEREMOVE.BAT</p>

<p>echo off<br />
echo SAFELY REMOVE<br />
echo Starting Safely Remove<br />
%windir%\system32\RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll</p>

<p>******************************************</p>

<p>Save the file as Safely_Remove.bat<br />
Make sure that you have the .bat added to the file name. </p>

<p>You can copy this file to your USB drive, and then take it with you. </p>

<p>I recommend copying it to the desktop of the computer that you are on before trying to use the batch file, as the drive can't be stopped while running the batch file. </p>

<p><br />
If this doesn't work (i.e. very restricted access,  I run into this at school where the system directory is off limits - perhaps rightly so.... but I digress) you can copy the 3 files that the batch file uses from your home computer. Just put them in a folder, copy your shortcut to "safely remove", and change the shortcut properties accordingly. If you don't know how to do that, I can post it later.</p>

<p><br />
There is also a program called Safely Remove. You can download a free 30-day(?) trial. Ironically, if you copy the executable file to your USB drive, you can take it with you, copy it to the computer that you are using, and it will work. Not only that, but by having it on the USB drive, the trial period never runs out, that is, it says "day one" each time you use it. Very cool, although unethical!!</p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2007</a>.</p>
    </content>
    <published>2007-01-21T01:41:07Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:25975</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c25975" />
    <title>Comment from Nosgoroth on 2006-12-17</title>
    <author>
      <name>Nosgoroth</name>
      <uri>http://unspecified</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://unspecified">
      <![CDATA[<p><a href="http://www.uwe-sieber.de/usbstick_e.html"><a href="http://www.uwe-sieber.de/usbstick_e.html">http://www.uwe-sieber.de/usbstick_e.html</a></a><br />
RemoveDrive from that page works admirably.<br />
For example:<br />
> removedrive e:<br />
That's it. Same effect as using the WXP Device manager :P</p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2006</a>.</p>
    </content>
    <published>2006-12-17T15:22:47Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:24748</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c24748" />
    <title>Comment from jerry on 2006-11-09</title>
    <author>
      <name>jerry</name>
      <uri>http://unspecified</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://unspecified">
      <![CDATA[<p>I downloaded the Devon program<br />
got two programs, one don't work.<br />
explanations here are lousey. This page is some kind of sick trick.</p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2006</a>.</p>
    </content>
    <published>2006-11-09T11:55:18Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:24034</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c24034" />
    <title>Comment from terry on 2006-10-16</title>
    <author>
      <name>terry</name>
      <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
      <![CDATA[<p>I seem to have the opposite problem. I have a digital camcorder which I have previously connected (successfully) via USB port. I then installed an external hard drive backup. Now when I plug in the camcorder, Windows just comes up with teh 'safely remove hardward' icon & seems to think that the camcorder is an external disc drive. The camcorder software seems to think that no device is connected. HELP!</p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2006</a>.</p>
    </content>
    <published>2006-10-16T23:56:57Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:23086</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c23086" />
    <title>Comment from Jared on 2006-09-14</title>
    <author>
      <name>Jared</name>
      <uri>http://unspecified</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://unspecified">
      <![CDATA[<p>I found the answer to my question, if anyone else is looking for the same type of thing, go to :  <a href="http://ask-leo.com/safely_remove_hardware_where_did_the_icon_go_how_do_i_safely_remove_hardware_without_it.html"><a href="http://ask-leo.com/safely_remove_hardware_where_did_the_icon_go_how_do_i_safely_remove_hardware_without_it.html">http://ask-leo.com/safely_remove_hardware_where_did_the_icon_go_how_do_i_safely_remove_hardware_without_it.html</a></a>  This tells you how to create a shortcut to the "safely remove" dialogue box. I copied the shortcut onto my USB drive, that way I always have the ability to stop the drive, regardless of the computer I am using.<br />
</p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2006</a>.</p>
    </content>
    <published>2006-09-15T00:31:38Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:22900</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c22900" />
    <title>Comment from jared on 2006-09-07</title>
    <author>
      <name>jared</name>
      <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
      <![CDATA[<p>In the first sentence of the previous post, I meant to ask if there is a way to stop the usb drive from the command prompt.</p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2006</a>.</p>
    </content>
    <published>2006-09-08T02:00:40Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:22899</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c22899" />
    <title>Comment from Jared on 2006-09-07</title>
    <author>
      <name>Jared</name>
      <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
      <![CDATA[<p>Is there a way to stop the usb drive to safely remove it? At college, I frequently use computers on which I have limited access, and if the "safely remove" icon is not there, I cannot adjust the settings on the computer. I have to completely shut down the computer to stop the drive. Also, if the drive is "optimized for quick removal", does the drive need to be stopped before it is removed?  The light on the drive stays on until I pull it out (that is, if I don't stop it before removing it), which seems to me like a bad thing.</p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2006</a>.</p>
    </content>
    <published>2006-09-08T01:58:47Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:20267</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c20267" />
    <title>Comment from Leo A. Notenboom on 2006-06-19</title>
    <author>
      <name>Leo A. Notenboom</name>
      <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
      <![CDATA[<p>I don't see why not. The batch file would terminate abruptly, since it would "disappear" while it was running.</p>

<p>Alternative is to have the batch file copy itself to the %TMP% location, and then run itself from there, deleting itself on completion.</p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2006</a>.</p>
    </content>
    <published>2006-06-19T22:58:41Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:20257</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c20257" />
    <title>Comment from carenza on 2006-06-19</title>
    <author>
      <name>carenza</name>
      <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
      <![CDATA[<p>Is it possible to put the 'disconnect' command (any of the above methods) in a .bat file that is on the drive that I am trying to remove.</p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2006</a>.</p>
    </content>
    <published>2006-06-19T16:50:27Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:18835</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c18835" />
    <title>Comment from coodan on 2006-05-01</title>
    <author>
      <name>coodan</name>
      <uri>http://unspecified</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://unspecified">
      <![CDATA[<p>I'm agree with Tintin, DevEject seems to be better solution. No installation is needed, so we can just copy it and write .bat file - something like this: deveject -EjectId:usbstor\*. We can also make shortcut to DevEject and add the parameter to its properties (something like this: ["C:\Documents and Settings\Admin\deveject.exe" -EjectId:usbstor\*] ). </p>

<p>A bit of problem - if drive is in use and cannot be ejected, DevEject will not in fact eject it, but will keep silence on it (report it's done). If you have not the icon in your deskbar, you probably will not notice it and will have true chance to corrupt your data.</p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2006</a>.</p>
    </content>
    <published>2006-05-01T18:36:45Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:16663</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c16663" />
    <title>Comment from Garry W on 2006-02-28</title>
    <author>
      <name>Garry W</name>
      <uri>http://unspecified</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://unspecified">
      <![CDATA[<p>Found one that works better! It seems that, in Windows terms, you want an "Eject", not a "Remove", of the device. </p>

<p>To do that, grab 'deveject' from ftp://ftp.heise.de/pub/ct/listings/0316-208.zip. To "safely remove" drive letter 'X:', the syntax would be "deveject -EjectDrive:X:". This method does NOT uninstall the whole device, does NOT truncate writes-in-progress, does NOT lose the drive lettering (if you've set it), DOES really get rid of the "Unsafe Removal" messages. Good.</p>

<p>And for extra credit, "unmount.exe" from <a href="http://www.uwe-sieber.de/files/unmnt10.zip"><a href="http://www.uwe-sieber.de/files/unmnt10.zip">http://www.uwe-sieber.de/files/unmnt10.zip</a></a> will wait for open files to close. Syntax is "unmount -e X:". Run it first, then do the deveject. (There is an "eject" built into unmount.exe, but it's not the right one.)</p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2006</a>.</p>
    </content>
    <published>2006-03-01T05:55:49Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:16660</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c16660" />
    <title>Comment from Garry W on 2006-02-28</title>
    <author>
      <name>Garry W</name>
      <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
      <![CDATA[<p>Doesn't work! Not for me. Looks like "devcon remove" causes the device in question to be uninstalled -- which is not desired, and does NOT cause it to be "unplugged" -- which -is- desired. </p>

<p>In other words, after using "devcon remove" the device is completely gone from the device manager (even in "show hidden" mode) but I still get the "Unsafe Removal" error (albeit with different device syntax) when I physically unplug the device. (I may be getting the Unplug error because the related drivers -- the "Generic volume" driver and the "USB Mass Storage Device" driver are still in the stack.) </p>

<p>When I plug the device back in I get a "Found new hardware" sequence because the drivers had been (undesireably) uninstalled.</p>

<p>And methinks that uninstalling a device may be actively dangerous -- it may NOT wait to flush disk buffers, since it's not an "unplug". Using this removal method may cause you to lose data. I would avoid it until this is clarified.</p>

<p>I tested with two different plug-in drives, under Win2000 SP4. I have no idea why the method apparently does work for Leo!</p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2006</a>.</p>
    </content>
    <published>2006-03-01T04:51:55Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:16284</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c16284" />
    <title>Comment from Nikola on 2006-02-20</title>
    <author>
      <name>Nikola</name>
      <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
      <![CDATA[<p>My "Safely Remove Hardware" icon (Windows XP)has disappeared and I've tried everything I know of to restore it to the taskbar. In the taskbar Properties I have it flagged as "Always Show" along with other icons, but it does not appear in the taskbar when using any USB device</p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2006</a>.</p>
    </content>
    <published>2006-02-20T08:52:27Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:15830</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c15830" />
    <title>Comment from pitbull on 2006-02-07</title>
    <author>
      <name>pitbull</name>
      <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
      <![CDATA[<p>Is there a way to do it the other way around? When I plug my iPod, iTunes is supposed to start as well, but it doesn't. So Is there a way to trigger iTunes when I plug he iPod?</p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2006</a>.</p>
    </content>
    <published>2006-02-08T02:26:52Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:15597</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c15597" />
    <title>Comment from Leo on 2006-02-01</title>
    <author>
      <name>Leo</name>
      <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
      <![CDATA[<p>Treat the drive letter ("e:" for example) as if it were a file name and search for it using the intructions with this article: <a href="http://ask-leo.com/how_can_i_find_out_who_is_using_a_file_in_use.html">http://ask-leo.com/how_can_i_find_out_who_is_using_a_file_in_use.html</a><br />
</p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2006</a>.</p>
    </content>
    <published>2006-02-01T20:18:18Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:15591</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c15591" />
    <title>Comment from Rosie on 2006-02-01</title>
    <author>
      <name>Rosie</name>
      <uri>http://unspecified</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://unspecified">
      <![CDATA[<p>The batch file sounds like a good solution & I'll certainly try, but is there a way to find out what program is still accessing the drive?</p>

<p>I have a USB Apricorn portable HDD for backups & to take files home from work & viceversa. At home (XP Home) I rarely have a problem, but at work (W2K) too frequently I'm unable to "safely remove" it unless I reboot the machine. The access light is not on & it may be some time since I've used it at all. Waiting a while (even hours) doesn't help.  Of the times I've unplugged it anyway, maybe half of them I get a warning that some process didn't finish, no mention of exactly which or what program. Closing every program running (that I can see) is no help either.</p>

<p>To date I haven't found any of my files in the portable missing or damaged, but I need to know what's accessing it without my authorization. We have a good firewall & virus protection, but since it's a work computer you never know what else is there. Virus & spyware check are all ok.</p>

<p>Many thanks.</p>

<p>Rosie</p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2006</a>.</p>
    </content>
    <published>2006-02-01T19:10:34Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:15500</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c15500" />
    <title>Comment from pete on 2006-01-30</title>
    <author>
      <name>pete</name>
      <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
      <![CDATA[<p>For the Safely Remove Hardware to appear you need to:</p>

<p>Right click on the drive (my instance drive I)</p>

<p>Click Properties<br />
Click Hardware tab<br />
Highlight your drive<br />
Click properties<br />
Click policies tab<br />
Click optimize for performance.<br />
Click Ok.<br />
Click apply.</p>

<p>You may have to restart your computer but thats how it worked for me.</p>

<p>For some reason XP sometimes selects optimize for quick removal as an option.</p>

<p>pete</p>

<p></p>

<p></p>

<p><br />
</p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2006</a>.</p>
    </content>
    <published>2006-01-30T10:17:53Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:15009</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c15009" />
    <title>Comment from harry on 2006-01-18</title>
    <author>
      <name>harry</name>
      <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
      <![CDATA[<p>It seems a lot of people can't find the Safely Remove icon on their taskbar!  Me included. It just disappeared, and my Tosh gets very upset if I change the floppy drive for the CD drive, since I can't "safely remove".</p>

<p>If anyone has found the answer I'd be most grateful for an email.  Thanks.   Harry<br />
harry@tifosi.net</p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2006</a>.</p>
    </content>
    <published>2006-01-18T20:37:55Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:14503</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c14503" />
    <title>Comment from Gasper Loborec on 2006-01-06</title>
    <author>
      <name>Gasper Loborec</name>
      <uri>http://unspecified</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://unspecified">
      <![CDATA[<p>I did as skeetabomb but for those who doesnt know procedure </p>

<p>-create new text document.txt with right click on Desktop</p>

<p>-copy command from razor2000 (thanx razor2000) %windir%\system32\RUNDLL32 shell32.dll,Control_RunDLL hotplug.dll</p>

<p>-paste it in to .txt file</p>

<p>-save</p>

<p>-rename to whatever.bat</p>

<p>Thanks razor and skeetabomb</p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2006</a>.</p>
    </content>
    <published>2006-01-06T12:51:58Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:14379</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c14379" />
    <title>Comment from skeetabomb on 2006-01-03</title>
    <author>
      <name>skeetabomb</name>
      <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
      <![CDATA[<p>Thanks for the string. I created a .bat file with in notepad called "Eject.bat" (adding a carriage return at the end of your string) then placed a shortcut to it in my Quick launch bar.</p>

<p>Works a treat.</p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2006</a>.</p>
    </content>
    <published>2006-01-03T14:28:52Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:13588</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c13588" />
    <title>Comment from razor2000 on 2005-12-12</title>
    <author>
      <name>razor2000</name>
      <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
      <![CDATA[<p>For those of you who do not see the icon in their system tray, you may run this command to bring it up:</p>

<p>%windir%\system32\RUNDLL32 shell32.dll,Control_RunDLL hotplug.dll</p>

<p><br />
If you want to control the behavior of the Safely Remove Hardware icon in your system tray, do the following:</p>

<p>1. Right-Click on the Task Bar <br />
2. Select Properties <br />
3. Under the taskbar tab, click the Customize button <br />
4. Select the program you wish to hide <br />
5. Under the drop down box, select Always Hide, Always Show, or Hide when inactive. <br />
6. Click OK</p>

<p>enjoy :)</p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2005</a>.</p>
    </content>
    <published>2005-12-12T16:02:40Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:13477</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c13477" />
    <title>Comment from Echo zi on 2005-12-07</title>
    <author>
      <name>Echo zi</name>
      <uri>http://unspecified</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://unspecified">
      <![CDATA[<p>I've WindowsXP installed in my PC with whole system functioning very well. But, I generally don't see any "safely remove your hardware" icon in the system tray when I plug any USB flash device. It appears only when I log off windows and log it on again.<br />
I've got a USB memory-card-reader attached with my system. It suggests this icon to be appered always. Though the card is still in function, it doesn't make the icon on the tray appear always anymore, even not in case of plugging any new flash drive.</p>

<p>I need your suggestion very much.</p>

<p>Thank you.</p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2005</a>.</p>
    </content>
    <published>2005-12-08T06:26:44Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:11565</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c11565" />
    <title>Comment from faRID on 2005-09-21</title>
    <author>
      <name>faRID</name>
      <uri>http://unspecified</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://unspecified">
      <![CDATA[<p>this works well!<br />
i love it...</p>

<p>for me .. creating a batch file.. with this.. seems to be the best way to remove thumb drives..</p>

<p>devcon remove usb\vid*</p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2005</a>.</p>
    </content>
    <published>2005-09-22T04:04:38Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:11442</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c11442" />
    <title>Comment from Tom on 2005-09-16</title>
    <author>
      <name>Tom</name>
      <uri>http://unspecified</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://unspecified">
      <![CDATA[<p>My remove safely icon disappeared also, and the system reboots when USB SD card reader is removed. (and sometimes whane a flash memory decice is removed)</p>

<p>Tried that "safely Remove" and when stopping a device the Machine still reboots when even SELECTING a device (WIN XP SP 2) - got rid of THAT quick!</p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2005</a>.</p>
    </content>
    <published>2005-09-16T23:43:34Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:10446</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c10446" />
    <title>Comment from Leo on 2005-08-12</title>
    <author>
      <name>Leo</name>
      <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
      <![CDATA[<p>You should be able to enclose the ID in quotes.</p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2005</a>.</p>
    </content>
    <published>2005-08-13T02:26:19Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:10383</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c10383" />
    <title>Comment from Stijn Smets on 2005-08-10</title>
    <author>
      <name>Stijn Smets</name>
      <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
      <![CDATA[<p>Hi,</p>

<p>This works fine, but when you have two MAXTOR ONETOUCH, the ID is almost the same, and when you that the whole ID, it has problems with the & .<br />
Do you know a solution for this ?</p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2005</a>.</p>
    </content>
    <published>2005-08-10T08:33:32Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:10168</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c10168" />
    <title>Comment from Travis on 2005-08-03</title>
    <author>
      <name>Travis</name>
      <uri>http://unspecified</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://unspecified">
      <![CDATA[<p>My unplug or eject hardware icon has disappeared too.  I'm not sure what to do about it or how to fix it?  I've searched google for answers and found some, but none fix the problem.  I don't want to use some other software to unplug or eject hardware.  If anyone has any solutions I would really appreciate the help.  Thanks.</p>

<p>Travis<br />
San Diego, CA.</p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2005</a>.</p>
    </content>
    <published>2005-08-03T18:56:26Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:8508</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c8508" />
    <title>Comment from Aditya Mishra on 2005-05-30</title>
    <author>
      <name>Aditya Mishra</name>
      <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
      <![CDATA[<p>I   downloaded the devcon file but it will not run with the message "missing<br />
export SETUPAPIDLL.COM ..."<br />
Is  any one familiar with message and how to fix this problem.<br />
</p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2005</a>.</p>
    </content>
    <published>2005-05-30T23:06:56Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:7940</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c7940" />
    <title>Comment from RHoST on 2005-05-05</title>
    <author>
      <name>RHoST</name>
      <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
      <![CDATA[<p>Try this utility: <a href="http://safelyremove.com/safelyremovesetup.zip"><a href="http://safelyremove.com/safelyremovesetup.zip">http://safelyremove.com/safelyremovesetup.zip</a></a></p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2005</a>.</p>
    </content>
    <published>2005-05-05T19:33:40Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:7529</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c7529" />
    <title>Comment from Tintin on 2005-04-14</title>
    <author>
      <name>Tintin</name>
      <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
      <![CDATA[<p>You may use "Device Eject" (DevEject.zip) - a software from the german computer magazine c't - Soft-Link 0316208 (http://www.heise.de/ct/03/16/links/208.shtml) - sourcecode is included. It can be used for usb and firewire devices.</p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2005</a>.</p>
    </content>
    <published>2005-04-14T09:20:30Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:7165</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c7165" />
    <title>Comment from Koina Donner on 2005-03-31</title>
    <author>
      <name>Koina Donner</name>
      <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
      <![CDATA[<p>Try 'devcon disable ' instead - this means it will not automatically re-install. However, the device will remain disabled once you plug it back in, so you will also need a file which runs as 'devcon enable ' which you will need to run when re-inserting. Still, 2 double-clicks and two icons can be a much more convenient solution!</p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2005</a>.</p>
    </content>
    <published>2005-03-31T12:40:34Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:1114</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c1114" />
    <title>Comment from dawna_harvey on 2004-11-26</title>
    <author>
      <name>dawna_harvey</name>
      <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
      <![CDATA[<p>i have a windows xp compac computer the icon is in my task bar is it safe to remove it i dont know what to do i had my computer for 3 months help</p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2004</a>.</p>
    </content>
    <published>2004-11-26T15:38:13Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:1113</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c1113" />
    <title>Comment from Andrew on 2004-11-18</title>
    <author>
      <name>Andrew</name>
      <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
      <![CDATA[<p>Great tool. Nice to automate the safe removal of my iPod using a simple batch file. One thing I noticed tho is that when you use the safely remove hardware in the system try and than reattatch the device, XP simply picks up the device and activates it. But when you use the remove command with devcon and than reconnect the device it has to reinstall it as new hardware again. I assume "devcon remove" totally gets rid of all the drivers that were installed with the device. Any ideas on this??</p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2004</a>.</p>
    </content>
    <published>2004-11-19T01:14:02Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:1112</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c1112" />
    <title>Comment from Dave Paquin on 2004-11-16</title>
    <author>
      <name>Dave Paquin</name>
      <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
      <![CDATA[<p>This question is remotely related but not specific to the info above.</p>

<p>My "Safely Remove Hardware" icon (Windows XP)has disappeared and I've tried everything I know of to restore it to the taskbar. In the taskbar Properties I have it flagged as "Always Show" along with other icons, but it does not appear in the taskbar when using any USB device...external CD burner, camera, etc.. Don't know what to do.</p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2004</a>.</p>
    </content>
    <published>2004-11-16T14:10:39Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:1111</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c1111" />
    <title>Comment from Leo on 2004-05-27</title>
    <author>
      <name>Leo</name>
      <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
      <![CDATA[<p>I'm surprised the drive re-detects right away. I'd only expect that on a reboot, or perhaps accompanying some other device install. Not sure how to address that.</p>

<p>One thing you might try to avoid corruption is "sync", a tool that fluishes buffers to disk on NTFS drives - <a href="http://ask-leo.com/d-40527b"><a href="http://ask-leo.com/d-40527b">http://ask-leo.com/d-40527b</a></a></p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2004</a>.</p>
    </content>
    <published>2004-05-28T01:58:39Z</published>
  </entry>

  <entry>
    <id>tag:ask-leo.com,2004://5.141-comment:1110</id>
    <thr:in-reply-to ref="tag:ask-leo.com,2004://5.141" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html"/>
    <link rel="alternate" type="text/html" href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html#c1110" />
    <title>Comment from jason on 2004-05-27</title>
    <author>
      <name>jason</name>
      <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
      <![CDATA[<p>I used devcon to remove a usb external hard drive, but then the device automatically reinstalls.  I'm trying to find a way to just "stop" the device so that the disk doesn't get corrupted when the users just pull its plug.  I'm having a hard time finding a good solution.</p>]]>
      <p>A comment on: <a href="http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html">Is there a way to &quot;Safely Remove Hardware&quot; from a batch file?</a></p>
      <p>
        <a href="http://ask-leo.com">Tech Questions?</a>
        <a href="http://ask-leo.com">Get Answers!</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> ... by Leo Notenboom<br/>
        <a href="http://newsletter.ask-leo.com">Leo's Answers Newsletter</a> -
        <a href="http://ask-leo.com">Ask Leo!</a> in your inbox every week.
      </p>
      <p style="font-size: smaller">All content <a href="http://ask-leo.com/terms.html#copyright">Copyright &copy; 2004</a>.</p>
    </content>
    <published>2004-05-27T16:53:36Z</published>
  </entry>

</feed>
