internet enable disable using registry in windows xp
-
How I can enable and disable internet using MFC or win32 api programmatically or I can use any registry settings for that? I am accessing internet using NIC. Any help....
-
How I can enable and disable internet using MFC or win32 api programmatically or I can use any registry settings for that? I am accessing internet using NIC. Any help....
This the place in your registry to munge with your NIC settings. Put in false information for the default gateway to cripple the internet, put in false settings for Subnet Mask to cripple the LAN put in false settings for IP address to cripple everything. I don't know if this will work without restarting. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces What I would instead do is Google "enable dhcp command line Windows XP" and you will see how you can invoke commands from the shell/command line to enable disable the network connection or you can search on NETSH. There are more ways to do this than there are airports in the world so this shouldn't be too hard if you search well on Google.
My name is Maximus Decimus Meridius, Commander of the Armies of the North, General of the Felix Legions, loyal servant to the true emperor, Marcus Aurelius. Father to a murdered process, husband to a murdered thread. And I will have my affinity, in this life or the next. - Gladiator. (Okay, not quite Gladiator but close.) I work to live. I do not live to work. My clients do not seem capable of grasping this fact. Ancient of days! august Athena! where, Where are thy men of might? - Lord Byron