When trying to install a program, you get this error:
ERROR_INVALID_ACL
Error: 1336 (0x538)
The access control list (ACL) structure is invalid
Error 1336 is caused by a corrupted ACL structure on part of your file system. An ACL, or Access Control List are responsible for containing lists of who has access to a folder structure or file.
To fix the error 1336, open a command prompt as administrator, navigate to the directory with the invalid ACL (using the cd command) and run this command:
icacls * /T /Q /C /RESET
If you still get error 1336, take ownership of the file or directory first, by using the takeown /R /F * command.
You should then be able to read and write to the directory structure / file without getting the ERROR_INVALID_ACL error.