Hello,
Are you logged in locally to the machine OR are you trying to change the file using Remote Desktop?
Make sure you are logged to the machine locally as an Administrator.
If you are logged in to the machine locally, then restart and try again.
Hope that helps!!