Your best source of information and news about BIOS, hardware and secrets on the internet

Vista ARTICLES TOP 50 Spyware Virus Vista SOFT Vista HELP

Command line to Disable/Enable DHCP Client



For some security reasons for your Server to be offline from the network at any specific time or to prevent some computers on the network from accessing the internet, you can disable the DHCP (Dynamic Host Configuration Protocol) from the Service management console or using this command line.

-Command line to Disable DHCP Service:

echo off
net stop dhcp
sc config dhcp start= disabled
exit

-Command Line to Enable DHCP

echo off
sc config dhcp start= auto
net start dhcp

exit

You can copy  and paste into Notepad then save it as .bat

Posted in Command Line Tagged: ????????????????, Command Line, PC Tips, Windows
Popularity: 1%


Written by Myhouse. Read more great feeds at is source WEBSITE
no comments.
Read more articles on ???????????????? and PC Tips and Command Line and otherSoftware and Windows.

No comments

There are still no comments on this article.

Leave your comment...

If you want to leave your comment on this article, simply fill out the next form:




You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong> .