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 Run and Stop Clean Boot on Windows 11

How to Run and Stop Clean Boot on Windows 11

Clean Boot is a troubleshooting technique used to start Windows with a basic, essential set of drivers and startup programs.

How to clone Windows hard drive without third party software

How to clone Windows hard drive without third party software

The cloning process involves moving data from one storage device to another (in this case, a hard drive) with an exact copy copied from the destination drive.

How to Disable Fast Startup on Windows

How to Disable Fast Startup on Windows

Fast Startup Windows 11 helps your computer boot faster, but it can also be the reason why your Windows computer doesn't shut down completely.

How to enable cloud storage file search on Windows 11

How to enable cloud storage file search on Windows 11

Search on Windows 11 pulls results not only from files and apps on your computer, but also from cloud storage linked to your Microsoft account.

Coding is not as difficult as you think

Coding is not as difficult as you think

Once you learn and actually try it out for yourself, you will find that encryption is incredibly easy to use and incredibly practical for everyday life.

How to Open Control Panel on Windows 11

How to Open Control Panel on Windows 11

Control Panel still plays a vital role in many of the configuration tasks you need on your new operating system. Here are a few different ways you can access Control Panel on Windows 11.

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.