A Windows Vista forum. Vista Banter

Welcome to Vista Banter.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Go Back   Home » Vista Banter forum » Microsoft Windows Vista » Windows Vista File Management
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Windows Vista File Management Issues or questions in relation to Vista's file management. (microsoft.public.windows.vista.file_management)

Can't delete a file - Access is denied to Administrator



 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old August 4th 07, 03:24 PM posted to microsoft.public.windows.vista.file_management
Jeff
external usenet poster
 
Posts: 395
Default Can't delete a file - Access is denied to Administrator

I have an mpeg file on my local hard drive that I cannot delete. My account
is an administrator account, running under vista ultimate. When I look at the
file properties I see that the ownership is unassigned (unable to display
current owner), but when I attempt to take ownership, windows security
reports "Unable to set new owner on [filename]. Access is denied."

Can anyone recommend steps to delete this file?
  #2 (permalink)  
Old August 4th 07, 03:46 PM posted to microsoft.public.windows.vista.file_management
dean-dean
external usenet poster
 
Posts: 1,654
Default Can't delete a file - Access is denied to Administrator

Try this. Right-click Command Prompt, and choose Run as Administrator.
Type the following command, and then press
ENTER:

takeown /f Path_And_File_Name

For example, type:
takeown /f C:\Users\You\Downloads\unwanted.mp3

Type the following command, and then press ENTER to grant
administrators full access to the file:

icacls Path_And_File_Name /GRANT ADMINISTRATORS:F

For example, type:
icacls C:\Users\You\Downloads\unwanted.mp3 /grant administrators:F

Then try to delete unwanted.mp3.

If that doesn't work, try to delete the file in Safe Mode.

"jeff" wrote in message
...
I have an mpeg file on my local hard drive that I cannot delete. My account
is an administrator account, running under vista ultimate. When I look at
the
file properties I see that the ownership is unassigned (unable to display
current owner), but when I attempt to take ownership, windows security
reports "Unable to set new owner on [filename]. Access is denied."

Can anyone recommend steps to delete this file?


  #3 (permalink)  
Old August 4th 07, 04:11 PM posted to microsoft.public.windows.vista.file_management
NjetSpam
external usenet poster
 
Posts: 26
Default Can't delete a file - Access is denied to Administrator

jeff wrote:
I have an mpeg file on my local hard drive that I cannot delete. My account
is an administrator account, running under vista ultimate. When I look at the
file properties I see that the ownership is unassigned (unable to display
current owner), but when I attempt to take ownership, windows security
reports "Unable to set new owner on [filename]. Access is denied."

Can anyone recommend steps to delete this file?

Played the mpeg with vista mediaplayer ? take and install vlc-player
do not use mediaplayer it kinda sucks
  #4 (permalink)  
Old August 4th 07, 04:14 PM posted to microsoft.public.windows.vista.file_management
Richard Urban
external usenet poster
 
Posts: 5,520
Default Can't delete a file - Access is denied to Administrator

I ran into a 3 gig file just yesterday that was seemingly impossible to
delete. I tried everything.

I then ran chkdsk g: /f (fix option) on the partition. I was then able to
delete the file (it had apparently become corrupted).

--


Regards,

Richard Urban
Microsoft MVP Windows Shell/User
(For email, remove the obvious from my address)

"jeff" wrote in message
...
I have an mpeg file on my local hard drive that I cannot delete. My account
is an administrator account, running under vista ultimate. When I look at
the
file properties I see that the ownership is unassigned (unable to display
current owner), but when I attempt to take ownership, windows security
reports "Unable to set new owner on [filename]. Access is denied."

Can anyone recommend steps to delete this file?


  #5 (permalink)  
Old March 27th 08, 08:32 PM posted to microsoft.public.windows.vista.file_management
gdoran
external usenet poster
 
Posts: 1
Default Can't delete a file - Access is denied to Administrator


What can you do if takeown is getting 'access denied" when trying to
take ownership?


--
gdoran
Posted via http://www.vistaheads.com

  #6 (permalink)  
Old March 27th 08, 10:19 PM posted to microsoft.public.windows.vista.file_management
Bob
external usenet poster
 
Posts: 1,334
Default Can't delete a file - Access is denied to Administrator

How are you running takeown?
-------
*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

"gdoran" wrote in message
...

What can you do if takeown is getting 'access denied" when trying to
take ownership?


--
gdoran
Posted via http://www.vistaheads.com


  #7 (permalink)  
Old March 27th 08, 10:37 PM posted to microsoft.public.windows.vista.file_management
gdoran[_2_]
external usenet poster
 
Posts: 1
Default Can't delete a file - Access is denied to Administrator


takedown /f foldername /r. Get Sucess: the fodler foldername is now
owned by domainname\gdoran. Then get Info: access is denied
foldername\filename. Filename is set to read-only, can't seem to unset
it.


--
gdoran
Posted via http://www.vistaheads.com

  #8 (permalink)  
Old March 28th 08, 12:26 AM posted to microsoft.public.windows.vista.file_management
Bob
external usenet poster
 
Posts: 1,334
Default Can't delete a file - Access is denied to Administrator


Do this then try takeown again:
attrib -r -a -s -h del [drive] path] [filename]
-------
*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

"gdoran" wrote in message
...

takedown /f foldername /r. Get Sucess: the fodler foldername is now
owned by domainname\gdoran. Then get Info: access is denied
foldername\filename. Filename is set to read-only, can't seem to unset
it.


--
gdoran
Posted via http://www.vistaheads.com


  #9 (permalink)  
Old March 28th 08, 04:23 PM posted to microsoft.public.windows.vista.file_management
gdoran[_3_]
external usenet poster
 
Posts: 1
Default Can't delete a file - Access is denied to Administrator


Get a access denied trying to change the attribute with attrib.


--
gdoran
Posted via http://www.vistaheads.com

  #10 (permalink)  
Old March 28th 08, 06:18 PM posted to microsoft.public.windows.vista.file_management
Bob
external usenet poster
 
Posts: 1,334
Default Can't delete a file - Access is denied to Administrator


Run the command from an Administrator Command prompt.


"gdoran" wrote in message
...

Get a access denied trying to change the attribute with attrib.


--
gdoran
Posted via http://www.vistaheads.com


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 09:38 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.Search Engine Optimization by vBSEO 3.0.0 RC6
Copyright ©2004-2024 Vista Banter.
The comments are property of their posters.