give ownership to administrators
Use windows explorer to set permissions as desired.
GIVE ADMINISTRATORS OWNERSHIP OF A FILE/FOLDER
As “owner” you can change a file’s/folder’s permissions.
To delete a file / folder, you must have permission to delete the file / folder.
When trying to delete a file, you will sometimes get that ugly “access denied” message. By taking ownership and giving yourself permission to delete, then you can delete a file/folder.
The easiest way:
give Administrators ownership
give (if necessary) administrators Full Permissions which includes the Delete permission.
Overview:
Run CMD.EXE as an administrator.
Run the TAKEOWN command
EXIT back to Windows
Example:
Takeown /F filename /A
filename specifies the filename or folder
"*" can be used to specify all
E:\ specifies Drive E.
Example:
Give ownership of Stubborn.docx in D:\Reports to all administrators
cd /D D:\Reports
changes the current drive and folder
Takeown /f stubborn.docx /A
gives administrators ownership
Example:
Give ownership of drive I and every folder and file therein to administrators:
takeown /F I:\ /A /R
the /R parameter specifies to “recurse”
NOTE:
If, as administrator, you still cannot access the file, give yourself full permission using the ICACLS command.
Navigate to location of file, then
ICACLS stubborn.docx /GRANT r: Administrators
F)
With full permission, an administrator can delete the file/directory.
Taking Ownership, subsequently granting ownership to another group or user, changing permissions can all be done using Windows Explorer.
=============================================
===========================================
http://www.sevenforums.com/tutorials/122666-permissions-allow-deny-users-groups.html
===================================