This is exactly the same change (modulo some formatting differences) as was applied to tun.c/win32.c in release/2.6 / commit d383d6e (the iservice part is not needed in master/2.7 as the DNS stuff has been fully rewritten).
So I did not re-test this, besides "does it compile with mingw" (and the BBs are happy). Your patch has been applied to the master branch. commit 5681535b1927c339398196707b359a94786fd2c0 Author: Lev Stipakov Date: Mon Sep 15 15:03:38 2025 +0200 win: replace wmic invocation with powershell Signed-off-by: Lev Stipakov <l...@openvpn.net> Acked-by: Gert Doering <g...@greenie.muc.de> Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1187 Message-Id: <20250915130344.2906-1-g...@greenie.muc.de> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg32951.html Signed-off-by: Gert Doering <g...@greenie.muc.de> -- kind regards, Gert Doering _______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel