The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,860 other subscribers

Figuring out the cause of “Controlled Folder Access” error messages.

Posted by jpluimers on 2023/09/13

Still need to investigate why every now and then Windows Remote Desktop causes this error:

C:\Windows\System32\mstsc.exe has been blocked from modifying %userprofile%\Documents\ by Controlled Folder Access.

Related links about EventID numbers 1123, 1124 and 5007:

This is the place in the Settings where you can enable the Controlled Folder Access feature:

Windows 10 Settings: Controled Folder Access

Windows 10 Settings: Controled Folder Access

In my case it was the Remote Desktop Connection client (RDP client also known as mstsc.exe) with this error message:

mstsc.exe cannot save Defaults.rdp

mstsc.exe cannot save Defaults.rdp

[Window Title]
Remote Desktop Connection

[Content]
An error occurred while saving to file C:\Users\jeroenp\Documents\Default.rdp

[OK]

This makes sense as %USERPROFILE%\Documents is protected.

–jeroen

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.