Solved

Cannot Delete Flash9f.ocx and FlashUtil9f.exe from folder

Posted on 2008-06-18
12
4,513 Views
Last Modified: 2008-11-03
I have converted a Primary Disk (Boot Drive) to a Secondary Disk (Data Drive) and deleted the WIndows XP Professional folder E:\Windows ... however, two files (Flash9f.ocx and FlashUtil9f) refuse to be deleted.

Although they appear to allow me to change ownership, they continue to be read only and denied access.

0
Comment
Question by:rnikora
  • 5
  • 4
  • 2
  • +1
12 Comments
 
LVL 10

Expert Comment

by:bluefezteam
ID: 21817032
Download and build the bartPE cd image. Boot off this cd and then delete the file.
http://www.nu2.nu/pebuilder/
0
 

Author Comment

by:rnikora
ID: 21817096
Thanks.

Yes, I saw this solution in a posting under OS, but there was not a follow-up by the poster.

I will try it and if it works will make sure to provide feed-back for others
0
 
LVL 10

Expert Comment

by:bluefezteam
ID: 21817150
It will work, the problem is that the files are locked under the OS, the boot image shown in the link will give you access to an OS that hasn't locked the file so it will allow you to delete it.
0
 

Author Comment

by:rnikora
ID: 21817219
I have already downloaded and will be gererating the CD.

Thanks again and I will confirm the solution when done.

Again, Thanks !
0
 

Author Comment

by:rnikora
ID: 21817607
Everything went well with the BartPE creation and it booted as expected.

Only challenge was trying to remember the DOS commands to figure out the renaming of the drives.  Once I figured out that the files I wanted to delete were now on Drive D, I proceeded to atempt to Delete the files with the same result "Access Denied".

Perhaps I should have used a different DOS command to change permissions on these files before trying to DEL them ?

If so, could you refresh my aging memory on how to do this?

Thanks for your help.
0
 
LVL 10

Expert Comment

by:bluefezteam
ID: 21817723
hmm well it should be

d:\

then locate the directory

cd d:\folder

del *.ocx
del *.exe
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:rnikora
ID: 21817834
I am now equipped with the full list of DOS Commands and extensions.

I will boot from BartPE, go to the drive that is usually E: but is now D: and use the Attribute command to change the attribute from read only to write, then do the DEL operation.

Will be back to you in a few minutes.
0
 

Author Comment

by:rnikora
ID: 21818097
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.
           
0
 
LVL 10

Accepted Solution

by:
bluefezteam earned 500 total points
ID: 21819586
excellent. Look forward to the points
0
 

Expert Comment

by:flyboydave
ID: 21889233
Wow, you went about the hard way.  There's a much easier way:  edit the properties, go to Security tab, then click "Advanced", then highlight the entries with "Deny" in them, click Edit..., then click "Full Conrol" under the Allow column.  You can then simply delete the files.
0
 

Expert Comment

by:Cherrybrook
ID: 23963186
i know this is an old question but i found another way to delete this file as i had the exact same issue. except on our backup server and i didnt want to restart it.

so here is my work around for that issue.

Right click on one of the files thats giving the access denied (in my case it was both Flash9f.ocx and FlashUtil9f).
Then click on properties
Now click on the security tab
Click the advanced button down the bottom
---> here you can see that its denying everyone to the file, so what you want to do is...
Remove any Deny entries in there
Click apply / ok
Close the properties box
Hit the delete button
and BAM, guess what guys and girls..
the file is FINALLY GONE =)

just thought i'd add my two cents to help anyone out on these forums in the future as these forums have been so great to me over the years
0
 

Expert Comment

by:Cherrybrook
ID: 23963193
oh just saw flyboydaves post above me haha, didnt even see it down below the main thread ahah
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I have a Synology DS212+ NAS.  These are not only great for backup and normal NAS stuff, but also for delivering media throughout your home or LAN via DLNA.  I copied my whole audio collection from iTunes over to the box, but couldn't figure out how…
Tired of waiting for your show or movie to load?  Are buffering issues a constant problem with your internet connection?  Check this article out to see if these simple adjustments are the solution for you.
Viewers will learn the basics of making and using Impulse Kits in Ableton Live. Load new Impulse into an empty MIDI track: Fill the 8 empty sample slots with drum samples: Adjust parameters to tailor each sound as desired: Proceed to create be…
Viewers will learn key ranges in Sampler to make their sampled instruments sound more realistic Gather samples of various notes and drag them to Key Range panel: Set proper root key for each sample: Select all the samples with Command-A (or Ctrl…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now