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

G

Guest

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?
 
D

dean-dean

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.
 
G

Guest

jeff said:
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 :D
 
R

Richard Urban

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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top