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 API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,422 questions
{count} votes