Link to home
Start Free TrialLog in
Avatar of johnnymac08
johnnymac08

asked on

Unable to delete folder from Desktop containing Flash9f.ocx & FlashUtil9f.exe

I restored a users Acronis Backup to another computer's desktop in order to retrieve a missing file.
After the file was recovered, I simply tried to delete what I restored.  I was able to delete everything except for these 2 files: Flash9f.ocx & FlashUtil9f.exe

Here is what I have tried thus far:
Installing and Uninstalling Flash
Changed Permissions- attempt to remove read only attribute
Delete using the command line:  del /s/f/q myfolder\* (access denied)
Detete using: GiPo@MoveOnBoot utility (remove at restart)
Delete using: killbox.exe (remove at restart) (end explorer shell while killing file)

Nothing works- Any ideas experts? Thanks.
Avatar of slam69
slam69
Flag of United Kingdom of Great Britain and Northern Ireland image

use windows cleanup utility to remove the exe and then try redeleting
Avatar of johnnymac08
johnnymac08

ASKER

Windows Cleanup Utility Does not list that as an option to uninstall.  Ay other ideas?  Thanks.
Try taking ownership of the folder first then delete it.
Taking ownership does not work.  Have already tried that, and just tried it again to no avail.  I get the same error message: Cannot Delete Flash 9f.ocx: access is denied  Make sure the disk is not full or write protected and that the file is not currently in use.

Keep the ideas coming!
start your machine in safe mode and delete it its obviously attaced to a service
IceSword did not work
Safe Mode did not work

Other ideas?  Thanks.

ASKER CERTIFIED SOLUTION
Avatar of leegin
leegin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I've tried using Knoppix without luck.  Will try with BartPE
I have the same problem.  
I made my primary disk a data disk and wanted to remove the Windows XP OS by deleting the Windows folder on what is now a data disk.  The only files that I cannot delete are Flash9f.ocx and FlashUtil9f.exe.

These files cannot be in use since I am running a clean installation from a different drive and having no problems.

Did the BartPE solution work ?
SUCCESS ! ! !

But not as easy as you thought.  Adobe not only has the file attributes set to READ ONLY and ARCHIVE, but they also set the Access Control List to be everyone:<DENY>.

Therefore I had to do the following:
1.) Boot from BertPE
2.) Go to the directory where the files are  D:\WINDOWS\System 32\Macromed\Flash
3.) execute the change access control list comand enabling everyone to have write access
              CACLS FlashUtil9f.exe /P everyone:W
4.) it then asks are you sure Y/N and of course answer Y
5.) do the same for the Flash9f.ocx file
               CACLS Flash9f.ocx /P everyone:W
6.) then execute the change attributes command
              ATTRIB -R -A FlashUtil9f.exe
7.) do the same for the Flash9f.ocx file
             ATTRIB -R -A Flash9f.ocx
8.) delete the files
             DEL FlashUtil9f.exe
             DEL Flash9f.ocx

VOILA ... you can then boot your normal WIndows XP and delete the folders Flash, Macromed, System 32 and WINDOWS.
Found this solution and thought I would pass on that it is possible to do steps 2 through 8 *without* using the BartPE or any other pre-boot environment. Just tried it and was able to delete the Flash9.ocx file, as well as both the Flash and Macromed folders.