The "Access Denied" error you are encountering when trying to run Cluster-Aware Updates (CAU) in Windows Admin Center (WAC) is likely related to the configuration of credentials delegation and the settings in Group Policy. Here are some steps to troubleshoot and resolve the issue:
- Check Credential Delegation Settings: Ensure that the Group Policy settings for credential delegation are correctly configured. You need to enable the policy at
Computer Configuration -> Administrative Templates -> System -> Credentials Delegation -> Allow Delegating Fresh Credentials. Make sure that the SPN is set correctly for the target computer, such asWSMAN/myserver.domain.comorWSMAN/*.domain.com. - Verify Group Policy Application: Use
gpresult /h result.htmto generate a report and confirm that the policies are being applied as expected. Look for any conflicting policies that might override your settings. - Enable CredSSP: Since you are using CredSSP for authentication, ensure that it is enabled on both the client and the server. You can run the following commands:
Enable-WSManCredSSP -Role Client -DelegateComputer "*" Enable-WSManCredSSP -Role Server - Test Remote Connectivity: After making changes, test the remote connectivity again using the
Invoke-Commandcmdlet. If you still encounter issues, check the WinRM configuration and ensure that it is set up correctly on both the client and the target nodes. - Firewall and Network Configuration: Ensure that there are no firewall rules or network configurations that might be blocking the WinRM traffic.
If you have followed these steps and the issue persists, consider reviewing the logs for any additional error messages that might provide more context about the failure.
References: