Pages

Saturday, January 2, 2010

Access Denied When Deleting Flash Plugin

"When you try to delete flash plugin (flash6.ocx, flash10c.ocx) from %windir%\system32\Macromed\Flash folder, you get "permission denied" even if you're the owner of the directory. The reason is that Flash plugin installer sets DENY WRITE permissions in NTFS ACL for this file, and DENY permissions rules always override ALLOW rules. So when you try to delete even you're the owner of the files, you're denied to do that :)

To fix this and delete the file, first run regsvr32 /u <path_to_file> command to unregister the file (if it's registered in the system). Then you have to open file properties, go to "Security" tab, click "Advanced" button and remove two "Deny" entries there. Then you won't have any problems deleting the file."


http://sharovatov.wordpress.com/2009/11/

or

http://trukhanov.wordpress.com/2009/10/15/adobe-flash-files-delition/ (more details if you read Russian)


1 comment: