Hi, I know it's a bit late but for me the problem seems to related to RSA policy that configure "Enable controlled Folder Access".
You can try to disable it in local policy to see if it works for you.
Follow these steps:
- Open Local group policy editor by open via "gpedit.msc" command.
- Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Microsoft Defender Exploit Guard > Controlled Folder Access > Configure Controlled Folder access
Hope this help