Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8141393
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T12:29:36+00:00 2026-06-06T12:29:36+00:00

We have a legacy WinCE device that’s been working fine for years when it

  • 0

We have a legacy WinCE device that’s been working fine for years when it was on a closed ethernet network. But now we’re trying to get it to work nicely with other devices and it’s failing when there’s a DHCP server on the network.

The problem is that in order to speed up the boot the original engineers set “DhcpEnableImmediateAutoIP” in the registry. This effectively turns off the timeout where WinCE waits for a while before deciding that there’s no DHCP server and does a zeroconfig. But because it doesn’t actually turn off the DHCP request it allocates an IP address using zeroconfig then screws up when it gets a second IP address from the DHCP server a few seconds later.

I can see that “DhcpEnableImmediateAutoIP” is one of several keys controlling the DHCP, so I was wondering what would happen if I just set “EnableDHCP” to 0? Does this turn off the DHCP request so it just does a zeroconfig, or does it turn off the zeroconfig as well so it never gets an IP address?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T12:29:37+00:00Added an answer on June 6, 2026 at 12:29 pm

    I eventually found out that EnableDHCP turns off DHCP and then assumes static IP settings (so you need to provide ip address, subnet mask and optionally gateway/dns).

    Here are all the options you can set:
    http://msdn.microsoft.com/en-us/library/ms884977.aspx

    Keeping DhcpEnableImmediateAutoIP, set the highest possible value for the AutoInterval : REG_DWORD registry entry which specifies the time interval, in seconds, used to verify if a DHCP server is available. This value is internally multiplied * 1000 to have it in msec so the max value you can set without wrapping corresponds to ~49 days. If the device is always on you’ll end after that period in having everything screwed up anyway though…

    A definitive solution may be cloning the DHCP client (D:\WINCE600\PRIVATE\WINCEOS\COMM\DHCP) and modify it in order not to send the discover packet, for example stubbing someway the function which is periodically called when the AutoInterval timer elapses.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a legacy system that requires a format which is not html but
I have some legacy code that I am now trying to re-use under Spring.
I have this legacy code that I am working with and there is code
I have a legacy C++-based application that timestamps incoming network traffic using the CRT
I have legacy DB that store dates that means no-date as 9999-21-31, The column
I have a legacy stored procedure that I'm trying to modify. This is a
I have a legacy intranet web app that was written for IE7 and contains
i have legacy j2ee project which is using struts 2 with spring. Now when
I installed silverlight 4 recently, but we still have legacy projects need to be
I have a legacy VB6 application that has the following structure defined: Public Type

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.