1.

Solve : Connect/disconnect from internet.?

Answer»

Hi guys, I need your to make a batch that discnnects me from the network then reconnect. (Because I have dynamik IP and want to change it fast)
I want to disconnect from my broadband network not from LAN/LOCAL Area Connection if possible. I searched on google and found nothing that can help me, doesn't matter if it disconnects me from LAN or broadband and reconnect me, just do to it!
Thank you!Ipconfig /?

Try:
ipconfig /release
ipconfig /renew

Is that what you want?Nope, didn't work. Typed what you said, it worked 1 minute on ipconfig /renew (the LAN was showing "accuiring network address") and then this:

[SAVING space, attachment deleted by ADMIN]You're using Hamachi? I think there's a way to disconnect/reconnect from there. It also may be the reason why it's not reconecting via iponfig.  I disabled TeamViewer VPN and hamachi, and i forgot to tell you, when i connect directly with the cable i get that error, when i connect from the wireless router it works, but renews my LAN ip not client.
I need a way to disable from the broadband not local area connection, or disable/aneble local area connection, not renew my ip, disable and ENABLE (thats how it works :|)Try creating a .bat or .cmd file with following 2 lines:
net stop WZCSVC
net start WZCSVC

It will restart the Wireless Zero Configuration service, which should solve your problem, provided that you: 1. use XP (I can SEE that you do), 2. connect to internet wirelessly (you do, if I understand correctly), 3. you don't use 3rd party software for wireless (you let Windows manage the connection).
Oh, and in case you switched to Win7, use Wlansvc instead of WZCSVC (and you must run the bat file as Administrator).



Discussion

No Comment Found