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:\thepath\whereYouWantControl\

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,
Ahmet

 

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>