Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

This article describes an issue in which the Dynamic Host Configuration Protocol (DHCP) connection takes a long time when the DHCP server is far away from the access point (AP) during Wi-Fi roaming, or device suspending or resuming in Windows Embedded Compact 7.
An update is available to resolve this issue. Before you install this update, all previously issued updates for this product must be installed.

More Information

Software update information



Download information

The Windows Embedded Compact 7 Monthly Update (July 2014) is now available from Microsoft. To download this Windows Embedded Compact 7 monthly update, go to the following Microsoft Download Center website:

Windows Embedded Compact 7 updates
The kind of processor that each file applies to is visible in the name of each file in the "File information" section.

Restart requirement

After you apply this update, you must perform a clean build of the whole platform. To do this, use one of the following methods:

  • On the Build menu, click Clean Solution, and then click Build Solution.

  • On the Build menu, click Rebuild Solution.

You do not have to restart the computer after you apply this software update.

Update replacement information

This update does not replace any other updates.

About this update

After you apply this update, some new registry settings that help resolve this issue are available.
The following registry settings are added to the [HKEY_LOCAL_MACHINE\Comm\Tcpip\Parms] registry subkey:

  • ReUseDhcpInfoWhileAPRoaming: REG_DWORD

  • ForceReleaseLease: REG_DWORD

  • PersistDuringRelease: REG_DWORD

  • ContinueAutoIPAfterRelease: REG_DWORD

  • ForceRenewLease: REG_DWORD

  • SkipRenewIfAutoIpRunning: REG_DWORD

  • StartDORA: REG_DWORD

  • DhcpGlobalFirstRetransmitInterval: REG_DWORD

  • DhcpGlobalMaxRetransmitInterval: REG_DWORD

  • DhcpGlobalMaxRetries: REG_DWORD

  • DhcpGlobalLastSendPacketDelay: REG_DWORD

  • DhcpGlobalInitDelayInterval: REG_DWORD

  • DhcpGlobalConstantRate: REG_DWORD

The following registry settings are added to the [HKEY_LOCAL_MACHINE\Comm\[AdapterName]\Parms\Tcpip] registry subkey:

  • ReUseDhcpInfoWhileAPRoaming: REG_DWORD

  • MaxPingAttempts: REG_DWORD

  • PingTarget: REG_MULTI_SZ

  • ForceReleaseLease: REG_DWORD

  • PersistDuringRelease: REG_DWORD

  • ContinueAutoIPAfterRelease: REG_DWORD

  • ForceRenewLease: REG_DWORD

  • SkipRenewIfAutoIpRunning: REG_DWORD

  • StartDORA: REG_DWORD

  • DhcpFirstRetransmitInterval: REG_DWORD

  • DhcpMaxRetransmitInterval: REG_DWORD

  • DhcpMaxRetries: REG_DWORD

  • DhcpRenewFirstRetransmitInterval: REG_DWORD

  • DhcpRenewMaxRetransmitInterval: REG_DWORD

  • DhcpRenewMaxRetries: REG_DWORD

  • DhcpLastSendPacketDelay: REG_DWORD

  • DhcpInitDelayInterval: REG_DWORD

  • DhcpBootPFlagType: REG_DWORD

The details about the registry settings are as follows:

  • ReUseDhcpInfoWhileAPRoaming
    The default value data is 0. It means the renewal attempt is sent during media connection, and the DORA attempt is sent when the renewal fails. When the value data is set to 1, DHCP tries to ping the devices one-by-one that are denoted by PingTarget during media connection. If the ping action succeeds, the previous IP is used. If the ping fails, DHCP sends a request to renew the IP address. If the renewal also fails, DHCP tries to send DORA.

  • MaxPingAttempts
    The default value data is 3. When ReUseDhcpInfoWhileAPRoaming is set to true, DHCP may try to ping a device that is denoted by PingTarget. This registry sets the number of retry times that DHCP takes for each target device.

  • PingTarget
    The default value data is gateway. When ReUseDhcpInfoWhileAPRoaming is set to true, this registry contains one or more values of "gateway," "dhcpserver," "DNS1," "DNS2," "DNS3," and "DNS4." They indicate the device types that are pinged. If one of the target types is not valid, DHCP skips that invalid type and pings the next one.

  • PingTimeout
    The default value data is 1000 milliseconds. This registry sets the time-out value for each ping attempt.

  • ForceReleaseLease
    The default value data is 0. In this situation, if the media is in disconnection state, DHCP does not release the IP address. When the value data is set to 1, DHCP releases the IP address even if the media is in disconnection state during the DHCP release.

  • PersistDuringRelease
    The default value data is 0. In this situation, the IP address is deleted during the DHCP release. When the value data is set to 1, the IP address is not deleted during the DHCP release.

  • ContinueAutoIPAfterRelease
    The default value data is 0. In this situation, DHCP does not enter the auto IP phase after the DHCP release. When the value data is set to 1, DHCP enters the auto IP state after the DHCP release.

  • SkipRenewIfAutoIpRunning
    The default value data is 0. When the value data is set to 1, if DHCP is already in the auto IP state, it does not renew itself during the DHCP renewal. It periodically sends renewal or DORA to obtain the IP address.

  • StartDORA
    The default value data is 0. When the value data is set to 1, DHCP does not renew the old IP address in the DHCP media connection phase. It sends DORA to obtain a new IP address.

  • DhcpGlobalFirstRetransmitInterval
    The default value data is 500 milliseconds. It sets the DHCP first interval time that DHCP takes to send renewal or DORA packets for all adapters, except for the adapter that has its own DhcpFirstRetransmitInterval or DhcpRenewFirstRetransmitInterval value.

  • DhcpGlobalMaxRetransmitInterval
    The default value data is 64000 milliseconds. It sets the DHCP maximum interval time that DHCP takes to send renewal or DORA packets for all adapters, except for the adapter that has its own DhcpMaxRetransmitInterval or DhcpRenewMaxRetransmitInterval value.

  • DhcpGlobalMaxRetries
    The default value data is 6. It sets the DHCP maximum number of retry times for sending renewal or DORA packets for all adapters, except for the adapter that has its own DhcpMaxRetries or DhcpRenewMaxRetries value.

  • DhcpGlobalLastSendPacketDelay
    The default value data is 8000 milliseconds. It sets the delay time of DHCP last sending for all adapters, except for the adapter that has its own DhcpLastSendPacketDelay value.

  • DhcpGlobalInitDelayInterval
    The default value data is 5000 milliseconds. It sets the delay time of DHCP first sending for all adapters, except for the adapter that has its own DhcpInitDelayInterval value.

  • DhcpFirstRetransmitInterval
    The default value data is DhcpGlobalFirstRetransmitInterval. It sets the DHCP first interval time for sending DORA packets.

  • DhcpMaxRetransmitInterval
    The default value data is DhcpGlobalMaxRetransmitInterval. It sets the DHCP maximum interval time for sending DORA packets.

  • DhcpMaxRetries
    The default value data is DhcpGlobalMaxRetries. It sets the DHCP maximum number of retry times for sending DORA packets.

  • DhcpRenewFirstRetransmitInterval
    The default value data is DhcpGlobalFirstRetransmitInterval. It sets the DHCP first interval time for sending renewal packets.

  • DhcpRenewMaxRetransmitInterval
    The default value data is DhcpGlobalMaxRetransmitInterval. It sets the DHCP maximum interval time for sending renewal packets.

  • DhcpRenewMaxRetries
    The default value data is DhcpGlobalMaxRetries. It sets the DHCP maximum number of retry times for sending renewal packets.

  • DhcpLastSendPacketDelay
    The default value data is 8000 milliseconds. It sets the delay time of DHCP last sending.

  • DhcpInitDelayInterval
    The default value data is 0 milliseconds. It sets the delay time before the first sending.

  • DhcpGlobalConstantRate
    The default value data is 0. It means that the value of the DhcpFirstRetransmitInterval registry is multiplied by two after each attempt. When the value data is set to 1, the value of the DhcpFirstRetransmitInterval registry is not multiplied by two after each attempt. It applies to all adapters.

  • DhcpConstantRate
    The default value data is 0. It means that the value of the DhcpFirstRetransmitInterval registry is multiplied by two after each attempt. When the value data is set to 1, the value of the DhcpFirstRetransmitInterval registry is not multiplied by two after each attempt. It applies to an individual adapter.

  • DhcpBootPFlagType
    Its value controls whether DHCP uses broadcast or unicast to send discover or request packets. The default value data is 0. The meaning of the different value data is as follows:

    • 0: Broadcast first.

    • 1: The same as 0, broadcast first.

    • 2: Unicast first.

    • 3: Broadcast only.

    • 4: Unicast only.


The English version of this software update package has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

Files that are included in this hotfix package

File name

File size

Date

Time

Path

Dhcp.dll

131,072

28-Jul-2014

22:12

Public\Common\Oak\Target\X86\Retail

Dhcp.dll

249,856

29-Jul-2014

00:55

Public\Common\Oak\Target\X86\Debug

Dhcp.dll

163,840

28-Jul-2014

22:12

Public\Common\Oak\Target\X86\Checked

Dhcp.dll

159,744

28-Jul-2014

22:13

Public\Common\Oak\Target\Armv5\Retail

Dhcp.dll

339,968

29-Jul-2014

00:07

Public\Common\Oak\Target\Armv5\Debug

Dhcp.dll

204,800

28-Jul-2014

22:14

Public\Common\Oak\Target\Armv5\Checked

Dhcp.dll

155,648

28-Jul-2014

22:13

Public\Common\Oak\Target\Armv6\Retail

Dhcp.dll

339,968

29-Jul-2014

00:08

Public\Common\Oak\Target\Armv6\Debug

Dhcp.dll

204,800

28-Jul-2014

22:15

Public\Common\Oak\Target\Armv6\Checked

Dhcp.dll

155,648

28-Jul-2014

22:13

Public\Common\Oak\Target\Armv7\Retail

Dhcp.dll

339,968

29-Jul-2014

00:10

Public\Common\Oak\Target\Armv7\Debug

Dhcp.dll

204,800

28-Jul-2014

22:13

Public\Common\Oak\Target\Armv7\Checked

Dhcp.dll

188,416

28-Jul-2014

22:13

Public\Common\Oak\Target\Mipsii\Retail

Dhcp.dll

380,928

29-Jul-2014

00:11

Public\Common\Oak\Target\Mipsii\Debug

Dhcp.dll

241,664

28-Jul-2014

22:13

Public\Common\Oak\Target\Mipsii\Checked

Dhcp.dll

188,416

28-Jul-2014

22:12

Public\Common\Oak\Target\Mipsii_fp\Retail

Dhcp.dll

380,928

29-Jul-2014

00:11

Public\Common\Oak\Target\Mipsii_fp\Debug

Dhcp.dll

241,664

28-Jul-2014

22:13

Public\Common\Oak\Target\Mipsii_fp\Checked

Dhcp.dll

143,360

28-Jul-2014

22:12

Public\Common\Oak\Target\Sh4\Retail

Dhcp.dll

290,816

29-Jul-2014

00:51

Public\Common\Oak\Target\Sh4\Debug

Dhcp.dll

184,320

28-Jul-2014

22:12

Public\Common\Oak\Target\Sh4\Checked

Dhcp.lib

3,704

28-Jul-2014

22:11

Public\Common\Oak\Lib\X86\Retail

Dhcp.lib

3,704

29-Jul-2014

00:55

Public\Common\Oak\Lib\X86\Debug

Dhcp.lib

3,704

28-Jul-2014

22:11

Public\Common\Oak\Lib\X86\Checked

Dhcp.lib

3,680

28-Jul-2014

22:12

Public\Common\Oak\Lib\Armv5\Retail

Dhcp.lib

3,680

29-Jul-2014

00:07

Public\Common\Oak\Lib\Armv5\Debug

Dhcp.lib

3,680

28-Jul-2014

22:14

Public\Common\Oak\Lib\Armv5\Checked

Dhcp.lib

3,680

28-Jul-2014

22:12

Public\Common\Oak\Lib\Armv6\Retail

Dhcp.lib

3,680

29-Jul-2014

00:08

Public\Common\Oak\Lib\Armv6\Debug

Dhcp.lib

3,680

28-Jul-2014

22:15

Public\Common\Oak\Lib\Armv6\Checked

Dhcp.lib

3,680

28-Jul-2014

22:12

Public\Common\Oak\Lib\Armv7\Retail

Dhcp.lib

3,680

29-Jul-2014

00:10

Public\Common\Oak\Lib\Armv7\Debug

Dhcp.lib

3,680

28-Jul-2014

22:12

Public\Common\Oak\Lib\Armv7\Checked

Dhcp.lib

3,680

28-Jul-2014

22:12

Public\Common\Oak\Lib\Mipsii\Retail

Dhcp.lib

3,680

29-Jul-2014

00:11

Public\Common\Oak\Lib\Mipsii\Debug

Dhcp.lib

3,680

28-Jul-2014

22:13

Public\Common\Oak\Lib\Mipsii\Checked

Dhcp.lib

3,680

28-Jul-2014

22:12

Public\Common\Oak\Lib\Mipsii_fp\Retail

Dhcp.lib

3,680

29-Jul-2014

00:11

Public\Common\Oak\Lib\Mipsii_fp\Debug

Dhcp.lib

3,680

28-Jul-2014

22:13

Public\Common\Oak\Lib\Mipsii_fp\Checked

Dhcp.lib

3,704

28-Jul-2014

22:12

Public\Common\Oak\Lib\Sh4\Retail

Dhcp.lib

3,704

29-Jul-2014

00:51

Public\Common\Oak\Lib\Sh4\Debug

Dhcp.lib

3,704

28-Jul-2014

22:12

Public\Common\Oak\Lib\Sh4\Checked



Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×