Monday 2 May 2011

"Safely Remove Hardware" Icon




                                             


Many a times when you insert a PenDrive or Portable Hardisk or any Removable Device, you directly remove your device by unplugging it from your system. The problem for many people is that the icon is tiny and clicking it just right to bring up the menu is a pain.




           

Problems occur of NOT safely removing your Removable Device - 
♦ You might loose your DATA
♦ You might loose your Removable Device (may get Corrupted)


There are two methods of creating a "Safely Remove Hardware" icon - 

Method 1 :
♦ Remove check from "Tools --> Folder options --> Hide extension from known file type"
♦ Create a file on DESKTOP...."Right click --> New Text Document"
♦ Rename it as "Safely Remove Hardware" and the extension should be .vbs (not .txt)
♦ Right click on the file and select "Edit" option
♦ Copy the lines mentioned below and save
     set shell=createobject("wscript.shell")
     shell.run "RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll"
♦ Double click the file...
You are done...


Method 2:
♦ Right click on DESKTOP --> New --> Shortcut


            


♦ Then Paste the following in the Location Box
   RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll
♦ Give it a name and you have your Shortcut


Thanks,
Parag

1 comment: