Mobile Apps - Saving Registry WiFi configuration

Asked By Keaven Pineau
01-Feb-10 09:50 AM
Dear all,
I would like to know where is in the registry all the WiFi (sd card)
configuration information including the preferred list server.

Can anyone provide me that?

Thank you,
MasterKeysInRegistry
(1)
EMVP
(1)
Registry
(1)
Tobey
(1)
Simulates
(1)
SSID
(1)
TFAT
(1)
IMO
(1)
  Paul G. Tobey [eMVP] replied to Keaven Pineau
01-Feb-10 01:48 PM
I think that, because there are WEP keys and other security information,
that is not published and, even if it were, you would not be able to read the
contents of the keys.  What are you trying to achieve?

Paul T.
  Keaven Pineau replied to Paul G. Tobey [eMVP]
01-Feb-10 01:58 PM
The project I am working are not using the hive registry but they mentionned
the fact that the WiFi configuration is not retained during a power cycle.
I have done a driver with a thread that is waiting on registry keys changes
and save them into a file.  This driver simulates the hive registry
configuration.  I was wondering if we could dump the wifi related key into a
file , the encrypted data, so when the power cycle is happening we could
restore the keys from the file.

I know that it will better to use the hive registry configuration but looks
like they don`t want it since they had bad experience with it in the past on
mobile device and emergency shutdown force by the pmic.
  Paul G. Tobey [eMVP] replied to Keaven Pineau
01-Feb-10 04:36 PM
Well, you could *try* this:

1. Make sure that the MasterKeysInRegistry key is set in your default boot
registry so that all of the encrypted stuff that would otherwise end up in
the object store is in the registry.

2. Capture a list of all of the keys saved when you add a new SSID to the
WiFi configuration.

3. Try to generalize from what you saw in #2 and save anything in a similar
path in the registry, when it is written.

Paul T.
  Rik Attrill replied to Keaven Pineau
02-Feb-10 08:00 PM
If you put the registry hive on a partition configured with a
transaction-safe file system (e.g. TFAT), then an emergency shutdown
should not corrupt the registry (assuming that is what the 'bad
experience' was).
As you seem to be aware, using a hive based registry is (IMO) the
correct way forward here.

regards,
Rik A
Create New Account
help
I have forgot to configure? Thanks for any help Best regards WindowsCE Platform Builder Discussions MasterKeysInRegistry (1) CryptUnprotectData (1) CrypUnprotectData (1) CryptProtectData (1) CrypProtectData (1) WidthWinCE (1) EMVP (1) PfnReadRegistry (1) Various master keys are stored in the object store. If your object any more when you try to decrypt. One possible solution, if you have a persistent registry, is to use the MasterKeysInRegistry registry entry to force the crypto code to store those master keys there, not in the data using some other scheme not so closely tied to a specific machine, user, and registry content. Paul T. Hi Paul, Many thanks for your reply. I have added in my secured datas after reboot :-( How can I check if the master key is saved in registry? I have added a modified version of oemregistry.dll to managed to save = 20 and restore process for the registry and this works fine. But there are also some functions to save and restore a
to set the display depth to 24 bpp ("Depth" = dword:18). When I change the registry accordingly with a registry editor (see below) and then restart the device, "Depth" is always automatically set to 16 bpp ("Depth" = dword:10). I included the value "Depth" = dword:18 in boot registry, but same result ("Depth" = dword:10). How can I display 24 bit colors in WinCe? Thanks in advance. [HKEY_LOCAL_MACHINE \ Drivers \ Display \ Intel] ;- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - ; Following registry entry for ; pcf version used ; 400 : IEGD 4.0 version ;- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - ;- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - ; Bit depth must be one not support 24 bpp) ;- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - WindowsCE Platform Builder Discussions WinCE (1) Windows Embedded (1) WindowsEmbeddedCookbook (1) EMVP (1) FlushPeriod (1) Windowsembeddedit (1) Overwrites (1) Registries (1) I guess you have enabled the Hive based registry. you are saying that you have given the display driver registries in boot registry. Then shift your display driver registry settings to system registry. if you have given your registry between the the following sections
the display. Is the driver configured incorrectly??Is there something missing or incorrect in the registry??? Please helppp!!!!!!!!! Thanks for the attention. Best regards! WindowsCE Platform Builder Discussions Windows Embedded (1) Overlay2FrameInSram (1) BaseFrameInSram (1) WindowsEmbeddedCookbook (1) EMVP (1) EmbeddedCookbook (1) DisplayType (1) DisplayDll (1) This may depend on your display timings. Usually registers and find how they are initialized in your current code (hardcoded or using some registry keys). IIRC the original PXA27x display controller driver required source modification to support a different display. - - Valter Minute (eMVP) Training, support and development for Windows CE: www.fortechembeddedlabs.it My embedded programming and cooking the reply address of this message is invalid) On 15 mar, 18:28, "Valter Minute [eMVP]" it beddedCookbook om / Forums / it-IT / windowsembeddedit / threads Thanks Valter for your quick response. I been looking for the information, but I haven = B4t found any important information about the registry settings of the pxa27x_lcd.dll driver. It should be something related with display configuration, and to look at the LCCR registers and figure out what values fit your display. The registry you have posted does not seem to control the attributes Valter pointed out. Regards, Shai code. If you want a more flexible solution you may move those parameter to the registry, indead of using only the "DisplayType". - - Valter Minute (eMVP) Training, support and development for Windows
stored. Looking trough the web and manuals my understanding is that I shall work with registry settings (HKEY_CURRENT_USER- -> RasBook), but I am not able to figure out what I need to agains thanks! WindowsCE Embedded Discussions WinCE (1) RasSetEntryDialParams (1) AppRunAtRs232Detect (1) InHKEY (1) Database (1) EMVP (1) ActiveSync (1) RasBook (1) I'd say that the real problem is the persistence of your registry, no? That's a different question. For pre-configuring something that is stored in the registry, many people use the following trick: before manually creating the connectoid, use Remote Registry Editor to export the registry to a REG file on your PC. For connectoids, they have, in the past, been in the HKEY_LOCAL_MACHINE branch of the registry under Comm, so I'd start with that. Next, manually create the connectoid using the user interface. Next, export the same section of the registry again to a new REG file. Use a file comparison utility on your PC to
everybody, I'd like to launch iexplore.exe at startup So I though to use registry I have this entry in: [HKEY_LOCAL_MACHINE \ init] it is supouse to launch after : services.exe in advance for your help. WindowsCE Platform Builder Discussions Visual Studio (1) Bruce.Eitman (1) EMVP (1) BruceEitman (1) Eurotech (1) Tobey (1) Init (1) Devicethen (1) Do you have any debug output? I do not see anything wrong with what you added to the registry, but: 1. Do you have iexplorer.exe in the OS? 2. iexplorer might be dependent 2008 / 12 / 12 / windows-ce-automatically-start-application-with-command-line-parameters.aspx - - Bruce Eitman (eMVP) Senior Engineer Bruce.Eitman AT Eurotech DOT com My BLOG http: / / geekswithblogs.net / bruceeitman Eurotech future. Do you have any debug output? Really, an answer would be valuable. - - Bruce Eitman (eMVP) Senior Engineer Bruce.Eitman AT Eurotech DOT com My BLOG http: / / geekswithblogs.net / bruceeitman Eurotech are you using Platform Builder? Are you building the OS for your device? - - Bruce Eitman (eMVP) Senior Engineer Bruce.Eitman AT Eurotech DOT com My BLOG http: / / geekswithblogs.net / bruceeitman Eurotech a) create a small launcher program to run iesample, or b) instead of using the registry, put a shortcut to iesample, with whatever command line you like, in the \ Windows \ startup