- First you need to take ownership of the file. Run takeown /f "path and file name" to take ownership from a command prompt.
- Next, you need to give your account full control permissions on the file. Run cacls "path and file name" /G <your username>:F to get full control from a command prompt.
How to delete / replace a system file
Posted in Windows Vista by Steve Sinchak
In many of the tweaks on this site I have directed you to delete or replace a system file. In Windows Vista this is not always as easy as it sounds since the system files are protected better by the file system than in XP. There are two steps that you need to do in order to be able to replace or delete a system file: