So i've got a 4GB USB flash drive which has Autorun.inf/svchost.exe files on which are being detected as viruses but i cannot get rid of them and need advice. I tried a quick format and then a normal format in windows but no luck there as they just keep coming back. I then tried a few method i read online which used the windows command prompt but that didn't work either as the files came back. How do i get rid of these files from my flash drive so that that they don't come back because i've tried several methods and none work. Cheers
Erm surely if you format the drive then they should be gone. Seems to me like the infected files are on your PC and are just duplicating to the flash drive each time you format it. Thoroughly disinfect your PC first. Then format the drive.
My best suggestion would be to google the Virus name and check how to get rid of it. I had 2 USB pendrives with virus in the last 6 months, and each one had a different virus that need a different way of getting the drive cleaned. One of those even used two command line programs to getting rid of it. Anyway, after cleaning it, make sure you lock the autorun.inf on the drive (so it won't get infected - and even if it does, it won't run - easier to delete) and disable autorun in XP/Vista/7.
Is it one of those flash drives that has its own built in software (e.g. Sandisk Cruzer)? If it is, it could be the "special" partition which is infected or it is continually reinstalling the files, which just happen to be picked up as viruses for some reason. You might need to get special removal software from the drive's manufacturer to get rid of any hidden software, as Windows generally either doesn't see the software/partition or it is locked out.
I'd boot into another OS and nuke partitions on the sucker. I'd also run an Antivirus on my whole machine because it would seem that its not the flash drive that still has the infection. Actually that is a lie, if it where me I'd stop trusting my current install, backup my documents and blast the OS. But thats just me.
The best way to PREVENT viruses in pendrives is to create a folder in the root of the drive called AUTORUN.INF. That way the autorun file will drop in there and will not be able to execute.
Download and install Avira. Removed this when I had my thumb drive infected. It will comeback even after a format as it copies itself on to the PC and writes itself to any thumbdrive you connect it to. This is how it spreads.
It's not got a hidden partiton on it as I always get rid of those straight after I get drives with them on it. Did a scan of the C: drive with Avast which is the main AV program used, also scanned with malwarebytes and it seems clean so I think the virus may be on one of the external drives which I'll scan next.
yeh had the same problem at work; all machines seemed to have the same and also when you attempted to open c: it tries to open as a file?? formatted usb stick; fine formatted pc; fine plugged in an external hdd and then all 3 got it again; if you have this virus it looks like you need to format every machine you have and virus check the files you want to keep.
Maybe you're connecting the flash drive to other computers with that virus on it, long ago when I used to go often to internet cafes I found that adding two dummy files named autorun.inf and svchost.exe (both empty) and flagging them as hidden and system files they couldn't be replaced. But as I said, that was many years ago, I don't know if these viruses are able to overwrite those files now.
I think the problem has gone now?? The USB drives have been formatted several times by now and when put in the original offending computer i no longer get any virus warning coming up plus i've re-instyalled windows 7 on my machine so if it was that then its gone.