1. VinLark

    OP VinLark This Machine Used To Kill Bourgeois Sentimentality
    Member

    Joined:
    Jun 11, 2016
    Messages:
    4,348
    Country:
    United States
    Hello, I'm trying to clean up my old disks but it seems to be a challenge, especially when Windows 10 decides to take ownership of random files. I have this pretty big folder, it's just an old backup but it takes up 10GBs of space and I want it gone. But Windows isn't letting me delete it.

    upload_2017-10-29_12-58-27.png

    I get this message. I HAVE taken ownership but I don't know what to do. Thanks
     
  2. dAVID_

    dAVID_ Electrician's Apprentice
    Member

    Joined:
    Oct 23, 2016
    Messages:
    1,391
    Country:
    Mexico
    Go to properties and turn (Username)'s permissions off, it should work.
     
  3. VinsCool

    VinsCool Persona Secretiva Felineus
    Moderator

    Joined:
    Jan 7, 2014
    Messages:
    14,009
    Country:
    Canada
    Have you tried to format the disk, if of course you tried to delete everything from it?
     
  4. Originality

    Originality Chibi-neko
    Member

    Joined:
    Apr 21, 2008
    Messages:
    5,707
    Country:
    These type of errors tend to be from NTFS permissions. As an admin, you can take ownership of these files (I forget which command it was in cmd/ps) to access the directory tree normally, then use x/robo or similar commands to delete them directly.

    Although sometimes these files may be encrypted by Windows using a unique key for that user. I think that only applies to Windows Ultimate/Enterprise users however.
     
    Last edited by Originality, Oct 29, 2017
  5. VinLark

    OP VinLark This Machine Used To Kill Bourgeois Sentimentality
    Member

    Joined:
    Jun 11, 2016
    Messages:
    4,348
    Country:
    United States
    I can't. This is a drive that has tons of backups and I have no other drive large enough to move it on to


    Sent from my iPhone using Tapatalk
     
  6. VinsCool

    VinsCool Persona Secretiva Felineus
    Moderator

    Joined:
    Jan 7, 2014
    Messages:
    14,009
    Country:
    Canada
    I see.
    Maybe try to mount it under some Linux, to delete it from there?
     
    VinLark likes this.
  7. VinLark

    OP VinLark This Machine Used To Kill Bourgeois Sentimentality
    Member

    Joined:
    Jun 11, 2016
    Messages:
    4,348
    Country:
    United States
    Already tried. I even added the disk to fstab with full perms.


    Sent from my iPhone using Tapatalk
     
  8. VinsCool

    VinsCool Persona Secretiva Felineus
    Moderator

    Joined:
    Jan 7, 2014
    Messages:
    14,009
    Country:
    Canada
    Dang I have no idea then.
    My own guess would be to backup everything important if you could, then fully format it to start fresh.
     
    VinLark likes this.
  9. Psionic Roshambo

    Psionic Roshambo GBAtemp Addict
    Member

    Joined:
    Aug 12, 2011
    Messages:
    2,123
    Country:
    United States
    Windows 10 is pretty fucked up how it handles folders and shares and permissions... I have had this error sooo many times.

    Anyway right click the folder select security, under owner rights check to see if if it's not checked. Also if that doesn't work you can try to add an "everyone" group with full permissions and see if that lets you delete it.
     
    VinsCool likes this.
  10. The Real Jdbye

    The Real Jdbye Always Remember 30/07/08
    Member

    Joined:
    Mar 17, 2010
    Messages:
    19,982
    Country:
    Norway
    After you take ownership you have to grant yourself full permissions (done from the properties window)
    It's a hassle but it's an important security feature. Important things like OS files are not meant to be writable by anyone so they have permissions set to read only, and when you make a backup of the files those permissions are copied across.
    It's not something unique to Windows. Linux has had a file permission system since it was invented, Windows has only had it since the introduction of NTFS, and it wasn't really made use of until Vista. Only it's easier and much quicker to give yourself permission to files on Linux or even su to root and do it that way.
     
  11. evandixon

    evandixon PMD Researcher
    Developer

    Joined:
    May 29, 2009
    Messages:
    1,725
    Country:
    United States
    In the permissions editor, click Advanced. The new editor will let you take ownership.
     
  12. Joom

    Joom  ❤❤❤
    Member

    Joined:
    Jan 8, 2016
    Messages:
    5,569
    Country:
    United States
    cd to Desktop and try running this from an elevated CMD.
    icacls * /T /Q /C /RESET

    This totally resets the NTFS permission attributes on all files and folders in the working directory.
     
    Last edited by Joom, Nov 2, 2017
    VinsCool likes this.
  13. Youkai

    Youkai Demon
    Member

    Joined:
    Jul 1, 2004
    Messages:
    2,462
    Country:
    Germany
    Just do the ownership thing some people mentioned here already instead of ignoring these answers and only trying the wrong ones -.-V
     
  14. VinLark

    OP VinLark This Machine Used To Kill Bourgeois Sentimentality
    Member

    Joined:
    Jun 11, 2016
    Messages:
    4,348
    Country:
    United States
    I already have, as said in my OP

    It magically fixed it'self anyways. I wish I could post solution
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - Permission, (Username), Windows