Recover a Formatted Hard Drive Using Command Prompt
Even formatting a hard drive, often viewed as erasing everything, isn’t necessarily the end. CMD offers ways to retrieve files from formatted drives, though this process is trickier and riskier, so proceed 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.