In general, Scanning Access Denied errors usually point to invalid credentials or credentials that lack the required privileges to complete the scan. However, they could also be caused by a firewall that is interfering with the scanning process.
Double-check the troubleshooting steps in the below knowledge base articles on WMI Access is denied errors and on The RPC server is unavailable errors, these have similar causes and solutions.