{"record":{"id":"f4ab654a185b0d0d","repo":"tailscale/tailscale","slug":"winnet-newnetworklistmanager-v","errorCode":null,"errorMessage":"winnet.NewNetworkListManager: %v","messagePattern":"winnet\\.NewNetworkListManager: (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"wgengine/router/osrouter/ifconfig_windows.go","lineNumber":184,"sourceCode":"\t// NLM_NETWORK_CATEGORY values.\n\tconst (\n\t\tcategoryPublic  = 0\n\t\tcategoryPrivate = 1\n\t\tcategoryDomain  = 2\n\t)\n\n\tifcGUID, err := ifcLUID.GUID()\n\tif err != nil {\n\t\treturn false, fmt.Errorf(\"ifcLUID.GUID: %v\", err)\n\t}\n\n\t// aaron: DO NOT call Initialize() or Uninitialize() on c!\n\t// We've already handled that process-wide.\n\tvar c ole.Connection\n\n\tm, err := winnet.NewNetworkListManager(&c)\n\tif err != nil {\n\t\treturn false, fmt.Errorf(\"winnet.NewNetworkListManager: %v\", err)\n\t}\n\tdefer m.Release()\n\n\tcl, err := m.GetNetworkConnections()\n\tif err != nil {\n\t\treturn false, fmt.Errorf(\"m.GetNetworkConnections: %v\", err)\n\t}\n\tdefer cl.Release()\n\n\tfor _, nco := range cl {\n\t\taid, err := nco.GetAdapterId()\n\t\tif err != nil {\n\t\t\treturn false, fmt.Errorf(\"nco.GetAdapterId: %v\", err)\n\t\t}\n\t\tif aid != ifcGUID.String() {\n\t\t\tcontinue\n\t\t}\n","sourceCodeStart":166,"sourceCodeEnd":202,"githubUrl":"https://github.com/tailscale/tailscale/blob/6e0912f97994f927632b34ae9e63b53d6516a6ac/wgengine/router/osrouter/ifconfig_windows.go#L166-L202","documentation":"setPrivateNetwork failed to instantiate the COM INetworkListManager via winnet.NewNetworkListManager. Usually caused by COM being unavailable in the current process context or the required Windows networking services not running.","triggerScenarios":"Thrown at wgengine/router/osrouter/ifconfig_windows.go:184 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Ensure the Network List Service (netprofm) is running","Retry the COM instantiation — transient COM initialization races can occur","Skip the private-network category change; it is advisory, not critical"],"exampleFix":null,"handlingStrategy":"retry","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"6e0912f97994f927632b34ae9e63b53d6516a6ac","analyzedAt":"2026-08-18T08:17:25.280Z","contentChangedAt":"2026-08-18T08:17:25.280Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}