May 31, 2009

How to turn off LAN using Windows Command

This is for people who love to work with commands. Most people who jump from Linux to Windows(Impossible!!) rub their fingers along the Command Dos Prompt window.

Even it is good to work commands, as GUI is always "What you see is what you get"


1. Open Run (Windows + R) and type cmd. In case of Vista/Se7en run Command DP from Start->Accessories->Command Prompt and Run as Administrator

2. Type the following commands to stop the internet.

ipconfig /release
net stop dhcp

3. Type the following commands to start it again.

net start dhcp
ipconfig /renew

This should work perfectly.

This process works only if you have a Dynamic IP.

- Infected with Harish Syndrome

No comments: