AbhishekReddy-4299 avatar image
0 Votes"
AbhishekReddy-4299 asked SongZhu-MSFT commented

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

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


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

wmi-error.png (22.5 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers