Solved

Cannot Delete Flash9f.ocx and FlashUtil9f.exe from folder

Posted on 2008-06-18
12
4,536 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Do you have a plan for Continuity?

It's inevitable. People leave organizations creating a gap in your service. That's where Percona comes in.

See how Pepper.com relies on Percona to:
-Manage their database
-Guarantee data safety and protection
-Provide database expertise that is available for any situation

 

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
 

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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

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.
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
Viewers will get an overview of how to make and use Drum Racks in Ableton Live. Load new Drum Rack into empty MIDI track: Fill rack with audio samples: Re-arrange sample slots as necessary: Adjust parameters of each slot to tailor each sound a…
Viewers will learn how to create and use Simpler instruments in Ableton Live. Load new Simpler into an empty MIDI track: Select a sample and drop it into sample window in Simpler: If sample is not pitched at C3, adjust tuning with Transpose para…

623 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