Restore hidden folders in Windows when infected with virus

In many cases, it is often due to a virus attack that the hidden folders of the system cannot be displayed even when the “ Show hidden files and folders ” option in Folder Options is enabled. Some of the following methods will help to handle this problem.

It is possible that some malware has modified the settings in Windows to disable or prevent users from changing the show/hide files from Folder Options. We will try the following methods:

Restore the system

The most effective way is to restore your system. Restore using your system Restore, so that you can change the system registry. It is not harmful to your files. If you do not want, you can cancel.

Before restoring the system, you need to remember the date when the problem occurred to restore the system to an earlier date. To restore the system, do the following:

- Go to Start / All Programs / Accessories / System Tool / System Restore .

- Select “ Restore my computer to an earlier time ” then select Next .

- You will receive information on the date when the system can be restored. Select a date before your computer crashed and continue to Next .

- The system will restart and you will have to wait a few minutes for the restoration process to complete.

Restore hidden folders in Windows when infected with virus
Select the time to restore the system

Note : If you are using Kaspersky VirusGuard, you must disable the “ Enable self defense ” option in the program’s installation folder. Otherwise the recovery process will not work, and you will receive the message “ Restoration Incomplete ”.

Modify the Registry

- Go to Start / Run and type regedit . Navigate to the path:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\
Advanced\Folder\Hidden\SHOWALL

- Find and delete the entry named CheckedValue and the value is 2 .

Restore hidden folders in Windows when infected with virus
Create DWORD in Registry Editor

Create a new DWORD, by right-clicking on the New / DWORD Value box , name it CheckedValue and enter its value number as 1. Run

the registry code

- Open Notepad and copy the code below into Notepad, then save this Notepad file to your computer with the name folderoption.reg .

Windows Registry Editor Version 5.00 

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\Hidden] 

“Text”= “@shell32.dll,-30499” 

“Type”=“group” 

“Bitmap”=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\00,25,00,5c,00,73,00,79,00,73,00,74,65,00,6d,00,33,00,32,00,5c,00,53,00,\48,00,45,00,4c,00,4c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,2c,00,34,00,00,\00 

“HelpID”=“shell.hlp#51131” 

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\Hidden\NOHIDDEN] 

“RegPath”=“Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced” 

“Text”=“@shell32.dll,-30501” 

“Type”=“radio” 

“CheckedValue”=dword:00000002 

“ValueName”=“Hidden” 

“DefaultValue”=dword:00000002 

“HkeyRoot”=dword:80000001 

“HelpID”=“shell.hlp#51104” 

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\Hidden\SHOWALL] 

“RegPath”=“Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced” 

“Text”=“@shell32.dll,-30500” 

“Type”=“radio” 

“CheckedValue”=dword:00000001 

“ValueName”=“Hidden” 

“DefaultValue”=dword:00000002 

“HkeyRoot”=dword:80000001 

“HelpID”=“shell.hlp#51105” 



- Close Notepad and double-click on this new file. Select Yes . A confirmation message will appear, click OK . Check the display of hidden folders again after performing the above 3 methods.

Sign up and earn $1000 a day ⋙

Leave a Comment

How to Enable Unicode UTF-8 in Windows 11

How to Enable Unicode UTF-8 in Windows 11

Changing the display language in Windows 11 may cause some programs to not display text in the language you want. If this is the case, you should enable Unicode UTF-8 to help Windows display text correctly in the language you want.

Microsoft has stopped supporting Internet Explorer, but you can still use it in Windows 11

Microsoft has stopped supporting Internet Explorer, but you can still use it in Windows 11

Internet Explorer was removed from Windows computers in 2022, replaced by Microsoft Edge. While Edge is far superior, Internet Explorer still comes pre-installed on Windows 11 — and it's incredibly easy to access.

6 Free Windows Tools to Find Out Whats Slowing Down Your Computer

6 Free Windows Tools to Find Out Whats Slowing Down Your Computer

Over the years, people have discovered a collection of free Windows tools that help diagnose what's causing their system to slow down.

5 Ways to Open Sound Settings on Windows PC

5 Ways to Open Sound Settings on Windows PC

When you're having audio problems or want to improve your PC's audio levels, it's time to dive into your Windows sound settings and make some tweaks. But did you know there are shortcuts and tricks to quickly get where you need to go?

Summary of ways to fix laptop webcam errors

Summary of ways to fix laptop webcam errors

Errors related to webcams on laptops will affect users when they want to communicate directly via webcam.

Instructions for activating virtual machines on Windows 11

Instructions for activating virtual machines on Windows 11

Virtual Machine on Windows 11 will support users to run an operating system other than Windows right on your computer.

How to turn off Reserved Storage to free up Windows space

How to turn off Reserved Storage to free up Windows space

In case you need to free up urgent storage space, you can temporarily turn off Reserved Storage Windows, according to the article below.

Windows 11s built-in security tools cant protect you from these threats

Windows 11s built-in security tools cant protect you from these threats

Windows today is much better at protecting your security than it used to be, but Windows Security and its associated tools are still not perfect. You need to be on the lookout for threats that computer security doesn't have a solution for.

Outdated Drivers Are Slowing Down Your Windows PC: What to Do?

Outdated Drivers Are Slowing Down Your Windows PC: What to Do?

Windows PCs can sometimes feel slow, but Task Manager doesn't show anything suspicious. At this stage, most people check for malware or storage issues, but outdated drivers can also cause performance issues.

10 tips to remove programs that cannot be uninstalled

10 tips to remove programs that cannot be uninstalled

A bunch of unwanted software can make your computer slow and cluttered. But cleaning it up isn't always easy. So check out these 10 ways to cleanly uninstall apps, remove old software in batches, uninstall items that can't be uninstalled, and even remove pre-installed Windows programs.

What is the ProgramData folder on Windows?

What is the ProgramData folder on Windows?

In newer versions of Windows, you'll find a folder called ProgramData on your system drive (usually C:\). However, this folder is hidden, so you can only see it if you enable displaying folders and files in File Explorer.

How to open EPUB files on Windows 10 (without Microsoft Edge)

How to open EPUB files on Windows 10 (without Microsoft Edge)

Microsoft's new Chromium-based Edge browser drops support for EPUB eBook files. You'll need a third-party EPUB reader app to view EPUB files on Windows 10. Here are some good free options to choose from.

How to fix missing Language bar on Windows 10

How to fix missing Language bar on Windows 10

Language bar disappeared on Windows 10? Follow these solutions.

How to use Storage Spaces to protect Windows 11 data

How to use Storage Spaces to protect Windows 11 data

Pooling multiple drives with Storage Spaces in Windows 11 allows users to protect files from drive failure while consolidating storage into a single, easy-to-manage virtual drive.

How to prevent Windows from locking automatically

How to prevent Windows from locking automatically

To prevent users from locking their Windows 10 computer, follow the steps below to disable the Lock Screen in Windows 10.