Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Disconnecting & Reconnecting Internet via shortcut

10 Feb 2016   #1
WinDozeUser

Win 7 Home Premium 32bit, Win 10 Home 64bit
 
 
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 System SpecsSystem Spec
.
10 Feb 2016   #2
EmmaRoyd

Windows 7 Ultimate x64
 
 

go to your network connections, right cllick on adapter, create shortcut
My System SpecsSystem Spec
10 Feb 2016   #3
WinDozeUser

Win 7 Home Premium 32bit, Win 10 Home 64bit
 
 

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 System SpecsSystem Spec
.

Reply

 Disconnecting & Reconnecting Internet via shortcut




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Flash drive keeps disconnecting and reconnecting every second.
So I have this pretty sweet flash drive. 64GB and USB 3.0. I used it for a while but it wasn't fast enough so I enabled write caching. The downside to write caching is that unplugging the flash drive without ejecting is more dangerous. I don't know if this was the problem or even when the problem...
Hardware & Devices
USB Mouse disconnecting and reconnecting
Hello. I'm aware there's already plenty of documentation on this but I've tried literally everything I can find from a google search and nothing has helped. I've tried: New mouse, updating/reinstalling drivers, removing all the USB entries in device manager and letting them reinstall after...
Hardware & Devices
Mouse keeps disconnecting and reconnecting
i have a normal hp mouse that doesnt require any software to use. it disconnects randomly from time to time as i play games and use windows. i tried my mouse on my friends computer for a few minutes it worked perfectly. i bought a new mouse from a shop and used it .... although the new mouse didnt...
Hardware & Devices
Internet keeps disconnecting and ten reconnecting
Hey there! my internet keeps disconnecting and then reconnecting after for some reason. I am using wifi on my computer to connect to the internet and every other computer in the house uses same thing and works fine. But my computer keeps disconnecting and then reconnecting to internet for some...
Network & Sharing
AIM 7.3 keeps disconnecting and reconnecting
I have installed AIM 7.3 on my recently purchased Asus Bamboo, and it keeps disconnecting and reconnecting every 5 minutes. It is driving me nuts! I HAVE -tried installing aim 5.9. It ALSO disconnects. -rebooting computer and router. Still disconnects. -reinstalled both aim 5.9 and 7.3...
Software
Continuosly disconnecting and reconnecting
My laptop is continuosly disconnecting and reconnecting to the internet. The connection might start stable for like an hour after starting my laptop and then disconnect for a second or two and immediately reconnect and again work fine for a while. Or sometimes right after starting my laptop the...
Network & Sharing


Our Sites

Site Links

About Us

Find 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 01:32.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App