rnikora
asked on
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.
Although they appear to allow me to change ownership, they continue to be read only and denied access.
ASKER
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
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
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.
ASKER
I have already downloaded and will be gererating the CD.
Thanks again and I will confirm the solution when done.
Again, Thanks !
Thanks again and I will confirm the solution when done.
Again, Thanks !
ASKER
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.
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.
hmm well it should be
d:\
then locate the directory
cd d:\folder
del *.ocx
del *.exe
d:\
then locate the directory
cd d:\folder
del *.ocx
del *.exe
ASKER
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.
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.
ASKER
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.
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.
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
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
oh just saw flyboydaves post above me haha, didnt even see it down below the main thread ahah
http://www.nu2.nu/pebuilder/