How to Delete Undeletable Files in Windows 7
takeown /f file_name /d yicacls file_name /grant administrators:F
For Directories (will perform action recursively):
takeown /f directory_name /r /d yicacls directory_name /grant administrators:F /t
Above syntaxes will grant full permission to administrator group hence you must be a part of administrator group to take advantage of above command.
Written by ShaDow on January 21st, 2009 with no comments.
Read more articles on Windows 7 Tips and otherSoftware.



















