How to Disable Internet and Keep Lan Working (Windows 10)

Поделиться
HTML-код
  • Опубликовано: 25 окт 2024
  • disable internet,disabling net while keeping lan, windows 10, internet disable batch file.
    Hiya guys quick vid showing how to enable / disable internet and keep Lan working in windows 10
    With a how to on a working batch file for ease of use
    thnx for watching like sub comment.
    the text for the batch file for anyone who wants to just copy/paste
    rather than write it out. (just change ip and names to your networks)
    @echo off
    color 0a
    echo.
    echo 1.Disable Internet
    echo 2.Enable Internet
    echo.
    set /p a=
    IF %a%==1 netsh interface ipv4 set address name="Ethernet" static 192.168.0.4 255.255.255.0 192.168.0.0
    IF %a%==2 netsh interface ipv4 set address name="Ethernet" source=dhcp

Комментарии • 3