I’ve solved the problem!
Here’s how to solve the problem
-
OneDrive may be automatically installed in Windows Update.
-
turn off OneDrive’s sync settings and break the automatic link to your account. Here’s how to do it.
https://support.office.com/en-us/article/turn-off-disable-or-uninstall-onedrive-f32a17ce-3336-40fe-9c38-6efb09f944b0
The reason for this step is that the OneDrive synchronization settings will change the write permissions of the document folder when it is set to On. -
Then turn off the “Ransomware Protection Settings” in WindowsDefender.
-
you now have write permissions for the documents folder back! Scaler2 installed without incident!