Rule your files – get permission on most of your pc files.

By | May 7, 2009

Sometimes it happens that you need to manually delete files and windows kindly inform you that you don’t have enough privileges to do so, even as an administrator of your own machine…

To fix this problem you will have to use cmd.exe (as an administrator):
> cd /d c:thepathwhereYouWantControl

Now you want to take ownership of this folder:
> takeown /F . /A /R /D Y > NUL

Finally get persmission to edit/delete under this folder:
> icacls . /grant:r Administrators:(F) /T /L /Q

Hope it helps,


0 Kudos