Thanks for confirming,
From here, I would make sure that the user within the WMI Query has sufficient rights on the target, in particularity, DCOM
Give the user Remote Launch and Remote Activation permissions in dcomcnfg. Right-click My Computer-> Properties Under COM Security, click "Edit Limits" for both sections. Give the user you want remote access, remote launch, and remote activation. Then go to DCOM Config, find "Windows Management Instrumentation", and give the user you want Remote Launch and Remote Activation
Or if UAC is enabled on the Target, that may do it as well (In a workgroup, the account connecting to the remote computer is a local user on that computer. Even if the account is in the Administrators group, UAC filtering means that a script runs as a standard user)
If so, to solve the problem, UAC filtering for local accounts must be disabled by creating the following DWORD registry entry and setting its value to 1:
[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System] LocalAccountTokenFilterPolicy
And of course the basic reason, incorrect username / password
If still have issues, you can search for 0x80070005 WMI and should get quite a few fixes that can be implemented