Removing virus from USB-stick

By lopdog · 4 replies
Apr 28, 2008
  1. My U3 USB-stick has been infected by a virus from an internet-café. I tried to remove it on my home-computer (using safe-mode with command line to avoid infection, I don´t trust my antivirus on this.)
    I typed "dir /ah" and found two files, autorun.inf and hidwg20.exe. Then I typed "attrib -s -a -h *.*" and "del autorun.inf"
    This has worked before with other virus, but now I got a message saying "access denied". Is it because the file is in use (virus already activated on my computer) or are there any other commands to get access to the file. When I did the same thing with the .exe file, the message said "File no found".

    Can anyone help me with this?
  2. Rage_3K_Moiz

    Rage_3K_Moiz Sith Lord Posts: 5,443   +38

    Run this program and see if it helps. Otherwise, I'd recommend formatting the stick.
  3. lopdog

    lopdog TS Maniac Topic Starter Posts: 295

    Thanks. The problem is that I´m afraid to plug in the stick because the virus could "autorun" and install itself on my computer. Would it be enough to keep the Shift-key pressed while inserting the stick to avoid the Autorun - function?
  4. Rage_3K_Moiz

    Rage_3K_Moiz Sith Lord Posts: 5,443   +38

    If you have any competent antivirus or antispyware programs, they'd probably catch it. Why don't you try running the app I gave you in Safe Mode? Otherwise, if you want to play it safe, just format it from the Command Prompt.
  5. lopdog

    lopdog TS Maniac Topic Starter Posts: 295

    I got rid of it typing "attrib -r *.*" in safemode. After that I was able to delete the files. But thanks for the program. Just in case, will it remove any virus from my USB stick? What kind of program is it?
Topic Status:
Not open for further replies.

Similar Topics

Add your comment to this article

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...