Welcome, Guest. Please login or register.

Author Topic: need help deleting files under NTFS  (Read 3862 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show all replies
Re: need help deleting files under NTFS
« on: May 13, 2009, 07:50:56 AM »
It's probably down to the fact that your current administrator account has a different uid to the one that was in the process of being created during the install. Windows idea of file ACLs are strange like that.

Back in the day I would have suggested Winternals ERD Commander to deal with this sort of gripe but it got bought up by MS at some point. Probably won't work with Vista/Win7.

However, if the NTFS version is at least Vista compatible, shove the drive into a "current" linux box that has ntfs3g installed and you can delete anything from it, as long as you are root (probably works even if you aren't, provided the drive was mounted under your user).

Failing that, format the bugger.
int p; // A
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show all replies
Re: need help deleting files under NTFS
« Reply #1 on: May 13, 2009, 08:50:07 PM »
Quote

DamageX wrote:
Thanks for the tips, you guys rock. I tried to take ownership of the files while logged in as admin under win2k (my main OS) but it came back with an "access denied." Same thing with the cacl command. I booted Ubuntu and deleted the stuff and it was moved to a trash directory. So I deleted the trash directory and now most of it is gone, there were about a dozen files that still refused to budge. I haven't tried unlocker yet.


If you delete from a shell, as root, using rm -rf on a directory will delete it for sure.

Be very careful with that command. Make absolutely sure you are about to remove the directory you mean to.
int p; // A