Re: Noob question on registry

Tech-Archive recommends: Fix windows errors by optimizing your registry



Check reginit.ini in the flat release directory and see what settings
actually ended up in the registry (and make sure that you don't have
persistent registry on the device and are using an old registry saved that
way). You should also make sure that you're changing the *right*
EnableDHCP. It's silly to change all of them. Change the one associated
with the card whose IP you actually want to set.

Paul T.

<Richard@xxxxxxxxxxxxx> wrote in message
news:AAC06BED-0D9C-48FB-A87C-E772552B4E81@xxxxxxxxxxxxxxxx
Thanks Paul,
I found several entries in platform.reg for "EnableDHCP" and set them all
to
dword:0 and added my static IP settings then did a Make Run-Time Image and
Attach Device. When I go to my connection properties on my platform it
still
has DHCP as the default. Do I need to do a Build and Sysgen or am I
missing
something else?

Thank you,
Richard

"Paul G. Tobey [eMVP]" wrote:

The build system is set up to allow registry settings from a variety of
sources. Any .REG file in the flat release directory when the image is
built will contribute its settings to the registry. In particular,
platform.reg (highest priority), and project.reg (next highest), are
accessible via Platform Builder for platform/project-wide types of
settings.

The particular settings you are talking about won't be anywhere, because
it
would be silly for Microsoft to try to assign a static IP address,
subnet,
etc. as a default for all devices. The default for any network device is
going to be DHCP assignment of IP and other parameters. You can change
that
with your own new settings (and set EnableDHCP to 0, rather than the
default
of 1).

Paul T.

<Richard@xxxxxxxxxxxxx> wrote in message
news:D80A7ECF-1906-4CA4-8770-472F301C9A75@xxxxxxxxxxxxxxxx
Hello all,
How is it possible to modify registry settings in PB? Specifically I
want
to
setup the static IP, Subnet, Gateway and DNS settings so when the
platform
boots it has those settings without having to set them in the dialog. I
think
it's in Parameter View but I can't find those settings.

Thanks in advance,
Richard





.



Relevant Pages

  • Re: Noob question on registry
    ... OK so the file I edit within PB is not the file that ends up on the platform? ... persistent registry on the device and are using an old registry saved ... dword:0 and added my static IP settings then did a Make Run-Time ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Noob question on registry
    ... to the special release folder, where the operating system is assembled from ... on my platform? ... actually ended up in the registry (and make sure that you don't ... dword:0 and added my static IP settings then did a Make Run-Time ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Noob question on registry
    ... of items will get the changed registry file into the right place. ... Paul T. ... dword:0 and added my static IP settings then did a Make Run-Time ... accessible via Platform Builder for platform/project-wide types ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Noob question on registry
    ... up in the flat release folder before you make the image. ... persistent registry on the device and are using an old registry saved ... dword:0 and added my static IP settings then did a Make Run-Time ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Noob question on registry
    ... Paul T. ... new registry in your new OS? ... dword:0 and added my static IP settings then did a Make Run-Time ... When I go to my connection properties on my platform ...
    (microsoft.public.windowsce.platbuilder)