How To Recover Hidden Files From Usb Using Cmd


CMD Icon

Have you ever encountered a situation where your important files in the USB drive suddenly disappear or become hidden? This can be quite frustrating, especially if you don't know how to recover those files. Fortunately, there is a way to recover hidden files from USB using Command Prompt (CMD), a built-in tool in Windows operating system.

What Causes USB Files to Become Hidden?

Before we learn how to recover hidden files from USB using CMD, it's important to understand why files in the USB drive become hidden in the first place. There are several reasons why this could happen:

  • A virus or malware infection can cause files to become hidden.
  • You accidentally changed the file attributes to "hidden".
  • A system error or glitch caused the files to become hidden.

Step-by-Step Guide to Recover Hidden Files from USB Using CMD

Here's how to recover hidden files from USB using CMD:

  1. Connect your USB drive to your computer.
  2. Open Command Prompt by pressing the Windows key + R on your keyboard, type "cmd" and press Enter.
  3. Type "attrib -h -r -s /s /d *.*" (without the quotes) and press Enter. This command will unhide all files in the USB drive.
  4. Wait for the command to finish running. This may take a few minutes, depending on how many files are in the USB drive.
  5. Check if the hidden files have been recovered. Open the USB drive and see if the files are visible. If the files are still hidden, try restarting your computer and check again.
Command Prompt

Tips to Prevent Files from Becoming Hidden in USB

Here are some tips to prevent your files from becoming hidden in USB:

  • Install a good antivirus software and keep it updated.
  • Avoid plugging your USB drive into public computers or untrusted devices.
  • Always safely eject your USB drive from the computer.
  • Regularly backup your important files to prevent data loss.

Conclusion

Recovering hidden files from USB using CMD is a simple and straightforward process. By following the steps outlined above, you can easily unhide your files and access them again. Remember to take precautions to prevent your files from becoming hidden in the first place, and always keep a backup of your important data.


0 Post a Comment

Posting Komentar