ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel
  • »
  • Technology»
  • Computers & Software»
  • Operating Systems»
  • Windows

How to enable Show (Unhide) Hidden File and Folder option disabled after virus attack

Updated on February 25, 2012

Method 1

If you ever faced such problem when your computer had a virus which ultimately disabled “show hidden file and folders” option, then you don’t need to format or restore your setting. I have a trick which can enable show hidden files and folder to its original state.

There are few viruses that prevent us from viewing the hidden files and folders. If you enable “Show hidden files and folders” option from folder option it doesn’t show hidden files and reverts back to “Do not show hidden files and folders”. If you desperately try command prompt to enable hidden files then it takes long time because you cannot unhide all files at once and vice versa. To enable show hidden files option please follow simple steps.

Note: We are going to edit registry entry, so don’t experiments with this tool, only follow what is mentioned here otherwise your computer may respond strangely and I take no responsibility. I have applied this trick to 3 PCs and was successful on 3 computers which had same problem.

Here is how fix show hidden files and folders option:

  • Click on Start button
  • Click Run
  • Type “regedit” without quotes in the box and press Enter.

Run Prompt

It should open “Registry Editor”, now do following steps:

Go to the following registry key:


You will find tree type navigation on left side pane, click on the + sign on text mention on above path means first click on + sign of “HKEY_LOCAL_MACHINE” then on “SOFTWARE” then on “Microsoft” and so on until you find values provided in below screen shot.

Registry Value Screenshot

Note: If you are a newbie then I would suggest you to back old entries before you make changes. To backup registry simply right click on “SHOWALL” name on left side then click “Export”, give a suitable name and save.

You only need to change or check two registry keys.

  1. “CheckedValue” value should be 1.
  2. “DefaultValue” value should be 2.

Don’t close “Registry Editor” now, go to folder option and try to unhide files and folders. It should work now and you can close registry editor.

Important: According to my Poll result, i can see that many people are unable to solve their problem using my method. I request them to update their anti-virus first then do a system scan. If you find any virus then remove them, and then you should apply my method. If your system contains virus and you apply this method, it won’t work. Because viruses changes this again to hidden mode.

Method 2

If above steps seems to be difficult then there is shortcut method which any one can do. Download a registry patch created by me and double click it, press “Yes” then “OK” and you are done.

 Zip file is password protected.

Password = rajkishor09

If you are unable to follow this method then please drop comments and I will try my best to solve your problem. Thank you for reading me.

Vote for better.

Did this help you?

See results


    0 of 8192 characters used
    Post Comment

    • profile image

      MQuasar69 3 years ago

      where I see the file or folder hidden in windows with the activation key to my original product microsoft office that comes with the new computer?

    • profile image

      Hex 4 years ago

      Thx man, really did helped me by showing my hidden folder.

    • profile image

      Surya 4 years ago

      Thanks brother... it wrkd perfectly.. all the best.......

    • profile image

      abrar 4 years ago

      that was really amazing dude ,ue reg tweak woked like charm...

    • profile image

      pokyo 5 years ago

      same here with lax can you update this pls? already done with system scan, values are correct in showhidden registry but still show hidden in folder options reverts back to hidden.. -_____-

      Please Help Sir.. Thanks.

    • profile image

      Bimal 5 years ago

      Thanks, the note has helped me a lot...!!

    • profile image

      Lax 5 years ago

      my data is not changed at all.. its exactly what is should be.. 1 and 2 respectively.. but the hidden folder still cant be enabled, ehats the problem... is it due to a virus?? thanks !!

    • profile image

      Deepak 5 years ago

      i used you reg patch

      it work

      but somehow the options flipped

      when i select show hiddedn files it doesnot display my files

      but when i select do not show it displaysall my files

      funny strange

    • profile image

      Deepak Soni 5 years ago


    • profile image

      sam 6 years ago

      Thank you very really works

    • profile image

      thnag 6 years ago

      thnx man it work

    • profile image

      king solymon hossain 6 years ago

      thank u so much brother......

    • profile image

      Marlo 6 years ago

      Hey brother, i tried the both of the methods but still i cannot unhide my folders. i just returning to do not show hidden files, folders or drive

    • profile image

      Miku 6 years ago

      It did not solve my problem... tried both of the Methods, but still... i cant unhide the folders.. Please help me.. T______T

    • profile image

      Jaune 6 years ago

      THANK YOU SO MUCH FOR THIS!!! RELIEF that my folders aren't gone forever! THank you!

    • profile image

      Harkeerat 6 years ago

      Bro, dear bro,

      what an awesome reg key.

      Thanx, u solved it in a giffy...


    • profile image

      Genry 6 years ago

      have problem on hidden folders done by a virus "win32.sality",it hides the folders and replaces it with an application that is named the same as the hidden folder, i used the command prompt to show the hidden folders but i cannot show all of the hidden folders , what should i do?

    • profile image

      josh 6 years ago

      thank you sooooo effin much

    • profile image

      Iago18 6 years ago


      Firstly I would like to thank you for the time and effort you have put into this post.

      Unfortunately, I have tried both solutions and neither have worked for me. I know I have/had a virus on the computer. I also believe I have removed it. However, it appears that this virus has not affected the Registry as the values were as they should be.

      If you can offer any light on the problem, I'd be most grateful.

      Kind Regards,


    • profile image

      sabya 6 years ago

      thanks bro

    • profile image

      vks 6 years ago

      i dont have the folder key in the advanced

    • profile image

      Mohammad Ikram Ali 6 years ago

      Thank you brother Raj, i solved the problem by following 2nd method. I want to know this shortcut method will create problem for my PC sometimes or what? I am asking because in first method you have shown long method to follow and later on you have mentioned about the second method. Anyway, thanks a lot for your support.

      Mohammad Ikram Ali

      Indian Institute of Technology Guwahati

      Assam: India

    • profile image

      Pandu 6 years ago

      thans for the info bro but i couldn't resolve my problem I've a prob in which the check box for hidden option in folder properties is disabled but not able to sort out any way 2 fix it

      plz if u could hepl me

    • profile image

      ruth 6 years ago


    • profile image

      thasli 7 years ago

      Not working for me

    • profile image

      melvin 7 years ago

      thanks a lot bro it is useful thanks again and god bless ^_^

    • profile image

      Dilshika 7 years ago

      Thanks brother... it wrkd perfectly.. all the best

    • profile image

      Jayakumar Pochayil 7 years ago

      Thanks a lot dear.Its very useful.

    • profile image

      Naveen 7 years ago

      Thanks very much bro' it was very useful.. it helped a lot

    • profile image

      akhlaque 7 years ago

      thankx this is very usefull

    • profile image

      Conan Hughes 7 years ago

      Nice post. I didn't bother using the Registry though in case I mess something up. I normally show hidden files through the Folder Options method.

      Anyway, I encountered a virus which hid files (and also made them system files) and disabled changing their attributes. I had to resort using the attrib command at the command prompt.

    • profile image

      faisal 7 years ago is best solution

    • profile image

      Dipankar Bhagawati 7 years ago

      Thanx a lot.

      This has been a great problem for me. But now I know to solve. Thanx a lot.

    • profile image

      Mr. Jamir 7 years ago

      Thank you, Rajkishore, for the wonderful....It works perfectly fine for my PC! You resolved my issue without me spending even a single penny!!!

      Thank you & God bless!!

    • save my system profile image

      save my system 8 years ago from United Kingdom - London

      Yes, It work fine with my PC as well. But I observe some risk while performing and you have to be very careful at time. But your solution for the problem is awesome.

    • profile image

      vaibhav 8 years ago

      this is the best solution i got........

    • profile image

      Adnan 8 years ago

      thanks for the tweak... it works.. thanks a lot

    • profile image

      Hassan 8 years ago

      thamk you so much. i down loaded the registry edit patch and worked fine.

    • profile image

      eugene 8 years ago

      it worked, tnx a lot

    • KMST profile image

      KMST 8 years ago from Dhaka, Bangladesh

      Good info. You could copy-paste the reg file into the body as well.

      Can you give some light on the issue when "FOLDER OPTION" is missing under Tools menu of Windows explorer?

    • profile image

      greyzame 8 years ago

      Thank you som uch Sir, you really helped me a lot of this're really the best....tnx for helping people likes us.....Hope you could posed also how to SOLVE this king of problem using "regedit" (services.exe is missing)

    • profile image

      Ravin 8 years ago

      Thanks for this tweak. But what will one do if the registry editor has also been disabled by the virus along with task manager.. It would be so nice if you could provide the fix for these issues too, please..............

    • profile image

      Fadi 8 years ago

      Thanx a lot man

      i have tried many registry solutions and by far this was the best.

    • stormskeep profile image

      stormskeep 8 years ago

      Who needs the help desk. We got computer specialist right here on hubpages!

    • profile image

      Hasnain 8 years ago

      thank you sooooooooooooooooooooooooo much! you have solved my problem! God bless YOU!

    • profile image

      Aurelio 8 years ago

      Very good tools my brother. From Brazil.


    • profile image

      Shaun 8 years ago

      i have back off software for my bar to watch my till i got a doggle for my licence key its usb but when i install the doggle to my pc i cant find the drive its like hide some were wood you think it wood be

    • profile image

      Shravan 8 years ago

      i was clueless about the problem... now im relieved... thank u so much Raj Kishore....

    • profile image

      Bakht Riaz 8 years ago

      Thanks Raj,

      I m from Pakistan,and i appreciat your skills in registry editor programing , please dear brother, if you sent me the day today registry editor keys means tweaks , so this will solve my tribulations.

      Your Brother

      Bakht Riaz Student of M.Sc Computer Science


    This website uses cookies

    As a user in the EEA, your approval is needed on a few things. To provide a better website experience, uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

    For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at: ""

    Show Details
    HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
    LoginThis is necessary to sign in to the HubPages Service.
    Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
    AkismetThis is used to detect comment spam. (Privacy Policy)
    HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
    HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
    Amazon Web ServicesThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized. (Privacy Policy)
    CloudflareThis is used to quickly and efficiently deliver files such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
    Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the or domains, for performance and efficiency reasons. (Privacy Policy)
    Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
    PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
    Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
    Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
    Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
    Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
    Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
    VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
    MavenThis supports the Maven widget and search functionality. (Privacy Policy)
    Google AdSenseThis is an ad network. (Privacy Policy)
    Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
    Index ExchangeThis is an ad network. (Privacy Policy)
    SovrnThis is an ad network. (Privacy Policy)
    Facebook AdsThis is an ad network. (Privacy Policy)
    Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
    AppNexusThis is an ad network. (Privacy Policy)
    OpenxThis is an ad network. (Privacy Policy)
    Rubicon ProjectThis is an ad network. (Privacy Policy)
    TripleLiftThis is an ad network. (Privacy Policy)
    Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
    Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
    Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisements has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
    Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
    ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
    Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)