WMI error - Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
Hello everyone! I have got an error, 0x80070005 (E_ACCESSDENIED)), when trying to collect some data by using WMI remotely (using PowerShell). I have made changes to DCOM (I gave the user Remote Launch and Remote Activation permissions in dcomcnfg and do the same with "Windows Management Instrumentation"), but it's didn't helped. I am using admin rights, so permissions isn't an issue (I guess). What I need to do else?
  • Edited by Net Ranger Friday, September 11, 2015 8:22 AM
September 11th, 2015 8:21am

I have figured out, that's icm .. -scriptblock {gwmi ...} is working (no errors, except if a target PC is turned off). Different ports or services? Don't sure. But at least I got workable solution. Thanks for help.
  • Edited by Net Ranger 22 hours 25 minutes ago
  • Marked as answer by Net Ranger 22 hours 25 minutes ago
Free Windows Admin Tool Kit Click here and download it now
September 14th, 2015 4:42am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics