Posted in , | 19 Responses
Sandip Dedhia

Sandip Dedhia

Sandip Dedhia is the founder of Blogsdna.com, he loves to write on technology, gadgets & web services. At Blogsdna you can read his Windows tutorials, free and useful software related articles. He is on twitter too @sandipnd View author profile

  • Pingback: How to Delete Undeletable Files (Can’t Delete Files) in Windows 7 - Windows 7 Ultimate

  • Raffe

    Thanks!
    Worked like a charm.

  • Pingback: Windows 7 permissions - Overclock.net - Overclocking.net

  • Chris

    I have a container file produced by an encryption program when I had XP installed. I have used the above commands which have returned success messages when run but have not allowed me to delete the file even though I own it and have full control of it.

  • http://demosthenes2010.com Demosthenes

    Doesn’t work for me. :-(

    C:\Users\Demosthenes>icacls G:\Music\pbtop1000 /grant administrators:F /t
    G:\Music\pbtop1000: Access is denied.
    Successfully processed 0 files; Failed processing 1 files

    C:\Users\Demosthenes>takeown /f G:\Music\pbtop1000 /r /d y
    ERROR: The current logged on user does not have ownership privileges on
    the file (or folder) “G:\Music\pbtop1000″.

  • Retro

    Had a friend who couldn’t delete a file off the desktop. Copied all the files he wanted to another directory. Restarted in safe mode with command prompt. The used dos commands….
    cd users
    cd username (eg. cd Retro)
    cd desktop
    I’m now in the following directory..
    c:\users\retro\desktop
    then type….
    del *.*
    This will delete everything in the directory :)
    Restart windows normally & then copy your desktop items back to your desktop.
    Have fun!!!!

    Retro :)

  • Lala

    thanks man!

  • Aiglevn

    Good Post ! Thanks !
    ————————-
    My Website : http://nghethuatit.com
    IT, Software, News, Flash games

  • derekKinny

    http://www.tooLongPath.com saved me lot of time for solving this problem

  • TOM

    I have two folders. one is c:program files and the other is

    c:program files (x86). I want to keep the (x86) one.

    I ran your program Add Take Ownership Option

    and it works till I get to a screen that

    says, I cant do that because that program is being used by

    an other program. I see the computer is looking at the other

    C:program files (x86) folder.

    Is there still a way to remove the first folder or am i stuck

    with both ?.

    Thanks from TOM.

  • Khizer

    I can’t delete this one item. Its accessible but i can’t delete it. every time i want to delete it, it always says prepare to recycle but nothing happen. Any suggestion?

  • Aw0ljz423

    same deal khizer, when i render down wav files with high bitrate it wont delete the items just sticks at the preparing to recycle box

  • Khurram

    Hi, I cannot delete certain files in Windows 7. They are mostly in “.mp4″ & “.mkv” format. These files cannot be renamed also. I recieve the below message when I try to delete these files:

    “THE ACTION CANNOT BE COMPLETED BECAUSE THE FILE IS OPEN IN WINDOWS EXPLORER.CLOSE & TRY AGAIN”

    What is causing this problem & how to fix it? Looking forward to your response. Thanks :)

  • Msg

    F### WINDOWS! I WANT MY COMPUTER BACK!
    BESIDES MY MAJOR VIRUS PROBLEM (MS WINDOS 7), I have a fat32
    pen drive with the autorun.inf virus. (Detail, the file was
    marked with HX attribute, what a hell this attribute means!)
    I have tried almost anyting, including:
    a) this post,
    b) using cmd running as administrator and closing explorer.exe,
    c) using cmd in windows safe mode
    d) several diferent ways of taking ownership
    e) activing and using the inner admin acount of windows
    f) changing the UAC
    Some iluminated soul knows the answer?
    Please, do NOT sugest any kind of software to do this work,
    until I know, the antivirus market worked most creating and
    spreading the virus to could sell the vacine. And, after all, I
    WANT MY COMPUTER BACK, i have paied for it, not Bill Gates.
    Always se same error messageS: “ACCESS DENIED”, “You require permission from the compute’s administrator to
    make changes to this file” (IS HE BILL GATES??),”ERROR: File ownership cannot be applied on insecure file
    systems; there is no suppor for ACLs.”
    Thanks…

  • Yourkeing

    press Shift-Delete it bypasses recycle bin.

  • Jehanzeb khan

    Dearest,,,,,,From where i can download soft….There is no download link……………..
                                 Plz guide me……
                                       Thanks………..

  • verna09

    its also the same in mine…. :(((need help please… DD:

  • DJ40

    Thanks for the tips, life saver.

  • faz

    doesn’t work to me, neither with a file unlocker program