Enable and disable Internet

By Heng Sea Hong
Apr 19, 2013
Post New Reply
  1. Dear All!
    I want to enable and disable internet without using enable or disable network in lan network, I want program on and off? have any program?
    thank with best regards
  2. St1ckM4n

    St1ckM4n TS Evangelist Posts: 2,920   +627

    What? Is disabling the adaptor too hard? I'm sure there's something for this, but uh... really..?

    Or do you want to disable Internet access and still have LAN access?
  3. Heng Sea Hong

    Heng Sea Hong TS Member Topic Starter Posts: 32

    I want to disable internet access at my client PC because have one program it run online but I don't want it to update, If update it will not work any more,
    if first start it will auto update when internet not disable, this game is no option to disable auto update.
    so every time I must go to
    1. My Network Place
    2. click on properties
    3. right click on Local area Connection click on disable to disable internet access
    4. then start game but not log in yet
    5. Enable Local area Connection, allow internet access back
    6. Log in to enjoy game
    so every time I want to play this game I must do this.
    Have any program to on and off internet access instant of part 3 and 5?
    thank for any reply.
    Best regards
  4. tracker1

    tracker1 TS Rookie

    You might wanna try making a batch script, that does the following:
    1. Disable network interface
    2. Run game
    3. Enable network interface

    Checkout netsh command.
    netsh interface show interface ------ Shows available interface
    netsh interface set interface name="Wireless Network Connection" admin=DISABLED ------ Disable wireless connection
    netsh interface set interface name="Wireless Network Connection" admin=ENABLED ------ Enable wireless connection
    start c:\windows\notepad.exe ------ Run a program
  5. Heng Sea Hong

    Heng Sea Hong TS Member Topic Starter Posts: 32

    Oh thank is not my want!
    I want program only click on and off?
    I use wire to connect from pc to Hub. now use wireless.
  6. Rabbit01

    Rabbit01 TS Evangelist Posts: 787   +58

    If you have firewall installed, then you might be able to configure it to block that specific program from going online.
  7. fimbles

    fimbles TS Evangelist Posts: 1,160   +198

    +1 to what rabbit posted above.

    Go to start and type firewall in to your search box, Block the games connection in inbound and outbound rules using properties.
  8. tracker1

    tracker1 TS Rookie

    Auto-update can't be disabled. He wants to block internet access only during the update check of the game so it wont auto-update. And then enable internet access after the update check (has failed).

    You can just create a separate batch file to enable and disable network interface. Or a single batch file to toggle enable/disable network interface.
  9. tracker1

    tracker1 TS Rookie

    You can use:
    netsh interface show interface
    to show what interfaces are available. Just replaces the wireless with the connection you are using.
  10. Rabbit01

    Rabbit01 TS Evangelist Posts: 787   +58

    In that case, have the firewall block inbound & outbound connection for the duration then resume normal operation.

Similar Topics

Add New Comment

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...