How to Delete Undeletable Files in Windows 7
When you install Windows 7 on another partition the data from your previous OS becomes Undeletable in Windows 7.
Usually this problem of undeletable files and folder is because of Access control list of these object is associated with SID of old operating system user accounts and these users are not present in your windows 7, effectively data is owned by nobody or non-existent user.
In order to access the files and folder for manipulation, modification or deletion, we will need to take control of the files under Windows 7. Here are two command line syntaxes to instantly take ownership of such files,
For Files:
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.
[Via BlogsDNA]
Popularity: 1%
Written by ShaDow. Read more great feeds at is source WEBSITE
no comments.
Read more articles on Windows 7 Tips and otherSoftware.
- [+] Digg: Feature this article
- [+] Del.icio.us: Bookmark this article
- [+] Furl: Bookmark this article















