O365 Excel/Word Protected View Broken

by Luxx
~1 minute

Excel complaining "The file is corrupt and cannot be opened" the issue is that some file permissions are broken.. Fix is

icacls "C:\Windows\SysWOW64\ msvcp140.dll " /grant *S-1-15-2-1:(OI)(CI)RX

icacls "C:\Windows\SysWOW64\msvcp140.dll" /grant *S-1-15-2-1:(OI)(CI)RX

Source: https://answers.microsoft.com/en-us/msoffice/forum/all/office-2016-any-open-in-protected-mode-fails-with/050c6c55-13ca-4536-b471-2520dab3631f?auth=1