Proper way to solve known problem ".NET exception occurred: System.IO.IOException: Access is denied"

Ilmari Lauhakangas ilmari.lauhakangas at libreoffice.org
Mon Mar 25 07:35:04 UTC 2024


A new developer hit this known problem 
https://wiki.documentfoundation.org/Development/BuildingOnWindows#.NET_exception_occurred:_System.IO.IOException:_Access_is_denied

Permissions for the C:\ProgramData\Microsoft\Crypto were changed as 
evidenced by this screenshot: https://pasteboard.co/cjAj4V1PoRFw.png

Checking in PowerShell with

cd C:\ProgramData\Microsoft\Crypto
Get-Acl | fl

this is the output:

Path   : 
Microsoft.PowerShell.Core\FileSystem::C:\ProgramData\Microsoft\Crypto
Owner  : NT AUTHORITY\SYSTEM
Group  : NT AUTHORITY\SYSTEM
Access : BUILTIN\Users Allow  Modify, Synchronize
          NT AUTHORITY\SYSTEM Allow  FullControl
          BUILTIN\Administrators Allow  FullControl
          BUILTIN\Users Allow  ReadAndExecute, Synchronize
          Everyone Allow  ReadAndExecute, Synchronize
Audit  :
Sddl   : 
O:SYG:SYD:AI(A;OICI;0x1301bf;;;BU)(A;OICIID;FA;;;SY)(A;OICIID;FA;;;BA)(A;OICIID;0x1200a9;;;BU)(A;OICIID;0x1200a9;;;WD)

Yet the error kept appearing. Any ideas?

Ilmari


More information about the LibreOffice mailing list