Disconnecting & Reconnecting Internet via shortcut


  1. Posts : 52
    Microsoft Windows 7 Home Premium Build 7601 32bit
       #1

    Disconnecting & Reconnecting Internet via shortcut


    Oddly, in this "always connected" world, I am trying to do just the opposite. I am trying to create a quick shortcut, or method, to disable both the LAN and WiFi connections on a Windows 7 home premium computer.

    Maybe there is some script, batch-file, or registry tweak that can be used. Any one have a way to accomplish this.

    Thanks
      My Computer


  2. Posts : 33
    Windows 7 Ultimate x64
       #2

    go to your network connections, right cllick on adapter, create shortcut
      My Computer


  3. Posts : 52
    Microsoft Windows 7 Home Premium Build 7601 32bit
    Thread Starter
       #3

    These two bat files seem to do the trick. Any takes on them??

    Disconnect Code:
    Code:
    @echo off
    ipconfig /release *Conn*
    Reconnect Code:
    Code:
    @echo off
    ipconfig /renew *Conn*
    ...the *conn* refers to the LAN and WiFi "Connection" descriptor
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 16:03.
Find Us