Sunday, April 12, 2009

Restore Safely Remove Hardware iCon in WindowsXP

 

Quite often on my windows XP I loose icon to remove my hardware like USB hard disk or USB key.  Somewhere I found below lines of VBS (Visual Basic Script) to restore your Icon.

 

set shell=createobject("wscript.shell")
shell.run "RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll"

Put above lines in a file and save the file with extension .vbs; when you double click it would automatically run the script contents.

 

Arun

No comments: