Fun.Think.Wonder - Mabzicle

[Solved] HOW TO: Restore Hidden Folder / Files Using CMD?

To show and restore your hidden files or folders in your USB Drive/PenDrive, you need to use a simple way - by using only CMD.

To show and restore your hidden files or folders in your USB Drive/PenDrive, you need to use an easy way - by using the only built-in tool - CMD or command prompt.

Today, there are lots of viruses and worms that affect many computers globally. Mostly viruses and worm are annoying especially when the worm/virus hides folders, and sometimes it creates a copy of an executable file with the same folder name which tends to click it without knowing it is already a virus. Phew!

Restore Hidden Folders and Files Using CMD
Plugging to Another PC Does not Guarantee Protection

Average users sometimes did not notice that they have been infected primarily on their flash disks. Well, the flash drive is a common way to save, transfer, and backup important files like documents, photos, and installers.

Just plugging your USB flash drive to another PC does not guarantee your security and not even protect your disk to a particular virus and worms unless the owner of that system that you inserted your disks were highly techie-geeky ones or if, not they have installed better Anti-Virus.

So be careful. Thus,
  • Your PC does not 100% secured and protected against viruses, malware, and worms.
  • Your Friend's PC does not guarantee safe too.
    TIP: Click on the image screenshots to view larger

    Virus Hide Folders( sometimes creates a shortcut and executable file )

    The most common virus experienced by the user is the virus that hides your folders and then makes copies that have similar folder icon and folder name but only differ on file type because it is created an executable one. (.exe) And sometimes it creates a  shortcut file too - that you did not even know about it. Thus, you tend to open it without knowing it is actually a virus and can potentially expose to danger.

    To simplify, Viruses and Worms have the ability to:
    • Hide the folder and create executable one
    • Hide Create Shortcut file
    How did I get these Viruses and Worms?

    Actually, a virus is dependent on user interaction. A virus will not run and execute if it is not triggered or led by the user. It is the sole responsibility of the user.

    Moreover, you can get a virus in those infected PC workstations, or if not you can get it on that software that has additional add-ons that act like innocent but actually virus(more likely with Trojans).

    • Choose and install Trusted software (even if you trust sometimes it can be exploited by some hackers - so ideally the clean files are not necessarily safe because it could patch up virus code on it)
    • Install better Anti-Virus ( I recommend Nod32 works best ^_^  but it makes your PC slows)
    Things might be Useful

    When you have this infected USB FLASH Drive, this drive surely has an autorun.inf filed and attached a particular code of virus on it. So once you inserted your infected Flash Disk, the autorun.inf will be run first. Just pray that it has no code for the virus ^_^.

    Hence, to prevent it some executing to infect the next victim.
    1. Disable your AUTORUN Feature.
    2. Install AUTORUN blocker software like USB Disk Security ( but if you already have Cool Antivirus it is not necessary to install this kind of USB protection software ) 
    How to Restore Hidden Files Using CMD?  [ Solved ]

    When you have infected flash disk, you will notice something strange, your files and folders were hidden but then you can manually set it to unhidden if you use special built-in tools like CMD and Attrib command.

    To show the Hidden Files/Folders

    1. Click the Tools in the menu
    2. Then Choose Folder Options...

    Folder options
    3. In the View Tab, and under the Hidden and Folders click the radio button to show hidden files, folders, and drives.
    • Uncheck hide empty drive
    • Uncheck hide extension
    • Uncheck protected OS files

    View Settings
    3. Now, you can see all the hidden files and folders.
    Uncheck Hide Extension for known File types
    Yes, it can look like this below image. Sometimes, you exert effort and time to unhide folders and archives that are thousands of it. It is though frustrated and tedious work. But don't worry, the utility for that in Windows.
    Hidden and Normal folders demo

    To Restore Hidden Files and Folders

    1. Click Start -> type CMD [ Display the CMD window ] or Goto Start -> all programs -> accessories -> command prompt
    2. To view the hidden file, go to your drive first, type letter then a colon (e.g., D: )
    For me, my drive is letter J so -> j:
    it shows the hidden folder
    To restore it to the fundamental attribute
    3. use the attrib command
    > attrib -s -h -a -r /d /s

    attrib tool

    Attribute Command Parameters
    • -  means clear an attribute
    • H means hidden file attribute
    • S means system file attribute
    • A means archive file attribute
    • R means read-only file attribute
    • /S means process matching the current folder and all subfolders
    • /D means process folders
    Here're the complete details on ATTRIB
    attrib options
    With this command, it will restore your hidden files and folders. If it is still not showing your data, better clean your flash disk on another PC ( i recommend those PCs that were secured and safe ).

    Tips on how to be safe and secure
    • Use reliable Antivirus 
    • Never install unknown software 
    • Disable your Autorun if necessary
    • Update your system(Windows Update)
    Updated: May 09, 2020



    Android,2,Art,1,Artist,1,bandwidth,1,Battle Pass,1,Blogging,3,BPO,1,Business,3,Call Center,1,Camera,1,CISCO,1,COMELEC,1,Connectivity,2,CSC,11,CSC Exams,3,Dating,1,Design,3,DITO,1,DIY,1,Dota,1,Dota 2,5,EaseUS,1,Epic Games,3,explained,1,Facebook,6,Facebook Application,1,Featured,3,Featured Post,1,Flagship Phone,1,food,2,Forms,2,Freelance,1,Fruit,1,Gadget,2,Game,17,GCASH,1,Giveaway,3,Globe,1,Globe Telecom,5,Google,2,Google Doodle,1,Health,11,History,1,How TO,24,Huawei,1,Infographic,1,ISP,1,Job Hiring,4,Job Search,1,laws,1,Life Hacks,1,Life Style,1,Lifestyle,7,Logo,1,MC,1,Mid-Range,1,Multimedia,1,Napolcom,1,Networking,1,News,7,Online Job,2,Paper,1,PC Game,1,People,1,PH Government,7,Poster,1,PRC,1,Press Release,1,Productivity,1,Promos,2,Redmi,2,Relationship,1,Research,3,Review,2,Reviewer,2,Science,9,Security,1,SIM,1,Smart,1,Smartphone,4,Software,3,Specs,4,Sponsored,2,Standalone,1,Steam,5,Technology,11,Tekken,1,Tip,9,Tips,2,TM,1,Tool,1,Trivia,1,Tutorial,10,Valve,1,ViVO,1,Warcraft,1,Web,2,Windows,2,Winner,1,Xiaomi,1,Youtube,1,
    Mabzicle: [Solved] HOW TO: Restore Hidden Folder / Files Using CMD?
    [Solved] HOW TO: Restore Hidden Folder / Files Using CMD?
    To show and restore your hidden files or folders in your USB Drive/PenDrive, you need to use a simple way - by using only CMD.
    Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy Table of Content