It is a very annoying that even a nonsense virus attack will corrupt your registry and your hidden folders and files cannot be seen. The main reason why viruses always target this action is that the virus files, mostly .exe are in hidden mode. If the user cannot see the hidden files then it is not easy for them to delete or detect these virus files. Here, I have given a very simple solution for this problem. But in order to solve this problem make sure that your Registry Editor (REGEDIT) is enabled.
Step 1: Go to start and click run OR Press “Start + R”. Type regedit and press enter.
Step 2: Now you will see the Registry Editor. Double click HKEY_LOCAL_MACHINE. Under this you will find SOFTWARE. Again Double Click it. The Path is HKEY_LOCAL_MACHINE\SOFTWARE
Step 3: Under SOFTWARE you will find Microsoft. You follow the path as HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Explorer\Advanced\Folder
Step 4: Again under Folder section you will find Hidden. In Hidden section click on NOHIDDEN. See in the right hand side. You can see two registry values CheckedValue and DefaultValue. Make sure that both of them have the values as 2. Till now you have followed the path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Explorer\Advanced\Folder\Hidden\NOHIDDEN
Step 5: If you find that the values are wrong. For example if the value of CheckedValue is 1 then double click on it. It will show a window where you can edit the value as 2. Press enter.
Step 6: Now under the Hidden Section Go to SHOWALL. See in the right hand side. You can again see two registry values CheckedValue and DefaultValue. Make sure that CheckedValue has the value 1 and DefaultValue has the value 2.
Now go to folder options and set the option as Show hidden files and folders. You can see the hidden files and folders. If you are not able to see the hidden files, you have to repeat the entire process after ending the explorer.exe process from task manager.
After completing the whole process go to run, type explorer and press enter. Now you will have access to your hidden folders and files. If you have any doubts please don’t hesitate.