WinCEGeräte_Handbuch_Administration_v2 00_en
81 / 84
4.1.2.4 SetReg folder
Windows CE devices are configured with four special sub-folders for reg. files. An informal overview is
provided below; changes are usually not required:
•
\Flashdisk\System\reg\APP
(reserved for configuration entries from ACD)
•
\Flashdisk\System\reg\CFG
(target for customer reg files. Are created automatically during
production. Source is
\flashdisk\System\sysprep\custom\reg.
)
•
\Flashdisk\System\reg\DRV
(reserved for driver entries from ACD)
•
\Flashdisk\System\reg\SYS
(reserved for system entries from ACD)
The reg files contained in the folder are used as a template to map a registry state when the devices are
initialised or when the registry is deleted.
The hash value for the four sub-folders is checked each time the device is booted.
If one folder varies, all reg. files of the affected and the master folder are entered persistently into the
registry.
Example: Change a file in APP to flash all APP reg files.
Change a file in DRV to flash all DRV reg files, then all in CFG, etc.
The APP sub-folder is reserved for customer reg files.
4.1.2.5 GetReg command line parameters
If a registry key is defined as the first command line parameter and a target file as the second, all
parameters, subkeys and their parameters etc. are entered into the target file.
If the target file does not exist, it will be created. Otherwise the new parameters are simply added to the
existing file.
To force the program to create a new file, the optional third parameter /NEW can be added in the command
line.
Example
GetReg [HKEY_LOCAL_MACHINE\Comm\SDCCF10G1] \flashdisk\WLAN.reg /NEW
GetReg [HKEY_LOCAL_MACHINE\Comm\SDCSD30AG1\Parms\TcpIp] \flashdisk\WLAN.reg
Only authorised types of registry entries are accepted.
4.1.2.6 Notes
The GetReg.exe program can be used to restore the device's custom registry entries after an image update
with SetReg.exe.
With GetReg.exe, you can export entire registry branches in reg files before the image update in order to use
them later. Possible candidates include the configuration of WLAN profiles (this is exactly the task of the
Start/Programs/WLAN/Save Summit WLAN Profiles option). GetReg is also intended to perform other tasks
such as LAN profiles or e.g. suspend timings.