If you have evaluated that device notices and executes file shell.ini at startup, then you might use Mortscript - a script processor.
Originally Posted by alal
To completely empty the registry - which in turn forces a clean boot - you would run a script "RegistryFixer.mscr" as following:
You put into root of SD-card Mortscript.exe, Autorun.exe. You rename Autorun.exe to RegistryFixer.exe. You create an ANSI text-file containing the lines of code printed, rename it to RegistryFixer.mscr and put it into root of SD-card, too. Finally you edit launcher-file shell.ini which also must be in root of SD-card as following: "\<name-of-sdcard>\RegistryFixer.exe" - without the quotes, where you replace term <name-of-sdcard> with CE's name of storage card, ex. Storage Card.
// Clean the entire registry
// Make sure device's initial default values get imported
//Some devices with hive-based registries don't save registry
//changes to disk until instructed to
ForEach variable In RegSubkeys(root,key)
Not to forget, you also have to put files "RegFlushKey.exe" and "RestoreDefaultHiveFromROM.exe" into root of SD-card. These two EXEs you'll find in
Warning: Running a script as printed above may unrecoverably brick your device. You run it at your own risk!
Concerning Mortscript: It's far out of this thread's scope to go into more details here ...