Turn off Controlled Folder Access:
- Select Start > Settings .
- Choose Update & security > Windows Defender.
- Select Open Windows Defender Security Center.
- Select Virus & threat protection, and then choose Virus & threat protection settings.
- Under Controlled folder access, turn it on or off.