Permission denied even Admin

Discussion in 'Operating Systems' started by grandpatzer, Sep 5, 2011.

  1. grandpatzer

    grandpatzer Gawd

    Feb 24, 2010
    A good time ago I followed this guide to share folders with media player WD LIVE, everything good and well until I realized following: I cant's transfer, create or delete files & folders..

    What to do?

    I shared a big folder on a RAID5 unit and it got loads of data on it (the locked folder)
  2. TheGamerZ

    TheGamerZ [H]ardness Supreme

    Sep 18, 2003
    You're probably not the owner.

    Paste this in notepad and save it as a .reg file

    Windows Registry Editor Version 5.00
    @="Take Ownership"
    @="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
    "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
    @="Take Ownership"
    @="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
    "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
    Run that and now you'll have a "Take Ownership" option in the right-click menus. Take ownership of all of that.