• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Techchore

Techchore

PC Security Tips, Software Guide and Reviews

  • HOME
  • TUTORIALS
  • REVIEWS
  • PLDT
  • GLOBE
  • WRITE for US
Home » Tutorials » Data Recovery » How to unhide your folders and files hidden by virus?

How to unhide your folders and files hidden by virus?

June 26, 2017 Updated by: I.C Tiempo 53 Comments

How-to-unhide-files-and-folders-hidden-by-virus

Unhide your folders and files hidden by the virus.

Advertisements

Advertisements


 Now you see your files, now you don’t?

You installed or updated your antivirus, and your files just disappeared. Oh my goodness!
You are now in a panic. It seems that you lost all your precious data, your report (with deadlines), presentations, list of clients and more. You blamed your antivirus and yourself. What can you do?

How to unhide files hidden by virus

First, don’t blame yourself,  it is the right thing you should do. Having an antivirus and keep it updated is wise. It just happen you installed or updated it after the virus is already infecting your files.
Second, don’t blame your antivirus,  it isn’t the reason, why your files are gone. It is the virus that hides it, and replaced it (to make it unnoticed the virus resembles your files). However, your antivirus is smart enough, detects the virus and deleted it.

How to recover your files?

Recommended reading:

Advertisements

Advertisements


  • Shortcut virus Remover Guide
  • RogueKiller Anti-malware
  • SmadAV Antivirus

Now that is your problem, but I will help you find a solution.

Step 1

  • Go to my documents, organize, folder and search options and click the view tab.
  • Under the Hidden files and folders, select the show hidden files, folders and drives.
  • Uncheck the “hide extensions for known files” and “hide protected operating system files”.

Now you can see your hidden files in semi transparent and  as you can see the extensions of your files are now visible .docx, .pptx, .txt and so on.

unhide files hidden by virus
  • Right click your hidden folder (it’s semi transparent) click properties.
  • Under the general tab, uncheck the hidden. In some cases this solves the hidden files problem but most of the time this doesn’t help. If you solved your problem, good for you, if not don’t worry let’s proceed to the next step.

Step 2

Advertisements

Advertisements


Just copy the code below (start from the bottom to completely copy the code) and paste it in notepad, save it as folder.vbs (change the .txt extension into .vbs) . Then paste it inside your HDD, SD card or USB drive from where your files were hidden and run it.
Don’t forget to change the “d:” in cDrive with your current drive letter. 

‘ Reset the file attributes of All the Folder in a specific Drive
‘ Change d: to the drive letter where you want the change will happen.
cDrive = “d:”Set FSO = CreateObject(“Scripting.FileSystemObject”)
ShowSubfolders FSO.GetFolder(cDrive)
WScript.Echo “Done with fix.”Sub ShowSubFolders(Folder)
str = “”
For Each Subfolder in Folder.SubFolders
str = str & ” ” & Subfolder.Path
subFolder.Attributes = 0
ShowSubFolders Subfolder
Next
End Sub

You should see all your folders now. How about my image of precious moments, word documents and other files? Please take note that the above code is created to unhide folders alone the files outside your folders isn’t included. To unhide your files outside your folders let’s jump to the next step.

Step 3

  • Click start, run, type cmd.
  • Type your drive letter with colon Ex. e:, press enter.
  • Then type

How to unhide file hidden by virus (without quotes)

Congratulations, you just retrieve your files and folders. If you have any better idea on how to unhide files and folders hidden by virus. Please share it with is, by commenting below. It will be highly appreciated.

Advertisements

Advertisements

Filed Under: Computer Security, Data Recovery, How to, Tutorials

About I.C Tiempo

Hi! ? Welcome to my tutorial & review site. This blog is an expression of my passion to technology, especially to software, computer & networking troubleshooting and other tech-related concern. You can find me @:

| Facebook | Twitter, )

Reader Interactions

Advertisements

Advertisements

Comments

  1. prashant says

    October 17, 2017 at 6:12 pm

    after given below command on cmd , Its gave access denied error

    D:\sseellff>attrib d:\*.* /d /s -h -r -s
    Access denied – D:\$RECYCLE.BIN\S-1-5-21-947131737-2214416594-2878616749-1000
    Please do the need full help.

    Reply
    • I.C Tiempo says

      October 21, 2017 at 7:17 am

      Hello Prashant, this guide helped many people already but this is not a “one shoe fits all” solution. May be your issue is beyond the scope of this guide. Can you please do a “CHKDSK” on your drive D: before running the command?

      Reply
  2. Tharaka deemantha says

    September 3, 2017 at 5:36 pm

    It’s very easy to recover files according to Your procedure. I think it’s the simplest way. Thank you !!!!

    Reply
    • I.C Tiempo says

      September 5, 2017 at 11:43 am

      Hello Tharaka, Am happy that you found this helpful.

      Reply
  3. Kent basalan says

    June 3, 2017 at 11:52 am

    After searching for like 20 sites where they just copy and paste all solutions but you have the unique procedure and the only working one. Kuddos

    Reply
  4. Simon says

    May 31, 2017 at 9:14 am

    Wow…wow…wow. Ma’ man thanks so much! U just help me recover all my important document, especially my certificates. U r d best. Thank u so much!

    Reply
    • I.C Tiempo says

      May 31, 2017 at 10:42 am

      Hi Simon, You are always welcome! 🙂 Am happy that you are able to unhide all your files with this guide.

      Reply
      • Prateek says

        June 7, 2017 at 2:52 pm

        recycle bin error what is the solution

        Reply
        • I.C Tiempo says

          June 8, 2017 at 9:06 am

          Hi, open command prompt as administrator and type this command rd /s /q C:\$Recycle.bin.

          Reply
« Older Comments

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Recommended Posts

  • Zyxel MG -108 2.5 Gbps Network Switch Review
  • How to access PLDT RP2649/RP2740/RP2804 FULL ADMIN?
  • How to enable ALL PLDT Huawei LAN ports | Home Fibr
  • How to access Huawei PLDT Home Fibr adminpldt account?
  • Why An Antivirus Is No Longer Enough In Today’s Cyber Risks

Advertisements

Keep me Updated

Get the latest Security Tutorials, Software Reviews & Downloads straight to your inbox

Copyright © 2025 · Techchore.com · All Rights Reserved ·

  • Terms of Service
  • About Us
  • Cookies & Privacy Policy
  • Disclosure Policy
  • Contact Us
  • Sitemap