pypsexec.exceptions.SCMRException: Exception calling ROpenSCManagerW. Code: 5, Msg: ERROR_ACCESS_DENIED
[DEBUG ] Retrying psexec connection to host <Windows VM IP> on port 445 (try 1)
This issue can happen in Aria Automation Config 8.x
When Salt Minion is to be deployed, Windows local username or Domain username is to be filled as the picture below:
If this username has wrong permission to the folder shared by SMB, Salt Minion will be failed to deploy with error "ERROR_ACCESS_DENIED" in /var/log/salt/master
Please make sure the "username" has full access on the SMB share folder.