Windows Containers - Python WMI connection to remote system from container fails with access denied error

AbhishekReddy 1 Reputation point
2021-04-23T02:22:48.97+00:00

I am running a Windows container created from base image python2.7.18-windowsservercore. But when using the wmi module from python on container, was unable to connect to any remote system from the container. It simply fails with access denied error even though the right credentials were used

90439-wmi-error.png

Tested the same from another normal windows host to remote machine which is working fine. Any suggestions for config changes on container or where am I doing wrong.

I am running container on Win2019 server

Windows development | Windows API - Win32
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.