In one of my previous post, I shared some information about a new viral script virus and the steps to remove the virus manually. One of the behavior of these script viruses is that you will find hidden shortcuts instead of real folders when you plug your USB or SD Card. Sometimes you cannot open those files. Even if you remove the virus from your PC the folders will remain as shortcuts itself. So we will see How to fix this :-)

If you want to read the steps to remove the virus manually see my previous post : New Potential Script Virus Found : Steps to Remove the Virus Manually

Method I

  • Connect the infected USB or SD card to the PC.
  • Open Notepad and Copy the following code and paste it into the opened text file.
@echo off
attrib -h -s -r -a /s /d drive_letter:\*.*
  • Replace the drive_letter in the above code with the drive letter of your infected USB or SD Card (For eg : K, J ,M etc..)
  • Save the text file as shortcutfix.bat ( You can use any file name, but the extension .bat is really important)
  • Now open the shortcutfix.bat file we created and it will run the command prompt.
  • Open your USB/SD Card and you will find all your real folders along will the shortcuts. Now remove the shortcuts and you are done :-)
We have made a video tutorial to illustrate this trick. Watch this :-)



Method II 

  • Open the command prompt ( Start - Accessories - Command prompt)
  • Type attrib -h -s -r -a /s /d drive_letter:\*.*
  • Replace drive_letter in the above command with the drive letter of your infected USB or SD Card 
  • Now Hit Enter and you will find real folders in your USB/ SD Card. Remove the shortcuts and you are done!!
Important : To my knowledge, this tip is compatible only with windows OS. Also you need administrator privilege to run the command or execute the .bat file.

5 comments:

  1. Good morning. Very good article however i it keeps coming back again and again. I have no clue what to do. My stuff just transforms into shortcuts over and over again.

    ReplyDelete
  2. @Jaime Gomes Hai Jaime, You might not have removed the virus before applying this trick

    ReplyDelete
  3. Thanks a ton it work for me

    ReplyDelete
  4. Yea thanks I see it now. I deleted the virus on the folder located inside the C: drive then did the trick. It worked yo.

    ReplyDelete
  5. superb worked very well thanks a lot

    ReplyDelete

Receive All Free Updates Via Facebook.