I want every target to have the same network ID username/password but I don't
want to set it in the control panel of each one. What registry keys do I
need to set for Network ID User Name and Password in the platform.reg file?

Thanks,
Mike

RE: PB 4.2 How to set Control panel owner Network ID username/password by DonStreng

DonStreng
Wed Feb 02 09:59:07 CST 2005

Mike,

I don't think Microsoft wants to help anyone on this. This information is no
longer stored to and retstored from registry like it was in 3.0 using the
SetDefUI and GetDefUI in owner.cpp. Microsoft didn't give out source for
those either. If you don't have battery backed up system RAM (typical on a
PC/AT platform) for Wince 4.20 then you'll have to modify the owner.cpp in
Public\wceshellfe\oak\ctlpnl\cplmain to save and restore stuff from the
registry or a file yourself.

This is a hassle for me too. Microsoft doesn't understand that knowone wants
to go around and re-enter user name, domain, and password for a couple
hunderd PC's in an automated factory situtation just because there was a
power glitch or something.

Good Luck
Don

"Mike" wrote:

> I want every target to have the same network ID username/password but I don't
> want to set it in the control panel of each one. What registry keys do I
> need to set for Network ID User Name and Password in the platform.reg file?
>
> Thanks,
> Mike

RE: PB 4.2 How to set Control panel owner Network ID username/password by DonStreng

DonStreng
Fri Feb 04 15:03:03 CST 2005

Mike,

I looked into this a little further and found that if you implment the Hive
Registry. The entries aren't stored in the registry but are stored in user
profiles pointed to by the registry. See "Using the Hive-Based Registry",
"Initializing the File-based Registry", "User Profile Storage", "User Profile
Setup" and "Registry Types".

Note: For the [HKEY_LOCAL_MACHINE\Drivers...] that they mention, you'll need
to set the Flags to 1000 (hex) for your IDE Hard Drive template i.e
GenericIDE etc. or some other mass storage device that the Profile will be
stored on otherwise it gets stuck back on the RAM drive. Even if you specific
the device like Hard Disk in the path it will just create a RAM Hard Disk
folder and make your Hard Disk Hard Disk1.

Battery backed up systems are alot easier to deal with!

Don

"Mike" wrote:

> I want every target to have the same network ID username/password but I don't
> want to set it in the control panel of each one. What registry keys do I
> need to set for Network ID User Name and Password in the platform.reg file?
>
> Thanks,
> Mike