Recover a Formatted Hard Drive Using Command Prompt
Even formatting a hard drive, ofteĀn viewed as erasing eĀverything, isnāt necessarily theĀ end. CMD offers ways to retrieĀve files from formatted driveĀs, though this process is trickier and riskier, so proceĀed cautiously to avoid damaging your system or losing more data.
Step 1: Press Windows Key + S to open the search bar
Step 2: Then, On the Search bar type āCMDā and open as administrator
Step 3: In the CMD window, type this command and hit the Enter button
chkdsk D: /f
Replace the āDā with the actual drive letter
Type āYā to proceed
Step 4: Then Type the letter of the formatted drive like D, C
Step 5: Type this command and hit the Enter button.
attrib -h -r -s /s /d *.*
Here:
- -h: Assigns the Hidden attribute to specified files.
- -r: Denotes the read-only attribute, allowing files to be read but not changed.
- -s: Applies the System attribute to specified files.
- /s: Instructs the system to search the specified path, including subfolders.
- /d: Processes folders within the specified path.
How to Recover Photos using CMD?
The Command Prompt is a command-line interpreter application found in any Windows operating system that provides an internal command-line interface for interacting with the system. It can be used to recover internally deleted files, including photos or videos, even if they were permanently deleted by malware system policy. Despite its directive nature, the Command Prompt can be a powerful tool for resolving file loss.
In this article, Weāll show how to recover deleted files using the command prompt.
Contact Us