An 'Access Denied' error usually indicates that the user (or service account, if using a Recast Proxy) attempting to run Right Click Tools actions does not have local administrator access on the target computer.
How to Resolve the Issue
There are two options for resolving the error:
Make sure that the user running the action in the Configuration Manager console has Local Administrator permissions on the target device. If Local Administrator access is not allowed for certain users, a Recast Proxy can be configured to run the actions as a service account.
If named user accounts do not have Administrator Access to computers, you can also resolve access issues by installing a Recast Agent on a device. Each agent must be installed separately, configured to run actions and authorized in the Recast Management Server interface.
7/20/22: Reports indicate that KB5014699 may be causing this error in some environments. If you recently installed this update, roll it back and test if issues persist.
8/11/22: WMI connectivity issues associated with KB5014699 are confirmed resolved by downloading July 2022 or later patches.
How to test for potential WMI connectivity issues