Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4567
  • Last Modified:

Cannot Delete Flash9f.ocx and FlashUtil9f.exe from folder

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
rnikora
Asked:
rnikora
  • 5
  • 4
  • 2
  • +1
1 Solution
 
bluefezteamCommented:
Download and build the bartPE cd image. Boot off this cd and then delete the file.
http://www.nu2.nu/pebuilder/
0
 
rnikoraAuthor Commented:
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
 
bluefezteamCommented:
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
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
rnikoraAuthor Commented:
I have already downloaded and will be gererating the CD.

Thanks again and I will confirm the solution when done.

Again, Thanks !
0
 
rnikoraAuthor Commented:
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
 
bluefezteamCommented:
hmm well it should be

d:\

then locate the directory

cd d:\folder

del *.ocx
del *.exe
0
 
rnikoraAuthor Commented:
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
 
rnikoraAuthor Commented:
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
 
bluefezteamCommented:
excellent. Look forward to the points
0
 
flyboydaveCommented:
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
 
CherrybrookCommented:
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
 
CherrybrookCommented:
oh just saw flyboydaves post above me haha, didnt even see it down below the main thread ahah
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 5
  • 4
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now