1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Deleting Corrupt and Unreadable Files

Discussion in 'PC Hardware' started by gw1500se, 2011/11/27.

  1. 2011/11/30
    DiggerP

    DiggerP Inactive

    Joined:
    2007/03/09
    Messages:
    168
    Likes Received:
    9
    Hi,

    Re: Trying changing/resetting attributes and permissions
    I would try that and check or reset permissions and recheck Properties of the file again afterwards.
    Unset Read Only if exists.

    As to the chkdsk problem ,here are a few links how to deal with that:
    How to turn off chkdsk
    http://forums.techarena.in/windows-xp-support/680641.htm

    Chkdsk.exe or Autochk.exe starts when you try to shut down or restart your computer
    http://support.microsoft.com/kb/831426

    Disable or Stop Auto CHKDSK During Windows Startup
    http://www.raymond.cc/blog/archives/2008/02/23/disable-or-stop-auto-chkdsk-during-windows-startup/

    To be sure I understand, chkdsk doesn't run when booting from the CD ,right?

    Pete E.
     
  2. 2011/11/30
    wildfire

    wildfire Getting Old

    Joined:
    2008/04/21
    Messages:
    4,649
    Likes Received:
    124
    OK, I've had enough. Pete's advice has been sound and even if you were infected or had a failing hard drive the previous instructions should have been enough.

    gw1500se, please read this thread (carefully) one more time.
     

  3. to hide this advert.

  4. 2011/11/30
    gw1500se

    gw1500se Well-Known Member Thread Starter

    Joined:
    2003/01/10
    Messages:
    444
    Likes Received:
    0
    If I've missed something then I guess I've missed it again in rereading the thread. I agree they should have been enough but that does not change the fact that they seemingly were not.

    As for changing the permissions I found something interesting. While there is no message indicating a permissions problem when trying to delete (just the corrupt and unreadable message), the folders involved are set to read only. When I change the permissions to remove read only and apply to all, it appears to have worked. However, if I close and reopen properties, it once again shows read only.
     
  5. 2011/11/30
    wildfire

    wildfire Getting Old

    Joined:
    2008/04/21
    Messages:
    4,649
    Likes Received:
    124
    Again, I will step back. Your answer is here in this thread.

    If you can't find it then run a disk diagnostic (seriously I think PICNIC is the problem though)
     
  6. 2011/11/30
    DiggerP

    DiggerP Inactive

    Joined:
    2007/03/09
    Messages:
    168
    Likes Received:
    9
    I'm afraid I have to tell you that all the instructions and advice should be enough, but it maybe the execution or misunderstanding that make it seem not to be enough.
    If the folders reopen as read only after you changed the attributes ,it tells me that your permissions are at a subordinate level.
    IOW, the system's default is to set the Read Only attribute flag.
    Also you may confuse permissions with attributes.
    You don't change permissions when you change attributes of a file or folder.
    Permissions are set under the Security tab on the Properties panel.

    When in the MiniXP of Hirens BCD ,you navigate to the respective -to be deleted -file and r-c it and Properties ,Security tab and give all the accounts Full Control by ticking the boxes as required.
    If those settings don't stick ,you have to go further and click Advanced, Effective Permissions and make sure all boxes are ticked for all accounts (via the Select button).
    You can also change (take) ownership in the Advanced panel.

    You can do the above on and inside your installed OS and KillBox would've made short work of it - even if a reboot were needed.
    Most of it can be done in Safe Mode and logged on as Administrator,(or even RunAs Admin),but to exclude interference from an active system ,I advised to do it via a bootable rescue- or repair- CD.

    Don't know what else to tell you.

    Pete E.
     
  7. 2012/01/20
    Christer

    Christer Geek Member Staff

    Joined:
    2002/12/17
    Messages:
    6,585
    Likes Received:
    74
    After request, an update via PM:

     
  8. 2012/01/20
    rsinfo

    rsinfo SuperGeek Alumni

    Joined:
    2005/12/25
    Messages:
    4,076
    Likes Received:
    178
    A format & fresh install would be the preferred & optimal thing to do.

    When you imaged the damaged disk some of the files were already corrupt & some hard disk sectors were already damaged & could not be read. The image would have the corrupt files & the damaged sectors would have been most probably marked as damaged on new hard disk also [run chkdsk & look out for xx KB in bad sectors. line in the output]. Nothing you do now is going to bring back the corrupted files.
     
  9. 2012/01/20
    gw1500se

    gw1500se Well-Known Member Thread Starter

    Joined:
    2003/01/10
    Messages:
    444
    Likes Received:
    0
    I don't want to bring back the corrupted files. I just want to delete them.
     
  10. 2012/01/20
    rsinfo

    rsinfo SuperGeek Alumni

    Joined:
    2005/12/25
    Messages:
    4,076
    Likes Received:
    178
    Download any live Linux cd like Ubuntu Live CD, burn it to a cd, boot from it & then delete the corrupt files/folders.
     
  11. 2012/01/21
    DiggerP

    DiggerP Inactive

    Joined:
    2007/03/09
    Messages:
    168
    Likes Received:
    9
  12. 2012/01/21
    gw1500se

    gw1500se Well-Known Member Thread Starter

    Joined:
    2003/01/10
    Messages:
    444
    Likes Received:
    0
    Thanks for the suggestions but I have already tried both and neither worked. Unlocker gave me the same message and Linux said the file already exists (what that has to do with deleting a file is beyond me but clearly means the file system is corrupt not necessarily the file).
     
  13. 2012/01/21
    rsinfo

    rsinfo SuperGeek Alumni

    Joined:
    2005/12/25
    Messages:
    4,076
    Likes Received:
    178
    Try running chkdsk /r. It may just repair the file system enough for you to delete the files.
     
  14. 2012/01/22
    gw1500se

    gw1500se Well-Known Member Thread Starter

    Joined:
    2003/01/10
    Messages:
    444
    Likes Received:
    0
    Ran chkdsk many, many times, including in safe mode and from a CD bootable Windows. Indeed chkdsk is run every few times I have to reboot. All to no avail.
     
  15. 2012/01/22
    DiggerP

    DiggerP Inactive

    Joined:
    2007/03/09
    Messages:
    168
    Likes Received:
    9
    Just a correction (update) and comment.

    In post #3 I mentioned KillBox. Those links are no longer valid.
    The latest versions are available at
    http://www.scanwith.com/download/Pocket_KillBox.htm
    When you click "Download" ,you'll get this page:
    http://www.scanwith.com/Pocket_KillBox_download.htm
    It will list 2 versions.
    KillBox is very useful since you can run it as System ,which is more powerful than RunAs Admin.
    You can also set the deletion to occur at bootup.

    Another useful utility is RunAsSystem
    http://www.qwertylab.com/FreeTools.aspx
    You can easily see the result in TaskManager.
    eg Run calc normally and you'll see calc running under your profile.
    Run calc via RunAsSystem and in TM you'll see it under System.

    In principle you could run delete commands too, but KillBox is easier for that.

    Hope it'll help you or someone else reading this thread.

    Pete E.
     
  16. 2012/01/22
    rsinfo

    rsinfo SuperGeek Alumni

    Joined:
    2005/12/25
    Messages:
    4,076
    Likes Received:
    178
    What distro of Linux did you use ? Was it a recovery distro or a full one?
     
  17. 2012/01/23
    gw1500se

    gw1500se Well-Known Member Thread Starter

    Joined:
    2003/01/10
    Messages:
    444
    Likes Received:
    0
    I'll give those a try. Thanks.
     
  18. 2012/01/23
    gw1500se

    gw1500se Well-Known Member Thread Starter

    Joined:
    2003/01/10
    Messages:
    444
    Likes Received:
    0
    I don't recall but I think since it all fit on a CD it might have been TCL or Puppy.
     
  19. 2012/01/23
    rsinfo

    rsinfo SuperGeek Alumni

    Joined:
    2005/12/25
    Messages:
    4,076
    Likes Received:
    178
    Some distros may not mount NTFS partitions in read/write mode by default. Try Ubuntu Live cd.
     
  20. 2012/01/24
    gw1500se

    gw1500se Well-Known Member Thread Starter

    Joined:
    2003/01/10
    Messages:
    444
    Likes Received:
    0
    Thanks. I may try that as well but it will be a while before I can get to it.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.