windows Change Permissions on Registry key via Command line
Then press the ‘Advanced’ button to open the Advanced Security Settings window. Your username should now be listed as the ‘Current owner’. This is good for security as it protects them from tampering or incorrect changes which might seriously mess up Windows – be wary of trying to change such keys