Handheld devices have different rebooting options based on their operating system:
Windows CE
Windows Embedded Handheld
On devices that have Windows CE as an operating system, it is advised to install and configure Produmex applications in a way that they will resist after a cold boot. The installation and configuration method is device-dependent.
On Motorola devices, all memory is volatile except the /APPLICATION and /PLATFORM folders (flash memory). The /APPLICATION folder is used to store application programs.
To keep the configurations after a cold boot, store the following files in the /APPLICATION folder:
Download the example files from the FTP. \\In order to keep the Wi-Fi settings, configure it as described in Setup the Wi-Fi connection, then export it to the /APPLICATIONS folder. This way it also will be automatically reimported after a cold boot.
Details of the .reg file
After a cold boot the Motorola system will check for .reg files in the /APPLICATION folder and will place these files back automatically. See the example file here: Power-Desk-Vol-RDP.reg
To restore the power usage setup insert the following to the .reg file:
REGEDIT4 [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\Timeouts] "BattSuspendTimeout"=dword:00000000 "ACSuspendTimeout"=dword:00000000 "ACResumingSuspendTimeout"=dword:0000000F "BattResumingSuspendTimeout"=dword:0000000F "ChangeEvent"="PowerManager/ReloadActivityTimeouts" "ACUserIdle"=dword:00000000 "BattUserIdle"=dword:00000000 "BatteryPoll"=dword:000007D0
Optional settings:
1. Background image
To restore the background picture insert the following:
[HKEY_CURRENT_USER\ControlPanel\Desktop] "Wallpaper"="\\APPLICATION\\DestopPicture.PNG" "tile"=dword:00000000
Adjust the image name (in the example: DestopPicture.PNG). Supported formats: PNG or JPG.
2. Mute touch sound
To mute the sound on touch insert the following:
[HKEY_CURRENT_USER\ControlPanel\Volume] "Screen"=dword:00010000 "Key"=dword:00010000 "Mute"=dword:00000007 "Volume"=dword:99999999
This setting will mute only the sound when touching the scanner. All other sounds (eg. when scanning, or in the case of an error) will still work.
3. Set default RDF user
To set the default RDP user for the device insert the following:
[HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\UsernameHint] "RDP SERVER IP"="DOMAIN\\WINDOWS_USER"
Adjust the domain name (in the example: DOMAIN) and the user name (in the example: WINDOWS_USER) according to your specifics.
Details of the .CPY file
On a cold boot the system will look for .cpy files in the /APPLICATION folder then initiate them. The .cpy files will copy files from a non-volatile source to a destination. See the example files: TSC.CPY, TSC.CPY.1
In the .cpy file the source file and path and the destination file and path will be separated by ‘>’.
\Application\PDMX.rdp > \Windows\Desktop\PDMX.rdp
\Application\Default.xml > \Windows\DataWedge\Config\Profiles\Default.xml
To keep the configurations after a cold boot, create an install folder in the non- volatile /APPLICATION folder. The install folder should contain the following files:
The /APPLICATION folder also should contain:
Details of the .reg file – for the application loader
The .reg file runs the .cab file(s) on cold boot only.
[HKEY_CURRENT_USER] "Name"="\Application\ INSTALL FOLDER NAME \wceldcmd.exe" "Command"="/delete 0 \Application\INSTALL FOLDER NAME\EXAMPLE.cab" "Continue"=dword:1 "ColdBootOnly"=dword:1
Adjust the .cab file name and path in the 'Command' parameter.
Details of the .reg file – for the configurations
After installing and configuring the applications, export the registry. From the Registry menu choose the ‘Export Registry File’ option. Save the file to the /APPLICATION folder.
The following values store the configurations for Produmex Scan:
Example:
[HKEY_CURRENT_USER] "Database"="DATABASE NAME" "ServerUrl"="SERVER_URL” "Language"="English" "NoBuiltInButtons"="N" "TesterMode"="N" "DemoMode"="N" "CustomizationAssits"="N" "WinLayout"="Normal" "HID"="HID" "RegPersisted"=dword:00000001
On M3 Mobile Devices use the MS-Backup function to restore configurations and registries after a cold boot. In order to use the MS-Backup you must have copy of the flash disk files provided with the OS.
Open the power properties and set the configurations as below to prevent the device going to sleep mode:
MS-Backup Usage:
Launch MS-Backup by either
From MS-Backup, select whether you want to backup all data or personal information management (PIMS) data. Then select the ‘Name’ and the ‘Location’ and press ‘Backup Start’ to back up the data. To restore the data, go to the 'Restore' tab and select appropriate data then press 'Restore Start'.
Automatically restoring data after cold boot requires a little configuration in M3.ini. In addition, backup data must be saved as 'ExBackup' as shown in the above figures.
Set folder options to view hidden files: Open ‘Folder Options’ by My Device > View > Option and uncheck all options.
Open M3.ini file with Microsoft WordPad. Launch WordPad and open the M3.ini from \Flash Disk\StartUp.
From the M3.ini file, set the ‘Install’ and ‘Reset’ value of [RESTORE] to '1' as shown in the following figure.
[KEYPAD_LED] Install=0 //Automatic restore after Hardware reset with a help of MS-Backup.exe. //ExeFile: Program Path //Reset: 0-> reset after restore, 1-> no reset after restore //Type: 0-> restore all data, 1-> restore only PIMS data [RESTORE] Install=1 ExeFile=\FlashDisk\xPIMS\MS-Backup.exe Type=0 Reset=1
After cold boot, the device will automatically restore the backup data (ExBackup) and perform a warm boot after a successful restoration.