If you are tweaking your system according to your preferences and you want to change the Windows system files for this, you should have ownership of the folder which contains your files. This is the step by step guide which will enable you to grant yourself full permission to change the system files.
1) Navigate to the folder which contains the files that you want to change. Right-click on the folder and select properties.
2) As you can see from the screenshot that the user does not have full control to make the changes. Click on the Advanced button.
3) After the window opens, click on the Owner tab. You will notice that the current owner is set as ‘TrustedInstaller’. Now click on the Edit button.
4) From this window select the user that you want to be the owner and mark the check box ‘Replace owner on subcontainers and objects’. After doing this, click on Apply. A dialog box with a confirmation message will pop up. Click on OK.
5) Exit from both the dialog boxes and come to the properties window again. Select your username and click on the Edit button. It will open a new window.
6) From this window you can get full control by clicking on the check box Full control and clicking on OK.
That’s it! This is how you can edit or change any system file easily. But before making any changes make sure to make a back up of the file and store it in safe location.