Its Quite Simple. I am answering this step wise.
- Copy the file to any other location.
- Modify that file and save it as per your need.
- Rename the file from system32 directory or delete it from there.
- Now copy the file (Created in Step 2 )to the same directory (System 32).
Also if you want to give the permission to do all this changes then these steps need to be followed.
- Go to System32 folder where you need to change permissions. Right-click on it and select Properties from the drop down list.
- The System32 Properties dialog box opens. Click on the Security tab and then select the Advanced button.
- Click on the Owner tab. Currently the name for Current Owner is Trusted Installer. To change the Owner, click the Edit button. Select the account you would like to change the Owner to which would normally be your account or the Administrators account.
- Click OK OK to exit out of System32 properties dialog box and returned to folder.Again right click on the System32 folder and open the Properties dialog box. Navigate to the Security tab and select the Edit button.
- Click on the Username in the list you want to edit the permissions for, which should be the same as the Current Owner of the folder. Tick the box to allow Full Control and click OK OK to exit out from menu.
- Now you are done and you will be able to delete and copy the files in System 32 Directory.
Let me know in case you need more help!!!