Something's Wrong With Windows 7 ACL Logic
I'm having the same problem on several machines. And I more and more get the impression that there is something wrong with Windows 7 ACL logic... Similar to the case I've described here , today, on another machine, I'm facing the problem that I can't delete/rename files from the C:\Windows\SysWOW64\Macromed\Flash\ directory. Until yesterday this was no problem at all (I always rename the DLLs to disable Flash until I occasionally need it). Today, Adobe Updater installed a new Flash version into that directory and now I can't rename/delete anything in this directory anymore! Although I should be able to do that, because:
I'm an Administrator on my machine and I'm a member of the Administrators group
I'm the owner of all files in this directory
What I get is a dialog box telling me I "need privilegues to continue with this process":
Microsoft's SysInternal AccessEnum returns following results:
Path Read Write Deny
C:\Windows\SysWOW64\Macromed
Administrators, Users, NT SERVICE\TrustedInstaller
Administrators, NT SERVICE\TrustedInstaller
C:\Windows\SysWOW64\Macromed\Flash\Flash10d_.ocx
Administrators, Users
Administrators
Everyone
C:\Windows\SysWOW64\Macromed\Flash\Flash10e.ocx
Administrators, Users
Administrators
Everyone
C:\Windows\SysWOW64\Macromed\Flash\Flash10e_.ocx
Administrators, Users
Administrators
Everyone
C:\Windows\SysWOW64\Macromed\Flash\FlashUtil10e.exe
Administrators, Users
Administrators
Everyone
I strongly suspect that something is rotten in the state of Denmark... Any ideas or suggestions? Thanks, Axel Dahmen
February 23rd, 2010 10:31pm
I have had exactly the same problem. This worked for me:
Open a command prompt with admin rights, take ownership of the folder you want to delete, and use icacls to grant yourself full rights. In addition, the Macromed folder is silly and has a deny permission for "everyone", so you have to remove that as well (step 6 below does this).
Steps:
Click start
Type cmd
Press ctrl+shift+enter and accept the UAC prompt if necessary.
Your command prompt should start in C:\Windows\System32. If not, STOP, you did not successfully launch the command prompt as administrator.
Type takeown /F C:\Windows\SysWOW64\Macromed /R
Type icacls C:\Windows\SysWOW64\Macromed /T /remove everyone
Type icacls C:\Windows\SysWOW64\Macromed /T /grant %username%:F
Type rd C:\Windows\SysWOW64\Macromed/s/q
Free Windows Admin Tool Kit Click here and download it now
April 6th, 2010 7:17pm