Write Registry Values to XML / Text File - Windows Mobile Development and Hacking General

Is there any program i can use to write a certain registry value to a XML file or a text file
thanks
MS

hundreds of...
total commander
dotfreds task manager
resco explorer

can these write a certain registry key to a text file periodically or do u have to manually do it ?

yes I want to find out also
Like I want to export my registry keys let us say "Owner Information" using command line and output file to Storage card. I do not care what format it is in. (.reg is fine). Right now I use Task manager and export one at a time. this is a little lenghty process

maybe try this one
http://forum.xda-developers.com/showthread.php?t=344167&highlight=command+line+registry+editor
which is a cmd-line reg-editor. don't know if it can do export as well, but i gues it does.
use this in combination with a scripting tool or scheduler (e.g mortscript)

Look like this is a tool to import from desktop or laptop
egoist6 said:
maybe try this one
http://forum.xda-developers.com/showthread.php?t=344167&highlight=command+line+registry+editor
which is a cmd-line reg-editor. don't know if it can do export as well, but i gues it does.
use this in combination with a scripting tool or scheduler (e.g mortscript)
Click to expand...
Click to collapse
I do not thinks you can run it from your Pocket PC device.

yeah. it runs on desktop but operates on the pda. maybe you can combine your syncing with a parallel read of your reg keys.
anyway, i am pretty sure there do exist cmd line reg editors

Related

Utility to Compare Registry ?

Greetings,
I had some strange behaviour recently on my Wizard which after much analysis decided to try a hard reset. It worked like a charm and all is well now.
I had to re-install my programs and settings and I also understand that the registry gets returned to factory defaults.
This leads me to something I remember seeing for Windows XP which was a utility that compared reg keys, either using an original and current copy of the registry as a basis for comparison or a real-time utility that informed the user each time a key got changed.
I don't think the Wizard CPU could cope with the latter but a reg compare utility might be useful for future. Does anyone know of such a beast ? I did do some searching and checked the Wiki but couldn't find anything.
TIA,
Tony
I'm looking for the exact same thing. Certain apps change some settings after an install and I want to go into the registry and delete them.
Does anyone know of a good FREE app on the PC side to compare the contents of 2 txt files??
I found SPB Backup backs up the registry into a few text files (this is after you extract them from the backup).
I'm looking for something like this, but free : www.grigsoft.com/wincmp.htm
Personally, I use an XML query of he Reg CSP and then use an XML comparison tool (XML Notepad 2007) to look at whats changed.
I think you have a couple of decent options here... firstly, you could install PHM Registry Editor on the PPC, export the registry both before and after any changes you make. Then copy the exported files to the PC and check for changes using Windiff. This will tell u what has been added, changed or removed between the two files.
Alternatively, take a look at SKTracker (Google) - this app lets you take snapshots before and after, then compare (registry and file changes).
I've used both methods with success, see what you think.
JoelC said:
I think you have a couple of decent options here... firstly, you could install PHM Registry Editor on the PPC, export the registry both before and after any changes you make. Then copy the exported files to the PC and check for changes using Windiff. This will tell u what has been added, changed or removed between the two files.
Alternatively, take a look at SKTracker (Google) - this app lets you take snapshots before and after, then compare (registry and file changes).
I've used both methods with success, see what you think.
Click to expand...
Click to collapse
Thanx. I have both....I will give them a try.
SSnap.
V
I know this different from the topic a bit, but I was curious if you guys knew of a free registry cleanup app.

Registry Editor

As we all know, a registry editor is pretty important when modding our devices. I personally hate doing registry edits on my wizard and it JUST SO HAPPENS that today while searching for a new registry editor (i lost my wizard in toronto a week ago and didnt have any software for it anymore!) i found one that works wonders and is based from a PC instead of the PPC. seems to work well for me. check it out! it is attached and it is freeware. it seems to work great with WM6 so i would say its safe to assume it will work with at the very least 5 also if not older versions of WM.
just thought id give back to the community since i have used this resource time and time again!
Total Commader and Task Manager, which come with many custom ROMs, already contained a full-featured registry editor with import/export functions, so why install another one?
this is not based from the PPC if you read my post. its much easier to navigate via your pc as i mentioned in my post.
Just use mymobiler. You can do EVERYTHING on your mobile from your desktop with that program. Then TotalCommander or another program can retain their value as multifunction programs capable of file management, text file editing, and registry editing.
Myrddin Wyllt said:
Just use mymobiler. You can do EVERYTHING on your mobile from your desktop with that program. Then TotalCommander or another program can retain their value as multifunction programs capable of file management, text file editing, and registry editing.
Click to expand...
Click to collapse
personally as a geek myself, if there is an app that removes the actual interaction of the PPC and moves it into a native windows app id much rather use that. the problem with this app is it still mimics the physical interaction of the PPC. something the registry editor i posted above isnt doing. its mimicking regedit in windows but accesses your PPC.
just to prove my point here are two pics of examples.

Best way to deploy a registry edit?

I need to modify about 200 windows mobile 5 devices with a registry edit for my job.
(This is what I get for being the only person in the office familiar with WM)
What would be the easiest way to do something like this? Normally I use SD/MiniSD Cards to install apps on the various devices - it would be nice to be able to create a .cab that would modify the needed key, so that I wouldn't have to edit the registry manually on every device.
Suggestions?
http://forum.ppcgeeks.com/showthread.php?t=10668
Might want to browse that or message one of them. I know i read somewhere how to put reg edits in cab format, but i can't remember where i read that at.
WinCE Cab Manager. Awesome program. Used it to create a .cab that contains all my standard registry edits and a bunch of files that I like to use (themes and such). Allows me to customize any flashed ROM very quickly.
It isn't an inexpensive program (I think it was $100 or so), but worth it. You can't import registry edits into the trial version, but I believe you can manually enter registry edits.
If you struggle (and if the edit you need isn't something that is confidential to your company), I can throw it in a cab for you. PM me if I can assist.

Syntax Highlighting for Morscript using Notepad++

Mortscript for Notepad++
Hello guys, not sure whether this is the right place for this thread, but as MortScript seems pretty popular and santax highlighting makes things easier, I wrote a little script for use with Notepad++.
The attached file contains a file called userDefineLang.xml which you simply need to put into %APPDATA%\Notepad++ for the installed version or into Notepad++'s Program folder for portable version. If you open a Mortscript with Notepad++ for the next time, it will be highlighted. I am not sure whether I catched all functions, but this script can easily be extended by using Notepad itself.
Maybe it helps you a bit.
Regards
Cool contribution, thanks a lot. I use NPP as windows notepad replacement, and edit mortscripts with it as well. This should make it a bit easier
Cool. I use Notepad++ on my PC, But to make MortScript file on my phone i use zNotepad or MADE. zNotepad is made for making MortScript files. Thats the standard extension when you save a file. MADE is a great text editor wich I've used since I first got a windows mobile phone. They're both free but zNotepad comes with GSlide
Awesome, I tried to do this last week but notepad++ kept crashing on me...plus I can't ftp to my phone with this, so I use pspad.
Try CKE
Hi guys,
I use CKE as onboard editor. GSlide was more or less built on my P3600
CKE is by far the most competent code editor for pocket pc. With built-in support for syntax-colouring, indentation, running files with external apps etc.
I will post config files soon.
Ciao,
Lars
This is exactly what I was looking for! Thanks a bunch.
Thanks!!
I suggest you provide your UserDefinedLang to the Notepad++-Wiki.
http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=User_Defined_Language_Files
Notepad++ AutoComplete
I just created AutoComplete file: MortScript.xml
File should be placed here: \Notepad++\plugins\APIs\MortScript.xml
To have a instant Autocomplete change: Settings > Preferences > Backup/Auto-Complation according to file: AutoCompleteSettings.png
Enjoy

Edit Reg on first boot

Hi all, Before i ask my question let me say i have searched first and tried all the different suggestions but as its still not working i am asking here.
I have a series of reg tweaks (set timezone/delete beta key/set startmenu icons/set ringtone/screen backgrounds etc etc), basically all the tedious stuff i do after flashing. I have added this file as an app.reg, converted as a provxml, tried as a xml, had mortscript call it, placed in config.txt on operatorpkg dir, placed as a package in my EXT folder to run last (package folder name zz_mytweaks) - whatever i do its not setting ALL the reg keys?
No matter where/how/what format i place it, it always runs but sometimes it will set say the icons and timezone and some others but not other keys. Then i reflash THE SAME ROM and again it runs but some other keys will be set but not other ones which may have worked the first flash? There doesn't seem to be any reason why ALL the keys aren't being set as during different flashing attemps, all the settings have been changed but NOT ALL TOGETHER, just some this time, others next time etc etc so the reg entries are obviously correct.
Any suggestions?
Secc
When using Mortscript you could use a Sleep command to delay executing a reset.
You could also have a look at Sashimi. This works very well with importing numerous registry key's.
Concerning importing REG keys I found DotFred's Task Manager to contain the most reliable import function. Might have a look at that as well
mccune said:
When using Mortscript you could use a Sleep command to delay executing a reset.
You could also have a look at Sashimi. This works very well with importing numerous registry key's.
Concerning importing REG keys I found DotFred's Task Manager to contain the most reliable import function. Might have a look at that as well
Click to expand...
Click to collapse
Sashimi uses in fact this very TaskManager to export and import the registries. If you do not want to use Sashimi you can write a MortScript calling the TaskManager to backup all registries involved and to import them after flash. If your new ROM supports UC or XDA-UC, you can also import the registries that way.

Categories

Resources