Thursday, April 28, 2011

Removing autorun.inf folder from your Pendrive

So I found out that I had this autorun.inf folder in my Pendrive, which occasionally caused problems on my colleagues' PCs (it's created by viruses / virii - SO KEEP YOUR ANTI-VIRUS UP TO DATE!).

Being a PC geek, I had to do something about it. So I Googled around and found the following steps:
  1. Start -> Run
  2. "cmd"
  3. In the Command Prompt window: "F:" (assuming "F" is your Pendrive... drive)
  4. "attrib -r -s -h autorun.inf"
  5. "ren \\.\f:\autorun.inf\con. dummy"
  6. "ren \\.\f:\autorun.inf\nul.protected dummy1"
  7. rd autorun.inf /s /q
That'll do it. You'll have to type stuff into the Command Prompt exactly as quoted above, otherwise it'll give you an error. Here's a screenshot of me puttering about:
(you weren't expecting a picture of me typing into the keyboard, were you?!?)

If you're not comfortable with using the Command Prompt, here's what you do:
  1. Copy all the important files off your PenDrive
  2. Format it
  3. Copy the files back in
  4. Update your damn anti-virus

Wahey.

Labels:

4 Comments:

Anonymous Anonymous said...

Damn worked!!

6:17 am  
Blogger Tchayvaz said...

IT worked! awsomely simple! thanks!

6:48 am  
Anonymous Anonymous said...

REALY THANK YOU BRO !

11:03 am  
Blogger Unknown said...

that virus. SUCKS me! thanks a lot :D

7:55 pm  

Post a Comment

<< Home