Is there a way to script/package up registry hacks, in a similar way to creating a .reg file for Windows XP.
It appears that creating a .CAB file maybe the answer, if so can anyone point me in the right direction for a set of instructions.
Thanks
a18041967 said:
Is there a way to script/package up registry hacks, in a similar way to creating a .reg file for Windows XP.
It appears that creating a .CAB file maybe the answer, if so can anyone point me in the right direction for a set of instructions.
Click to expand...
Click to collapse
Take a look at Restorator utility (search through the forum)
Search for my post on registry hacks. I've created a thread for us to post .reg files, along with instructions on using TRE to run them. Very simple for setting up your JJ after a hard reset.
How in heck do you import reg keys?
I thought, just transport them over and execute them.
I keep getting an error. "The specified file is not a Registry script"
And i somewhat did a search....brought up to many threads, none with a specific title as this issue.
Is there a reg hack to enable reg importing??
Mikey1022 said:
How in heck do you import reg keys?
I thought, just transport them over and execute them.
I keep getting an error. "The specified file is not a Registry script"
And i somewhat did a search....brought up to many threads, none with a specific title as this issue.
Click to expand...
Click to collapse
You just copy and execute them.
Incase they are not working, before you copy to your phone - right clik reg key and click edit type this in the first line of the registry key (in other words, it should be the first line):
REGEDIT4
save it, copy it to your phone and execute them. See if that works.
If it still does not work, open Resco Explorer and execute the file and hopefully that should work.
Good Luck !
All the above has been tried.
Mikey1022 said:
All the above has been tried.
Click to expand...
Click to collapse
Wierd.
What are you trying to do? Can you ellaborate, please?
I've never had a problem in importing registry keys.
It depends on the format of the registry key. You can't use normal Windows desktop format if I recall. The file must have a .reg extension (sure you checked that). Can you post a snippet of what your key format looks like?
The key must look something like this (exported from Reg Editor):
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Shell\StartMenu]
"Order"=hex(7):41,00,63,00,63,00,65,00,73,00,73,00,6F,00,72,00,69,00,65,00,73,00,00,\
00,42,00,6C,00,75,00,65,00,74,00,6F,00,6F,00,74,00,68,00,20,00,4F,00,70,00,\
74,00,69,00,6F,00,6E,00,73,00,00,00,47,00,61,00,6D,00,65,00,73,00,00,00,4F,\
00,66,00,66,00,69,00,63,00,65,00,20,00,4D,00,6F,00,62,00,69,00,6C,00,65,00,\
00,00,00
"Command"=":MSMRULauncher"
"Hide_Labels"=dword:00000000
"GridView"=dword:00000001
"SelectY"=dword:00000000
"SelectX"=dword:00000000
Import my old reg keys for links.
I used the CHome config to reorder the pages and fuked them up.
i updated the program today, so i am trying to import the keys back.
Instead of doing all those changes manually
Mikey1022 said:
Import my old reg keys for links.
I used the CHome config to reorder the pages and fuked them up.
i updated the program today, so i am trying to import the keys back.
Instead of doing all those changes manually
Click to expand...
Click to collapse
Can you post a snippet or two of what the old .reg files look like that you are trying to import?
Here you go.
REGEDIT4
[HKEY_LOCAL_MACHINE\Security\CHome\DefaultSettings]
"DisabledPlugins"="CMessage;CMusic;CMyPhotos"
"Plugins"="CClock;CTestUIPlugin;CHome;CAppointments;CLinks;CMyApplication;CWelcomeCenter;Settings;CMyFaves;CWindowsLive"
[HKEY_LOCAL_MACHINE\Security\CHome\DefaultSettings\CAppointments]
"ICONPATHS"="\windows\cal_s.png;\windows\cal_s.png"
"LocName"="Appointments"
[HKEY_LOCAL_MACHINE\Security\CHome\DefaultSettings\CAppointments\Images]
"chCalendar_allday_oof_conflict"="2257"
"chCalendar_allday_busy_conflict"="2257"
"chCalendar_allday_tentative_conflict"="2256"
"chCalendar_allday_free_conflict"="2257"
"chCalendar_appt_oof_conflict"="2257"
"chCalendar_appt_busy_conflict"="2257"
"chCalendar_appt_tentative_conflict"="2256"
"chCalendar_appt_free_conflict"="2257"
"chCalendar_allday_oof"="2255"
"chCalendar_allday_busy"="2255"
"chCalendar_allday_tentative"="2254"
"chCalendar_allday_free"="2255"
"chCalendar_appt_oof"="2255"
"chCalendar_appt_busy"="2255"
"chCalendar_appt_tentative"="2254"
"chCalendar_appt_free"="2255"
"chCalendar_addnewappointment"="2253"
"chCalendar_noappointments"="2252"
Click to expand...
Click to collapse
check with resco explorer if the file have ext (name).reg
Mikey1022 said:
How in heck do you import reg keys?
I thought, just transport them over and execute them.
I keep getting an error. "The specified file is not a Registry script"
And i somewhat did a search....brought up to many threads, none with a specific title as this issue.
Is there a reg hack to enable reg importing??
Click to expand...
Click to collapse
it does
Here check it out
Mikey1022 said:
Here check it out
Click to expand...
Click to collapse
mikey rename your .reg file to .ccs then execute them
Holy Cow, that worked
do you know why i wont import them the other way, though?
Mikey1022 said:
Holy Cow, that worked
do you know why i wont import them the other way, though?
Click to expand...
Click to collapse
no but some times this happons to me to
lol, i just recently got finished messing with my reg files because they weren't importing correctly. from what i can see from your registry snippet, and what fixed it for me was that i used mobileregistryeditor to export my keys, and it didn't add double \\, so it would import WindowsExplorer.exe instead of windows\explorer.exe. It was only once i exported with resco and compared the two that i noticed the missing extra \ in the exported files.
[HKEY_LOCAL_MACHINE\Security\CHome\DefaultSettings\ CAppointments]
"ICONPATHS"="\windows\cal_s.png;\windows\cal_s.png "
"LocName"="Appointments"
vs.
[HKEY_LOCAL_MACHINE\Security\CHome\DefaultSettings\ CAppointments]
"ICONPATHS"="\\windows\\cal_s.png;\\windows\\cal_s.png "
"LocName"="Appointments"
I used the same program.
I think i will be using resco to export them from now on.
Thanks, had the same problem, this works well
Solved my problem, thanks to both of you.
bigteribletexas said:
lol, i just recently got finished messing with my reg files because they weren't importing correctly. from what i can see from your registry snippet, and what fixed it for me was that i used mobileregistryeditor to export my keys, and it didn't add double \\, so it would import WindowsExplorer.exe instead of windows\explorer.exe. It was only once i exported with resco and compared the two that i noticed the missing extra \ in the exported files.
[HKEY_LOCAL_MACHINE\Security\CHome\DefaultSettings\ CAppointments]
"ICONPATHS"="\windows\cal_s.png;\windows\cal_s.png "
"LocName"="Appointments"
vs.
[HKEY_LOCAL_MACHINE\Security\CHome\DefaultSettings\ CAppointments]
"ICONPATHS"="\\windows\\cal_s.png;\\windows\\cal_s.png "
"LocName"="Appointments"
Click to expand...
Click to collapse
rickwyatt said:
mikey rename your .reg file to .ccs then execute them
Click to expand...
Click to collapse
Try to put this string in the first line instead of REGEDIT 4
Windows Registry Editor Version 5.00
All my .reg files have this and I have no problem importing
Hope it was helpful
Cheers
germansak said:
Try to put this string in the first line instead of REGEDIT 4
Windows Registry Editor Version 5.00
All my .reg files have this and I have no problem importing
Hope it was helpful
Cheers
Click to expand...
Click to collapse
this was the same thing i was going to suggest. I was having the same issues as mikey and when i changed from REGEDIT4 to Windows Registry Editor Version 5.00 the keys i was trying to import worked!
thats really weird
Can someone please post an exported registry for HKLM\Software\Microsoft\CHome and HKLM\Security\CHome\DefaultSettings? It would be much appreciated in next couple of hours, thanks in advance.
showaco said:
Can someone please post an exported registry for HKLM\Software\Microsoft\CHome and HKLM\Security\CHome\DefaultSettings? It would be much appreciated in next couple of hours, thanks in advance.
Click to expand...
Click to collapse
Here you go bruv need anything else let me know..
stylez said:
Here you go bruv need anything else let me know..
Click to expand...
Click to collapse
thanks for that, I was away from my blackjack and needed a copy of them I was feeling lonely and needed something to remember it by
showaco said:
thanks for that, I was away from my blackjack and needed a copy of them I was feeling lonely and needed something to remember it by
Click to expand...
Click to collapse
Thats cool, just don't eat them all @ once
I know this is an old thread, but I have a question related to the registry. I'm going to reflash my phone after editing the pagepool... sticking with Ricky's v24 rom also. I don't want to have to go through and redo all of the customizations that I've done, and have backed up all of my icons, cpr, and bronzeres.dll files. I also exported both CHome registry portions (that Showaco originally asked for at the start of this thread).
My question is after the flash and installing all relevant apps, as well as copying over the icons, cpr, and bronzeres files... can I just use the resulting .reg files to restore all of my panels on the homescreen?
uansari1 said:
I know this is an old thread, but I have a question related to the registry. I'm going to reflash my phone after editing the pagepool... sticking with Ricky's v24 rom also. I don't want to have to go through and redo all of the customizations that I've done, and have backed up all of my icons, cpr, and bronzeres.dll files. I also exported both CHome registry portions (that Showaco originally asked for at the start of this thread).
My question is after the flash and installing all relevant apps, as well as copying over the icons, cpr, and bronzeres files... can I just use the resulting .reg files to restore all of my panels on the homescreen?
Click to expand...
Click to collapse
Yes, you should be able to import the registry after flashing and doing any other setup to chome(or before setup). Just to make sure, try importing before flashing to see if your .reg files are correct and working. I've had trouble using .reg files from Mobile Registry Editor and Phm registry editor, but thats just my experience. I use CERegEditor or Resco to export/import reg files now.
Thanks... I used Resco and it worked like a charm...
[Updated 21.02.10] New version 0.5.5 with rgu support !!!
WinCE Registry Editor (mRegEdit), v.0.5.5
Description:
An application to work with registry files with MDI graphic interface.
- supported files: .hv, .rgu
- not supported yet: .reg, .provxml, .fdf
Release history:
---------------------
V. 0.5.5
+ Support .rgu files
V. 0.5.4
+ Added search function
V. 0.4.0 (Beta)
Thanks will try
New version 0.5.4 with search function !!!
New version 0.5.4 with search function.
AnDim
Nice App Work with it right Now it's really nice
Thanks
Hi AnDim,
Nice tool to use in combination with the htcRIE tool. Thank you for that! Anyway you could make it possible to import reg- or rgu-files? That would make this even better!
Cheers,
/Cacti
Support .rgu files
Very nice utility, thank you for this.
I am using it on Windows 7 and one thing I did notice is that when browsing for a file to open it did not show any of the .rgu files. I had to go to the Files and Folders options on my computer and uncheck the option to Hide Protected Operating System Files. Using Ervius Visual Kitchen, I do not have to do this so maybe there is a option somewhere that can be set in the code to show all of the files? Would be great to include this as an option somehow.
Thanks for the new relase
Whats up with some keys being in red color?
And what does the program do when inside the file exist two value names with the same value data in the same key?
It keeps the last one?
Like this:
[HKEY_CURRENT_USER\ControlPanel\Sounds\VTCallWaiting]
"Category"="InCall"
"Category"="Ring"
Thanks.
Edited...
It seems that the keys in red are the keys that will be deleted.
And the last one is kept.
Could you add an option to ask the user which value to keep?
I'm not getting how to use this. How do I connect to my device? I assumed I had to find the default or user.hv files, but I cannot find them.
Thraka said:
I'm not getting how to use this. How do I connect to my device? I assumed I had to find the default or user.hv files, but I cannot find them.
Click to expand...
Click to collapse
Copy them to your desktop (out of \windows).
When should we expect a newer version? Any thoughts on my suggestion on my previous post?
Please add import rgu option it would be very useful anyway thanks for this great app
thank you .............
Hello,
This tool is fantastic. It's the only program that allowed me to change my .hv files without problems (I tried CeRegEditor and manual RGUcomp but all these methods failed in my case).
The only thing I miss is the possibility to import data from rgu/reg or even txt. Pleeeease
Regards
Skrobel
Hi all
i like to play with morstcript to personnalize my Rhodium..
to import the lnk of my manila (i use maxmanil with 20 lnk), i use that :
RunWait( "FS_TaskMgr.exe", "\App\Rom\Perso\Kwanice_Manila.reg" )
i add that to be sure there is no pb with htc sense
RegWriteDWord("HKLM","Software\Microsoft\Today\Items\HTC Sense", "Enabled","0")
RedrawToday
and
RegWriteDWord("HKLM","Software\Microsoft\Today\Items\HTC Sense", "Enabled","1")
RedrawToday
but i have always problem.. the shortcut on the home tab are not good...sometime yes sometime no..
can you explain why?
(if i use a .cab with only the registry value, it seems to work fine...)???
thanks for your help
no idea?
When you want to import .reg? you use mortscript? or a .cab file?
Or .xml files?
Since you're relying on a third party app to actually import the reg file maybe the problem isn't Mortscript but the app your script calls. You could always try another registry editor to import the file.
Also I think this can be done using Mortscript alone (with no 3rd party apps). You could try to make a registry import script using just Mortscript (a combination of If, ReadFile/ReadLine, ForEach, Split/Part/Replace, RegWrite and a couple of tricks should do it). reg files are actually text files so if needed you could always change the file it to make it easier for Mortscript to import.
frmariam said:
Since you're relying on a third party app to actually import the reg file maybe the problem isn't Mortscript but the app your script calls. You could always try another registry editor to import the file.
Also I think this can be done using Mortscript alone (with no 3rd party apps). You could try to make a registry import script using just Mortscript (a combination of If, ReadFile/ReadLine, ForEach, Split/Part/Replace, RegWrite and a couple of tricks should do it). reg files are actually text files so if needed you could always change the file it to make it easier for Mortscript to import.
Click to expand...
Click to collapse
yes good idea
but i have a lot of registry... it's easier to import reg if not i need to write all .reg line one by one...little boring..
or maybe there is another way to do that more simple? (i'm not an expert with mortscript^^)
but thanks for your help
You wouldn't write each registry entry. A script can be done to do all that work: read the reg file, parse each line (root, key/subkey, name/value, type), convert the text to Mortscript syntax and write it to the registry. But it would be a somewhat complex script and would take more time to write than writing 20 reg keys...
frmariam said:
You wouldn't write each registry entry individually. A script can be done to do all that work: read the reg file, parse each line (root, key/subkey, name/value, type), convert the text to Mortscript syntax and write it to the registry. But it would be a somewhat complex script I believe...
Click to expand...
Click to collapse
wow^^
i will try to find i understand alittle bit
thks