Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista General

Vista - Cannot delete a file - You need permission to perform this action

Reply
 
Old 07-11-2008   #1 (permalink)
Vlad


 
 

Cannot delete a file - You need permission to perform this action

Hi,

I'm going mad here. I'm trying to install the Flash Player browser plugin,
and it keeps failing. I've found that the reason is that there are two
existing files in

C:\Windows\system32\Macromed\Flash\Flash9f.ocx
C:\Windows\system32\Macromed\Flash\FlashUtil9f.exe

It is suggested that I have to delete these two files and try the Flash
installation again. I have a Home Premium Vista, I am administrator and I
have switched off UAC.

-I tried to do it in safe mode
-I tried to do it from command prompt (run as administrator)
-I tried do remove the read-only flag from the file, both from command
prompt (Access is denied) and from Explorer (You will need to provide
administrator permission to change these atrributes) and I AM THE
ADMINISTRATOR and only user!!!
-I tried to take full ownership of the file by going
Properties-Security-Advanced-Owner (it says that I'm the current owner)
-If I go to "Effective permissions and type my name, "Full control" is not
ticked, but I do have absolutely everything (INCLUDING Delete) except "Write
attributes"

Help please, for the love of God, I'm going mad.

My System SpecsSystem Spec
Old 07-11-2008   #2 (permalink)
Carey Frisch [MVP]


 
 

Re: Cannot delete a file - You need permission to perform this action

Download and run the Adobe Flash Player uninstaller:
http://kb.adobe.com/selfservice/view...nalId=tn_14157

or direct download:

Adobe Flash Player Uninstaller:
http://download.macromedia.com/pub/f...ash_player.exe

Close all IE windows and run the Flash Player Uninstaller.

Then visit:
http://www.adobe.com/shockwave/downl...ShockwaveFlash

and click on "Install Now".


--
Carey Frisch
Microsoft MVP
Windows Desktop Experience -
Windows Vista Enthusiast

---------------------------------------------------------------

"Vlad" <Vlad@xxxxxx> wrote in message news:A5BCF8EC-964F-484B-891A-DDC866D75865@xxxxxx
Hi,

I'm going mad here. I'm trying to install the Flash Player browser plugin,
and it keeps failing. I've found that the reason is that there are two
existing files in

C:\Windows\system32\Macromed\Flash\Flash9f.ocx
C:\Windows\system32\Macromed\Flash\FlashUtil9f.exe

It is suggested that I have to delete these two files and try the Flash
installation again. I have a Home Premium Vista, I am administrator and I
have switched off UAC.

-I tried to do it in safe mode
-I tried to do it from command prompt (run as administrator)
-I tried do remove the read-only flag from the file, both from command
prompt (Access is denied) and from Explorer (You will need to provide
administrator permission to change these atrributes) and I AM THE
ADMINISTRATOR and only user!!!
-I tried to take full ownership of the file by going
Properties-Security-Advanced-Owner (it says that I'm the current owner)
-If I go to "Effective permissions and type my name, "Full control" is not
ticked, but I do have absolutely everything (INCLUDING Delete) except "Write
attributes"

Help please, for the love of God, I'm going mad.
My System SpecsSystem Spec
Old 07-11-2008   #3 (permalink)
Vlad


 
 

Re: Cannot delete a file - You need permission to perform this act

Oh Lord, thank you thank you thank you Carey!

I'd still like to know why does the damn thing ask me for admin rights which
I've got, but at least I've solved this.
My System SpecsSystem Spec
Old 07-11-2008   #4 (permalink)
oscar


 
 

Re: Cannot delete a file - You need permission to perform this act

Oscar answers:

Great Question.

This might help explain:

From:
http://technet2.microsoft.com/window....mspx?mfr=true


“Windows Vista protects %systemroot% files and folders with permissions
designed for Windows Resource Protection (WRP), which can only be accessed by
the System service. Administrators can read system files and folders but
cannot write to them. Note that this differs from previous versions of
Windows.”

Basic information about Windows Resource Protection:

http://en.wikipedia.org/wiki/Windows...rce_protection


--
oscar

....Right click is your best friend...


"Vlad" wrote:
Quote:

> Oh Lord, thank you thank you thank you Carey!
>
> I'd still like to know why does the damn thing ask me for admin rights which
> I've got, but at least I've solved this.
My System SpecsSystem Spec
Old 07-12-2008   #5 (permalink)
BillD


 
 

RE: Cannot delete a file - You need permission to perform this action



"Vlad" wrote:
Quote:

> I have switched off UAC.
It's your fault!
With UAC on, just select the flash folder, delete it and confirm the action
when the UAC pop-up will appear. With UAC on, everything is so easy, so
simple.
My System SpecsSystem Spec
Old 07-12-2008   #6 (permalink)
Mr. Arnold


 
 

Re: Cannot delete a file - You need permission to perform this act


"Vlad" <Vlad@xxxxxx> wrote in message
news:7E999290-C964-486D-927D-F3B2C8524447@xxxxxx
Quote:

> Oh Lord, thank you thank you thank you Carey!
>
> I'd still like to know why does the damn thing ask me for admin rights
> which
> I've got, but at least I've solved this.
That's most likely because even as Admin of the system, the files in
question, the permission for delete is not set, even as Admin. Also another
account like User machine name/user may be in conflict with permissions that
differ and could supersede other accounts.

That's why when I have a problem with file permissions, I always go look at
the user account permissions on the file for all user accounts, and I always
discover that permissions on a file need to change when permission is being
denied.

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Cannot delete folder: 'You Need Permission To Perform This Action'... General Discussion
Unable to Delete Folder. 'You Need Permission To Perform This Action' Vista General
"you need permission to perform this action" copying a file Vista security
You need permission to perform this action!! to copy a file to a directory with Admin rights Vista security
Help please, you need permission to perform this action Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46