Monday, February 16, 2009

How to Solve Access denied Problem when opening flash disc or any Hard Drive



You may have tried to insert a flash disc or your memory stick on your Windows and you couldn't open it by double click or the regular way explorer way.

Because Windows allows autorun feature when the USB flash disc is inserted alot of viruses get them self in there and try to execute themselves. When they fail, you get this annoying message.
There is a file Autorun.inf (hidden) in that flash that causes this behavior..
Simply delete that file and remove your flash and plug it again and your done.

This is how to do it
Assuming that your Flash Drive Letter is "E"
  • go to start->run
  • type cmd
  • press enter
  • type the following in the black window
  • attrib E:\autorun.inf -s -a -h -r
  • press enter
  • You should receive nothing
  • then type this
  • del E:\autorun.inf -s -a -h -r
  • press enter
  • You should receive nothing
  • Remove your flash and plug it again