When attempting to install or upgrade VMware Tools on a Windows guest operating system, the installation fails. Reviewing the %TEMP%\vminst.log or C:\Windows\Temp\vminst.log reveals an error similar to:
ScrubSecureDirectoryWorker ERROR: Failed to open directory entry for C:\ProgramData\VMware\VMware Tools\en-US (80070005) Access denied
The installation may roll back and display a generic Setup failed message in the user interface.
This issue occurs due to a permission conflict or corruption within the C:\ProgramData\VMware\VMware Tools\ directory. Specifically, the installer is unable to access, modify, or overwrite the en-US subdirectory, preventing the setup from completing the "scrubbing" or file copying process.
To resolve this issue, the problematic directory must be manually removed or renamed so the installer can recreate it with the correct permissions.