That error message has to do with the “register COM objects” option in your job. You can ignore that. Is this system part of a domain? If so, the Domain could be enforcing the policy.
Domain policy does govern the policy but the GPO update is run every 90
minutes therefore for testing purposes I should be able to remediate it
as required and at least see the result before GPO is automatically
I will have to change the GPO for permanent change but all I am trying
to do is test that the remediation packages work.
Policy is enforced until that policy is changed, so one is not allowed to change a setting that is enforced by policy until that policy is changed by an update.