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 dhcpexit
You can copy and paste into Notepad then save it as .bat
Posted in Command Line Tagged: ????????????????, Command Line, PC Tips, Windows
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.
- [+] Digg: Feature this article
- [+] Del.icio.us: Bookmark this article
- [+] Furl: Bookmark this article















