Wednesday, November 4, 2009

Delete Undeletable files in Windows 7

Deleting/renaming/moving some files in Windows 7 can be quite tricky, annoying sometimes even. Therefore, here's a little guide to delete undeletable files in windows 7:




1) Press this combination:
Windows-Key + R

2) In this new window, type:
CMD

3) the old DOS-window will appear.

a) For Files:

--> type this in:

Code:
takeown /f file_name /d y
icacls file_name /grant administrators:F

b) For Directories

--> Type this in:

Code:
takeown /f directory_name /r /d y
icacls directory_name /grant administrators:F /t

As a directory name, you could use, for example, your C:\Windows or C:\Program Files folder, which will automatically solve any annoying with the UAC

How to speed up firefox

No comments:

Post a Comment