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

7 Essential Windows File Explorer Shortcuts Every Day

7 Essential Windows File Explorer Shortcuts Every Day

Using Windows File Explorer with keyboard shortcuts on a daily basis will help you perform operations faster than traditional operations.

Follow this checklist before clean installing Windows 11!

Follow this checklist before clean installing Windows 11!

When you're planning a fresh Windows 11 install, a little preparation can save you time and effort later.

How to transfer data between computers

How to transfer data between computers

Many people keep their computers for years. They may update a few components and deal with maintenance issues to keep their computers running at their best. However, there comes a time when there’s nothing you can do to speed up or fix problems with your old computer.

How to reset applications on Windows computers

How to reset applications on Windows computers

If your Settings or Microsoft Store app isn't working properly, is crashing, or won't open, you can reset the app.

How to Start Scheduled Tasks with Delay on Windows

How to Start Scheduled Tasks with Delay on Windows

This feature is extremely useful for delaying unnecessary tasks, ensuring network connectivity before a task starts, running tasks in a specific order, scheduling updates, or performing hardware maintenance.

What is VPN? Advantages and disadvantages of VPN virtual private network

What is VPN? Advantages and disadvantages of VPN virtual private network

What is VPN, what are the advantages and disadvantages of VPN? Let's discuss with WebTech360 the definition of VPN, how to apply this model and system in work.

How to change currency format in Windows 11

How to change currency format in Windows 11

This guide will show you how to change the currency format used for your account in Windows 10 and Windows 11.

Instructions for installing .NET Framework 3.5 on Windows 10

Instructions for installing .NET Framework 3.5 on Windows 10

This guide will show you different ways to install .NET Framework 3.5 online and offline in Windows 10.

How to Install Windows 11 on an Unsupported PC

How to Install Windows 11 on an Unsupported PC

If your PC doesn't meet Microsoft's hardware requirements, don't give up. It's possible to install Windows 11 on unsupported PCs.

5 Best VPN Software Today With Free Trials and Refund Policies

5 Best VPN Software Today With Free Trials and Refund Policies

Signing up for a VPN can be a waste of money if you don’t know how the product works. That’s why you should use a free VPN trial to help you make the right decision.

How powerline adapters change your home internet

How powerline adapters change your home internet

Is the internet speed on your home Wi-Fi network not meeting your expectations? There's a relatively cheap and simple solution to this problem: a Powerline adapter.

How to fix Settings app not working on Windows 10

How to fix Settings app not working on Windows 10

On Windows 10, users can access the Settings app via the Start menu, which is a more accessible version of the Control Panel. However, many users report that the app is not working due to a bug that causes it to not work when clicked (or redirects users to the Windows Store). Here are some fixes for this problem.

How to Fix Your PC Ran Into a Problem and Needs to Restart

How to Fix Your PC Ran Into a Problem and Needs to Restart

Your PC ran into a problem and needs to restart and won't start? Here's how to fix it!

8 Ways to Open Advanced Startup Options on Windows 10

8 Ways to Open Advanced Startup Options on Windows 10

By navigating to Advanced Startup Options, you can reset Windows 10, restore Windows 10, restore Windows 10 from an image file you created earlier, fix startup errors, open Command Prompt to perform various options, open UEFI settings, change Startup settings....

If a VPN has these warning signs, stay away from it!

If a VPN has these warning signs, stay away from it!

Over time, you'll learn to quickly spot the warning signs of a VPN. If your VPN shows any of these signs, quickly abandon it before installing it.