Windows OS: Any
CA WA Agent 11.4
The error is due to inadequate permissions.
When upgrading the CA WA Agent make sure:
1. The Agent has stopped
2. Run the CA WA Agent setup.exe as administrator. Right click on setup.exe and click on "Run As Administrator"