If your are replacing or changing system files in Windows 7 and Vista then first you have to take ownership of the file and then grant your username full control of the file.

Just add this file to your registry and right click on the file you want to own and click on "Take Ownership".
If you don't like above registry files, then follow these steps to do this manually:
Start button > All Programs > Accessories > Right-click on Command Prompt > Select Run as administrator > Click Continue.
Now input icacls filepath /grant yourusername:f
