Re: [python-win32] GetNetworkConnections fails since a Windows update

2023-05-03 Thread Steven Manross
That happens here too in Win10/Win11 using your code. It looks like Microsoft altered the COM object for you not to be able to do a GetNetwork or GetCategory on the connection object, but that seems odd since it basically renders the object pointless. P.S. some powershell code doesn't seem to

[python-win32] GetNetworkConnections fails since a Windows update

2023-05-03 Thread cwa...@gmail.com
Hello. After a recent update on Windows 10, I not able to tell exactly which, I've a strange behavior on a program that works fine since 2015 on thousands of machines... * With this code : def networks_private(): NETWORK_CATEGORIES = {1: "PRIVATE",0: "PUBLIC", 2: "DOMAIN"} m = win3