Table of Content
    Photo Recovery

    How to Remove Virus from SD card without Formatting?

    Table of Content

      Summary: This Tutorial explains how to remove virus from SD card without formatting. It discusses both manual and software approaches. It also tells how to detect a virus, how SD Cards are attacked by a virus, and what happens when an SD Card gets infected by a virus. Read on to learn more.

      Picture this. You connect the SD Card with your brother’s laptop to transfer some photos.  You performed the transfer process as well as removal process properly to ensure that there is no issue. On the contrary, when you connect it to your Desktop, it produces an error message indicating that the SD Card has become corrupt. To confirm, you tried to access the same on your mobile, but you still cannot open it. To capture the actual problem, you run the anti-virus software and find that it is infected by a virus. You thought of formatting the SD Card but realize that it will remove all the memories.

      Worrying what to do NEXT? Wondering how to recover photos from the infected SD Card?

      For all those who are looking forward to an alternative for fixing a virus-infected SD card without formatting, this Blog provides a comprehensive solution. Prior to looking into the recovery aspect, let us have a quick overview, what happens when the SD Card gets infected by a virus and how to detect the virus in the SD Card?

      How Are Memory Cards Attacked by a Virus?

      • When connected to a Virus Infected System
      • By transferring virus infected files to the memory card
      • Exploring malicious website while using the memory card

      What happens when SD Cards get infected by a virus?

      The following symptoms occur when a virus infects the SD card.

        • Files may turn into hidden state
        • Files may get auto removed or erased without a warning
        • Creates probability of private information stolen
        • SD Card may turn inaccessible
        • Can infect the corresponding connected devices
        • Slow and sluggish performance
        • Missing of files from the SD Card
        • When you are unable to read/write anything on your device
        • Error generation—Cannot read from the device, while accessing the files
        • When you fail to copy the data
        • When you see messages indicating memory card is corrupt or memory card error while trying to delete unwanted files
        • When you see the error code while accessing it
      • When you see a prompt message to format the device
      • When you cannot view data of your device even after detection

      First Aid to Remove Virus from SD Card

      • Handy Manual Fix —CMD

      An easy and free recovery solution to fix virus infected memory card.

      Steps are as follows:

      • Plug in virus-infected SD card to the system
      • Go to Start menu -> type cmd -> Enter
      • Right-click exe -> type “attrib -h -r -s /s /d drive letter:\*.*”


      Now, Windows will repair virus infected SD Card. On successful completion, check the state of the card.

      This method usually works in in minor cases, but in major case scenarios, it fails! You can also refer to the manual tricks mentioned in this post SD Card Recovery.

      Here, the most steadfast solution would be to use a third-party recovery tool!

      The third party recovery tool will, however, get back your valuable data but it may not remove the virus from SD card.

      Software to Recover Photos from Virus Infected SD card

      Under all scenarios like virus infection, when you are unable to manage SD Card using CMD, third-party photo recovery tool works wonders. The reason being, it is software-oriented and free from manual intervention thereby, have lesser risks associated with it.

      A recommended, tried, tested, and approved solution is Stellar Photo Recovery Software. This professional recovery solution is specially intended to regain lost photos as well as other multimedia files. This dedicated solution works efficiently in case of corruption, accidental deletion, virus problems, file/directory deletion, software malfunction, or formatting.

      How to Recover Files from Virus Infected SD cards without formatting?

      Free Download Stellar Photo Recovery For Windows Free Download Stellar Photo Recovery For Mac

      1. Launch Stellar Photo Recovery Software.Stellar Photo Recovery Standard
      2.  Select the location from where you want to recover. Click Scan to start the scanning process
      3. A dialog box of ‘Scanning Completed Successfully!’ displays the scan results – the number of files found and size of the data. In the left pane of the main window, all the recovered data is listed. You can preview them in the right pane.
        Note: If you do not see the required photos in the list, opt for Deep Scan option at the bottom.
      4. Click Recover. You can also choose to recover only the selective files – select files that you need, right click, and click Recover.Stellar Photo Preview Screen
      5. In the dialog box, specify the location to save the image files. Click Save. All the files get saved at the specified location.Stellar Photo Save screen

      The Recovery process is Complete!

      The Bottom line

      Losing your memorable or most cherished moments is not less than a nightmare. This situation can arise in anyone’s life and at any point of the time.  It can be due to hardware failure, software malfunction, virus attack, and more!

      Here, the major concern is how to remove the virus and recover data from it. You can certainly go for the manual approaches but they do not work in all scenarios thereby, choosing a software aided solution becomes a more viable option.

      Was this article helpful?

      No NO

      About The Author

      Sumona Chatterjee linkdin

      Sumona is a tech blogger, avid photographer, & technogeek with vast experience in writing about media file recovery tips and tutorials. She has over 10 years of experience in media file recovery/media file repair technology. She is passionate about Photography, Creative Designing, Music, and Exploring lesser-known destinations.


        1. Hi Balram,
          I would recommend please go through the methods mentioned in the blog to remove virus from SD card.

        1. Hi,
          To protect and repair an SD card. Connect the SD card to a computer and use the built-in error-checking tools of the operating system (such as Windows’ CHKDSK or macOS’s Disk Utility) to scan for and repair any file system errors on the card. Always keep Stellar Photo Recovery software handy to recover your lost data in case of any mishaps.

          Kind Regards,
          Team Stellar

      1. My 32 GB just suddenly turned into 2 GB I don’t really know the reason it just shows abcd.iso I don’t know if it is a virus or not but I tried to format it didn’t work. shows me only abcd.iso I really need ur help. I am facing the same problem as u my 32 GB memory card suddenly became 1.8GB

        1. Hi Kaka,
          Sometimes, a simple format can fix the issue. Try formatting the card using Disk Management and see if it fixes the problem.

      Leave a comment

      Your email address will not be published. Required fields are marked *

      Image Captcha
      Refresh Image Captcha

      Enter Captcha Here :

      Related Posts


      Why Choose Stellar?

      • 0M+


      • 0+

        Years of Excellence

      • 0+

        R&D Engineers

      • 0+


      • 0+


      • 0+

        Awards Received