Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.comp.os.windows-10 > #194526

Re: PSA: Simple Wi-Fi gateway killswitch that works with OpenVPN config files

From Maria Sophia <mariasophia@comprehension.com>
Newsgroups alt.comp.os.windows-10, alt.comp.os.windows-11, alt.comp.microsoft.windows
Subject Re: PSA: Simple Wi-Fi gateway killswitch that works with OpenVPN config files
Date 2026-07-17 10:36 -0400
Organization BWH Usenet Archive (https://usenet.blueworldhosting.com)
Message-ID <113deld$1to0$1@nnrp.usenet.blueworldhosting.com> (permalink)
References <113bpm4$1s4r$1@nnrp.usenet.blueworldhosting.com> <113bqj6$1q6g$1@nnrp.usenet.blueworldhosting.com> <113bqui$1s6n$1@nnrp.usenet.blueworldhosting.com> <113br54$7je$1@nnrp.usenet.blueworldhosting.com> <nbu3haFm4n3U1@mid.individual.net>

Cross-posted to 3 groups.

Show all headers | View raw


Andy Burns wrote:
> Bear in mind that the default install does not include WMIC since 24H2, 
> worth having some form of test for
> 
>      if not exist %windir%\system32\wmic.exe

Hi Andy,

Yes, WMIC is deprecated. 
Thanks for pointing that out as others will benefit.

Worse, WMIC is lying to us, so our old scripts utilizing it are failing.

WMIC used to be a reliable way to read gateway information.
Now WMIC reports the configured gateway, not the actual routing table
state.

We learned from this endeavor that modern NICs and Windows networking
subsystems auto-repair routes, so WMIC often shows a gateway even when the
route is gone.

WMIC is deprecated entirely, meaning scripts depending on it will break
over time.

That's why I had written the lesson that the routing table is the real
source of truth. Anything else is metadata.

This is a fundamental Windows networking principle in 2026. 
-- 
If we don't strive to understand how Windows works, we should not be here.

Back to alt.comp.os.windows-10 | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

PSA: Simple Wi-Fi gateway killswitch that works with OpenVPN config files Maria Sophia <mariasophia@comprehension.com> - 2026-07-16 19:32 -0400
  Re: PSA: Simple Wi-Fi gateway killswitch that works with OpenVPN config files "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2026-07-17 07:35 +0800
    Re: PSA: Simple Wi-Fi gateway killswitch that works with OpenVPN config files Maria Sophia <mariasophia@comprehension.com> - 2026-07-17 01:05 -0400
    Re: PSA: Simple Wi-Fi gateway killswitch that works with OpenVPN config files "Carlos E. R." <robin_listas@es.invalid> - 2026-07-17 14:43 +0200
      Re: PSA: Simple Wi-Fi gateway killswitch that works with OpenVPN config files Maria Sophia <mariasophia@comprehension.com> - 2026-07-17 10:35 -0400
  Re: PSA: Simple Wi-Fi gateway killswitch that works with OpenVPN config files Maria Sophia <mariasophia@comprehension.com> - 2026-07-16 19:47 -0400
    Re: PSA: Simple Wi-Fi gateway killswitch that works with OpenVPN config files Maria Sophia <mariasophia@comprehension.com> - 2026-07-16 19:53 -0400
      Re: PSA: Simple Wi-Fi gateway killswitch that works with OpenVPN config files Maria Sophia <mariasophia@comprehension.com> - 2026-07-16 19:57 -0400
        Re: PSA: Simple Wi-Fi gateway killswitch that works with OpenVPN config files Maria Sophia <mariasophia@comprehension.com> - 2026-07-16 20:01 -0400
        Re: PSA: Simple Wi-Fi gateway killswitch that works with OpenVPN config files Andy Burns <usenet@andyburns.uk> - 2026-07-17 08:23 +0100
          Re: PSA: Simple Wi-Fi gateway killswitch that works with OpenVPN config files Maria Sophia <mariasophia@comprehension.com> - 2026-07-17 10:36 -0400
  Re: PSA: Simple Wi-Fi gateway killswitch that works with OpenVPN config files Killer Punch <invalid@invalid.invalid> - 2026-07-17 01:16 +0100
    Re: PSA: Simple Wi-Fi gateway killswitch that works with OpenVPN config files Maria Sophia <mariasophia@comprehension.com> - 2026-07-17 01:34 -0400
  Re: PSA: Simple Wi-Fi gateway killswitch that works with OpenVPN config files Maria Sophia <mariasophia@comprehension.com> - 2026-07-17 14:17 -0400
    Re: PSA: Simple Wi-Fi gateway killswitch that works with OpenVPN config files Maria Sophia <mariasophia@comprehension.com> - 2026-07-17 14:23 -0400
  Re: PSA: Simple Wi-Fi gateway killswitch that works with OpenVPN config files Maria Sophia <mariasophia@comprehension.com> - 2026-07-18 13:08 -0400
    Re: PSA: Simple Wi-Fi gateway killswitch that works with OpenVPN config files Maria Sophia <mariasophia@comprehension.com> - 2026-07-18 17:10 -0400
      Re: PSA: Simple Wi-Fi gateway killswitch that works with OpenVPN config files croy <croy@spam.invalid.net> - 2026-07-19 06:39 -0700
        Re: PSA: Simple Wi-Fi gateway killswitch that works with OpenVPN config files Paul <nospam@needed.invalid> - 2026-07-19 10:42 -0400
          Re: PSA: Simple Wi-Fi gateway killswitch that works with OpenVPN config files Maria Sophia <mariasophia@comprehension.com> - 2026-07-19 22:29 -0400
            Re: PSA: Simple Wi-Fi gateway killswitch that works with OpenVPN config files Hank Rogers <Hank@nospam.invalid> - 2026-07-19 21:41 -0500
              Re: PSA: Simple Wi-Fi gateway killswitch that works with OpenVPN config files Maria Sophia <mariasophia@comprehension.com> - 2026-07-24 10:59 -0700
            Re: PSA: Simple Wi-Fi gateway killswitch that works with OpenVPN config files Paul <nospam@needed.invalid> - 2026-07-19 22:49 -0400
              Re: PSA: Simple Wi-Fi gateway killswitch that works with OpenVPN config files Maria Sophia <mariasophia@comprehension.com> - 2026-07-20 00:28 -0400

csiph-web