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 file management

Vista Tutorial - Need to delete a file but Vista does not let me.

Reply
 
Old 03-28-2008   #1 (permalink)
Michael Moser
Guest


 
 

Need to delete a file but Vista does not let me.

Occasionally Vista and its permission handling really drives me nuts: I
needed to replace a certain .exe file in a subdirectory of "C:\Program
Files" but for some, to me unexplainable, reason Vista at first did not
let me delete the old version.

The file was owned by "Administrators" of which I am a member. When I
checked "Effective Permissions" of that file for my user-id I had ALL
necessary permissions (including "Full Control", "Delete" and "Take
Ownership"). However, if I tried to delete the file or take ownership,
then I got errors that I don't have the necessary permission.

Only after I added my user-id explicitly to the file's permission list
and gave me "Full Control" , then I was able to delete the file. Why was
it not enough that I am of user type "Administrator" and also member of
the "Administrators"-group?

Michael


My System SpecsSystem Spec
Old 03-28-2008   #2 (permalink)
1337 spammer


Join Date: Mar 2008
Windows 7 RC
 
 

Re: Need to delete a file but Vista does not let me.

Quote  Quote: Originally Posted by Michael Moser View Post
Occasionally Vista and its permission handling really drives me nuts: I
needed to replace a certain .exe file in a subdirectory of "C:\Program
Files" but for some, to me unexplainable, reason Vista at first did not
let me delete the old version.

The file was owned by "Administrators" of which I am a member. When I
checked "Effective Permissions" of that file for my user-id I had ALL
necessary permissions (including "Full Control", "Delete" and "Take
Ownership"). However, if I tried to delete the file or take ownership,
then I got errors that I don't have the necessary permission.

Only after I added my user-id explicitly to the file's permission list
and gave me "Full Control" , then I was able to delete the file. Why was
it not enough that I am of user type "Administrator" and also member of
the "Administrators"-group?

Michael
Michael,

I've heard that SP1 does some interactions with file permissions that may need Microsoft assistance. You can get free tech support from Microsoft at this link: https://support.microsoft.com/oas/de...4&gprid=500921

Hopefully they can get it sorted out for you.
My System SpecsSystem Spec
Old 03-28-2008   #3 (permalink)
Oli
Guest


 
 

RE: Need to delete a file but Vista does not let me.

Yea! Whats up with this, never had this problem with xp. A very well worded
moan Micheal.

"Michael Moser" wrote:
Quote:

> Occasionally Vista and its permission handling really drives me nuts: I
> needed to replace a certain .exe file in a subdirectory of "C:\Program
> Files" but for some, to me unexplainable, reason Vista at first did not
> let me delete the old version.
>
> The file was owned by "Administrators" of which I am a member. When I
> checked "Effective Permissions" of that file for my user-id I had ALL
> necessary permissions (including "Full Control", "Delete" and "Take
> Ownership"). However, if I tried to delete the file or take ownership,
> then I got errors that I don't have the necessary permission.
>
> Only after I added my user-id explicitly to the file's permission list
> and gave me "Full Control" , then I was able to delete the file. Why was
> it not enough that I am of user type "Administrator" and also member of
> the "Administrators"-group?
>
> Michael
>
>
My System SpecsSystem Spec
Old 03-28-2008   #4 (permalink)
Bob
Guest


 
 

Re: Need to delete a file but Vista does not let me.

Google "Real Administrator"
-------
*Report back, please*
[When responding to posts, please include the post(s) you are replying to so
that others may learn and benefit from the issue]

[How to ask a question]
http://support.microsoft.com/kb/555375

"Michael Moser" <michael-nospam.moser@xxxxxx> wrote in message
news:eNyUo3MkIHA.1052@xxxxxx
Quote:

> Occasionally Vista and its permission handling really drives me nuts: I
> needed to replace a certain .exe file in a subdirectory of "C:\Program
> Files" but for some, to me unexplainable, reason Vista at first did not
> let me delete the old version.
>
> The file was owned by "Administrators" of which I am a member. When I
> checked "Effective Permissions" of that file for my user-id I had ALL
> necessary permissions (including "Full Control", "Delete" and "Take
> Ownership"). However, if I tried to delete the file or take ownership,
> then I got errors that I don't have the necessary permission.
>
> Only after I added my user-id explicitly to the file's permission list and
> gave me "Full Control" , then I was able to delete the file. Why was it
> not enough that I am of user type "Administrator" and also member of the
> "Administrators"-group?
>
> Michael
>
My System SpecsSystem Spec
Old 03-28-2008   #5 (permalink)
Kerry Brown
Guest


 
 

Re: Need to delete a file but Vista does not let me.

"Michael Moser" <michael-nospam.moser@xxxxxx> wrote in message
news:eNyUo3MkIHA.1052@xxxxxx
Quote:

> Occasionally Vista and its permission handling really drives me nuts: I
> needed to replace a certain .exe file in a subdirectory of "C:\Program
> Files" but for some, to me unexplainable, reason Vista at first did not
> let me delete the old version.
>
> The file was owned by "Administrators" of which I am a member. When I
> checked "Effective Permissions" of that file for my user-id I had ALL
> necessary permissions (including "Full Control", "Delete" and "Take
> Ownership"). However, if I tried to delete the file or take ownership,
> then I got errors that I don't have the necessary permission.
>
> Only after I added my user-id explicitly to the file's permission list and
> gave me "Full Control" , then I was able to delete the file. Why was it
> not enough that I am of user type "Administrator" and also member of the
> "Administrators"-group?
>

Do you have UAC turned off?

--
Kerry Brown
MS-MVP - Windows Desktop Experience: Systems Administration
http://www.vistahelp.ca/phpBB2/



My System SpecsSystem Spec
Old 04-01-2008   #6 (permalink)
Michael Moser
Guest


 
 

Re: Need to delete a file but Vista does not let me.

Kerry Brown wrote:
Quote:
Quote:

> > ...
>
> Do you have UAC turned off?
No.

My System SpecsSystem Spec
Old 04-01-2008   #7 (permalink)
Kerry Brown
Guest


 
 

Re: Need to delete a file but Vista does not let me.

"Michael Moser" <michael-nospam.moser@xxxxxx> wrote in message
news:uL3pJB%23kIHA.2268@xxxxxx
Quote:

> Kerry Brown wrote:
Quote:
Quote:

>> > ...
>>
>> Do you have UAC turned off?
>
> No.
>

I seen having UAC off cause problems when trying to change permissions with
Windows Explorer. I don't know what would have caused the problem you
experienced. For troublesome files you may have to take ownership and change
permissions from an elevated command prompt.

--
Kerry Brown
MS-MVP - Windows Desktop Experience: Systems Administration
http://www.vistahelp.ca/phpBB2/



My System SpecsSystem Spec
Old 04-01-2008   #8 (permalink)
Axel Dahmen
Guest


 
 

Re: Need to delete a file but Vista does not let me.

I was reading this thread with high interest as I'm having the same kind of trouble...

Kerry, your first reply gave me the idea to turn UAC off. And, in fact, that was the solution to my problem. So my experience is quite contrary to what you've written in your last response.

Strange...

Axel Dahmen




-------------
"Kerry Brown" <kerry@xxxxxx-tems.c*a*m> schrieb im Newsbeitrag news:0D0BA095-B33B-4692-A3A8-070B5E745FDB@xxxxxx
Quote:

> "Michael Moser" <michael-nospam.moser@xxxxxx> wrote in message
> news:uL3pJB%23kIHA.2268@xxxxxx
Quote:

>> Kerry Brown wrote:
Quote:

>>> > ...
>>>
>>> Do you have UAC turned off?
>>
>> No.
>>
>
>
> I seen having UAC off cause problems when trying to change permissions with
> Windows Explorer. I don't know what would have caused the problem you
> experienced. For troublesome files you may have to take ownership and change
> permissions from an elevated command prompt.
>
> --
> Kerry Brown
> MS-MVP - Windows Desktop Experience: Systems Administration
> http://www.vistahelp.ca/phpBB2/
>
>
>
My System SpecsSystem Spec
Old 04-02-2008   #9 (permalink)
Kerry Brown
Guest


 
 

Re: Need to delete a file but Vista does not let me.

The method needed to modify ACLs may differ depending on the existing ACls,
what type of account you are logged on as, if UAC is on/off, and what
program you are using to modify the ACLs.

--
Kerry Brown
MS-MVP - Windows Desktop Experience: Systems Administration
http://www.vistahelp.ca/phpBB2/

"Axel Dahmen" <keentoknow@xxxxxx> wrote in message
news:596E10FC-CB79-43CA-A0C4-7BBE632A1350@xxxxxx
I was reading this thread with high interest as I'm having the same kind of
trouble...

Kerry, your first reply gave me the idea to turn UAC off. And, in fact, that
was the solution to my problem. So my experience is quite contrary to what
you've written in your last response.



My System SpecsSystem Spec
Old 04-03-2008   #10 (permalink)
Axel Dahmen
Guest


 
 

Re: Need to delete a file but Vista does not let me.

I'm logged in as a member of the Administrators group. I've switched off UAC using the User Accounts control panel. (* not sure if it's "User Accounts" in English. I'm using the German version of Vista/W2k8).

Appreciate your help!

Axel Dahmen


---------------
"Kerry Brown" <kerry@xxxxxx-tems.c*a*m> schrieb im Newsbeitrag news:36BC19AE-FBFD-414B-A3F5-0A4599CA5BDC@xxxxxx
Quote:

> The method needed to modify ACLs may differ depending on the existing ACls,
> what type of account you are logged on as, if UAC is on/off, and what
> program you are using to modify the ACLs.
>
> --
> Kerry Brown
> MS-MVP - Windows Desktop Experience: Systems Administration
> http://www.vistahelp.ca/phpBB2/
>
> "Axel Dahmen" <keentoknow@xxxxxx> wrote in message
> news:596E10FC-CB79-43CA-A0C4-7BBE632A1350@xxxxxx
> I was reading this thread with high interest as I'm having the same kind of
> trouble...
>
> Kerry, your first reply gave me the idea to turn UAC off. And, in fact, that
> was the solution to my problem. So my experience is quite contrary to what
> you've written in your last response.
>
>
>
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
can't delete / move .exe file after it is run in vista 64bit General Discussion
Delete Vista System File Vista General
Create New folder, move file, delete file. Explorer Freeze General Discussion
Cannot Delete file in Vista Vista file management
VISTA won't let me delete a file 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