Disabling network in Win 10

Discussion in 'Windows 10' started by retest, Jul 15, 2017.

  1. retest

    retest MDL Junior Member

    Nov 2, 2010
    85
    38
    0
    #1 retest, Jul 15, 2017
    Last edited: Jul 15, 2017
    How could I prevent Win 10 from accessing the net ? I know I can disable adapters. I want another solution.

    Background : I have a tiny Win10 ( 1.2GB ) booting from a vhd. I use it for maintainance. I use it on more than 1 system (it's 'universal') so disabling adapters is (edited to not) not a good solution.

    Can I disable some service, delete some files, use gpedit .... etc that will never allow Win 10 from accessing the net? Right from the time it boots up.

    I don't mind a solution that's irreversible.
     
  2. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,411
    15,486
    210
    - Go to Network and Sharing Center and choose Change adapter settings
    - Right click on the network adapter and choose properties
    - Select Internet Protocol 4 (TCP/IP) and choose properties
    - Choose Use the following IP address
    - Enter the IP address
    - Subnet mask will be auto selected
    - Don't enter anything for the Default gateway, leave it blank
    - Click on Ok.

    This will block the system to conect to the internet and still be visible to the local network.
     
  3. retest

    retest MDL Junior Member

    Nov 2, 2010
    85
    38
    0
    Thanks @MSMG, will try.

    Some more suggestions welcome from others.
     
  4. TairikuOkami

    TairikuOkami MDL Expert

    Mar 15, 2014
    1,172
    1,055
    60
    By default Windows uses DHCP to assign IP, so just disabling that one should do prior to installing Windows (it also disables Windows Update and and unlike its WU service, it does not auto-starts itself, when disabled). Disabling "Network Store Interface Service" disables all network services, DHCP included, but it also prevents you from managing network settings. Note, that network will work, if someone would assign a static IP/DNS to adapter, but it is highly unlikely something would be able to do it.

    Code:
    sc config Dhcp start= disabled
    net stop Dhcp /y
    
    sc config nsi start= disabled
    net stop nsi /y