Strange behavior of WMI EnableDHCP command on Windows Vista & 7
Tell me what API to enable DHCP not using Netsh.
"Strange behavior of WMI EnableDHCP command on Windows Vista & 7"
http://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/e30cfdf1-4e5c-4bcc-bfe7-540b62ef63ad
Thank you.
September 14th, 2010 7:38pm
If you want to manage DHCP via script, you can refer:
Performing Networking Tasks: Managing DHCP from PowerShell
Important Note: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
Arthur Xie
TechNet Subscriber Support in forum
If you have any feedback on our support, please contact
tngfb@microsoft.com.Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
September 15th, 2010 4:00am
I have found to be able to use SetUnicastIpAddressEntry (IP Helper Functions) to enable DHCP.
Thank you.
September 16th, 2010 3:01am
For your information
A netsh behavior difference between Windows 7 and Vista
http://social.technet.microsoft.com/Forums/en/w7itproSP/thread/e5292bd2-25a7-4d2a-affb-42f44514bf22
Free Windows Admin Tool Kit Click here and download it now
October 24th, 2010 7:25pm