When using Windows Defender as a computer protection program, you need to enable the important Ransomware Protection feature to protect your computer against ransomware.
What is Ransomware?
Ransomware is used to refer to malicious software designed to block access to your system by a hacker until a sum is paid to restore your access to the system. Malware will encrypt your data and demand money if it wants to decrypt your data.
Windows Defender has a built-in security feature called Ransomware Protection to protect your data from such threats. While this is a handy feature, it is not enabled by default in Windows Defender. To protect your computer and important data from malware attacks, you need to enable this feature.
Step 1: You open the Start / Search menu > enter Windows Security to search and open this app.
Step 2: In the Windows Security window, click on the item Virus & threat protection in the menu bar on the left side.
Step 3: Your search Ransomware protection in the right view and click Manage ransomware protection.
Step 4: You turn on Controlled folder access.
Step 5: When optional Controlled folder access enabled, you click Protected folders to select the folders you want to protect.
Step 6: You press Add a protected folder to select important folders to protect > press Select Folder.
Continue like this to add another folder, if you want to remove it from the protected list, click on that folder > Remove.
From now on, when programs and applications try to access your protected folders, they will be monitored and prevented by Windows Defender.