An application which reads C# source code and compiles it to a DLL is throwing and error when trying to save this DLL to disk within the user's Documents folder, e.g "c:\Users\<user>\Documents\myapplication\some-folder\new.DLL", the application throws an exception which is caused by Windows Server 2019 claiming that the "path-does-not-exist".
Let me assure you, the path does exist:
What works sometimes: Add the user to group "Power Users"
What works always: Add the user to group "Administrators"
The latter is (should not be) not an option.
- Windows Server 2019
- The application is run by the user that owns the "Documents" folder
- The application can create, rename, delete, read, write any other files or folders
- The folder in question is exempted from antivirus, defenders, etc.
My educated guess that the application's behaviour can be seen as malicious (which it is not!, it's a game that allows mission scripting in c# and uses that technique for speed) and something tries to protect something else here. But I do not know what and how to stop it.