Partager via


Enable and Disable the DHCP Enforcement Client

Applies To: Windows Server 2008, Windows Server 2012

Enabling and disabling the DHCP enforcement client

  • Using the Windows interface

  • Using a command line

To enable and disable the DHCP enforcement client by using the Windows interface

  1. To open the NAP client configuration console, click Start, click All Programs, click Accessories, click Run, type NAPCLCFG.MSC, and click OK.

  2. In the console tree, click Enforcement Clients.

  3. Right-click DHCP Enforcement Client, and then click Enable or Disable.

Additional considerations

  • To perform this procedure, you must be a member of the Administrators group on the local computer, or you must have been delegated the appropriate authority. If the computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. As a security best practice, consider using Run as to perform this procedure.

To enable and disable the DHCP enforcement client by using a command line

  1. To open a command prompt, click Start, click All Programs, click Accessories, and click Command Prompt.

  2. To enable or disable the DHCP enforcement client, do one of the following:

    1. To enable the DHCP enforcement client, type: netsh nap client set enforcement ID = 79617 ADMIN = "ENABLE"

    2. To disable the DHCP enforcement client, type: netsh nap client set enforcement ID = 79617 ADMIN = "DISABLE"

Additional considerations

  • To perform this procedure, you must be a member of the Administrators group on the local computer, or you must have been delegated the appropriate authority. If the computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. As a security best practice, consider using Run as to perform this procedure.

Additional references

Configure NAP Enforcement Clients