Hello,
Does anyone know how to change the hosts file on WP7?
In WinMo you'd go under HKLM\Comm\TCPIP\Hosts and add your entry there, I've tried that using regedit with WP7 root tools, and no dice.
Any ideas?
Use provxml method.
Hi sensboston
I have to ask a question, if i change hosts registry used provxml, how do i write xml file to change "ipaddr"? As you know the value is binary, i'v tried change the value used provxml but whatever the value was incorrect.
I'v find out the solution, i'll release it soon.
Related
Hi, i tried find registry file in wm6, but i dont know, where is it? can someone tell me which file contains registry?
ftoz said:
Hi, i tried find registry file in wm6, but i dont know, where is it? can someone tell me which file contains registry?
Click to expand...
Click to collapse
You'll need to install an app like tre090pReg editor or TotalCommander. With these you can explore and modify the reg files.
BE BLOODY CAREFULL
Regards
Mav
Yes, i know this way. But i exported wm6 register to pc and then i edited it. I have now rebuilt register, but i dont know, where can i put it. I tried search it tc file with *.reg but no results. can someone help me ?
Yes, i know this way. But i exported wm6 register to pc and then i edited it. I have now rebuilt register, but i dont know, where can i put it. I tried search it tc file with *.reg but no results. can someone help me ?
Just import your REG file using some registry editor, Resco for example.
I have searched for hours on this, and I bet it is right under my nose, but i could not find it.
I upgraded my BJ2 with windows mobile 6.1 standard. I have added PHM reg editor, CHome Config. I cannot edit the reg, and chrome config gives me errors when starting saying it can't write to reg.
I am trying to figure out how I can edit my cpr files cause right now, 6.1 will not let me over write or edit the file.
Any idea of what I am missing?
TIA
-Z-
Ok i figured out how to make the CHome Config work. never mind that worked for 1 time. but i can't make it work again. getting error back on CHome Config again saying it cannot write to registery.
this is what I did for that:
HKLM/Security/Policies/Policies
key 00001005 changed value 16 to 40
still can't get the *.cpr file over wrote or copied to the windows folder. The error says I don't have permission to replace it.
zseen said:
Ok i figured out how to make the CHome Config work. never mind that worked for 1 time. but i can't make it work again. getting error back on CHome Config again saying it cannot write to registery.
this is what I did for that:
HKLM/Security/Policies/Policies
key 00001005 changed value 16 to 40
still can't get the *.cpr file over wrote or copied to the windows folder. The error says I don't have permission to replace it.
Click to expand...
Click to collapse
You can't overwrite it via WMDC anyway
To unlock a registry to overwrite it via ActiveSync or device's File Explorer (Resco Explorer):
Download regeditSTG2 which is digitally signed: http://4pda.ru/forum/attach/387522/regeditSTG2.zip
Then install it and change some registry values:
HKEY_LOCAL_MACHINE\Security\Policies\Policies\00001001 = 2
-> change to 1
HKEY_LOCAL_MACHINE\Security\Policies\Policies\00001005 = 16
-> change to 40
HKEY_LOCAL_MACHINE\Security\Policies\Policies\00001017 = 128
-> change to 144
HKEY_LOCAL_MACHINE \Security\Policies\Policies
-> create new key "0000101a": Dword = 1
HKEY_LOCAL_MACHINE \Security\Policies\Policies
-> create new key "0000101b": Dword = 1"
Click to expand...
Click to collapse
Erofich, I tried that and change those values and added the keys. Still not working.
I still can't edit, delete, copy in the windows directory of the phone.
have you did a reboot of your device after these changes?
yep...
the file in ur link is broken. so I used CeRegEditor changed all the things fthat u mentioned and done a soft reset, plus I even tried turning the phone off and back on. still can't do anything in the windows folder.
zseen said:
still can't do anything in the windows folder.
Click to expand...
Click to collapse
What app are you using - WMDC or ActiveSync?
ActiveSync - but wait, i am on vista so really I am using WMDC
I can't use activesync on vista.
I tried using the file explorer on the phone.
I first try to copy the edited file over the no edited file.. Error - I am making sure that the home screen is not set to Sliding panel, as I am trying to edit the CHome_320x240.cpr file.
Next I tried to delete the cpr file from the windows directory - Error - You can't delete file from rom
Then I tried to rename the file in the windows directory, still won't work.
I am not sure on this, but I have read people are editing these files, I just don't understand why I can copy mine to my PC, edit it, but I can't get it back on the phone.
zseen said:
ActiveSync - but wait, i am on vista so really I am using WMDC
I can't use activesync on vista.
I tried using the file explorer on the phone.
I first try to copy the edited file over the no edited file.. Error - I am making sure that the home screen is not set to Sliding panel, as I am trying to edit the CHome_320x240.cpr file.
Next I tried to delete the cpr file from the windows directory - Error - You can't delete file from rom
Then I tried to rename the file in the windows directory, still won't work.
I am not sure on this, but I have read people are editing these files, I just don't understand why I can copy mine to my PC, edit it, but I can't get it back on the phone.
Click to expand...
Click to collapse
try to overwrite it with Resco Explorer (and not a File Explorer)
btw, you can't delete any files in ROM
Thank you Erofich
All works fine now. I'll pass the info on to anyone else that needs the help
zseen said:
Thank you Erofich
All works fine now. I'll pass the info on to anyone else that needs the help
Click to expand...
Click to collapse
Hi, Can you plz share info on how to delete or overwrite files in the windows dir for WM 6.1.
Thanks,
How did you manage to edit the registry? I changed one value (0000 1005 to 40) and now I can't edit anything else. Several programs I've used flat out won't let me change the registry. I keep getting "access denied" on all of them.
Does anyone know how to refere to a registry in a .cpr file.
For example, if I want to add a text on my titanium plugin, and in my registry it's in located in HKLM\Software\whatever\text1, how can I get the .cpr to read the value inside that string?
For some reason wm6.5 knows that it can get values from the HKLM\Software\Microsoft\CHome key, but how can I get it from another key?
Would be realy awesome if someone could help, that way there would be quite a bit more to edit in wm6.5...
Does nobody have any idea?
I read that it is the same language as in .xml files, so how do I add a registry value to a text line?
don't know the format or the program which use cpr files
but if the cpr file include the "HKLM\Software\Microsoft\CHome"
then I would change it
if not then the program which interp the cpr files prob have
the parth hard-coded in it's binary code
Rudegar said:
don't know the format or the program which use cpr files
but if the cpr file include the "HKLM\Software\Microsoft\CHome"
then I would change it
if not then the program which interp the cpr files prob have
the parth hard-coded in it's binary code
Click to expand...
Click to collapse
I know the reg. path is in the binary code of a program,
but can't read or edit that.
But, my question is if someone knows the .xml code to read from a registery value.
fe: the code for a picture is [ source="\Windows\photo1.png" ]
to read something from a .dll file is [ InnerTextType="Resource" Text="shellresapps.dll,18149" ]
if someone could help me...
I want to use a reg file to change the following registry value:
[HKEY_CURRENT_USER\MUI]
"CurLang"=dword:409
Want to change to 816
I know that I can manually change this value using a Registry editor like Total Commander, but what I want to do is, with single click in the reg file in attach located somewhere im my device change this value.
I am trying to this with no luck, the device ask me if I want to import, I say yes but nothing happens and the value is the same as it was (409).
I am doing something wrong?
dotcompt said:
if someone could help me...
I want to use a reg file to change the following registry value:
[HKEY_CURRENT_USER\MUI]
"CurLang"=dword:409
Want to change to 816
I know that I can manually change this value using a Registry editor like Total Commander, but what I want to do is, with single click in the reg file in attach located somewhere im my device change this value.
I am trying to this with no luck, the device ask me if I want to import, I say yes but nothing happens and the value is the same as it was (409).
I am doing something wrong?
Click to expand...
Click to collapse
Hi I'm not 100% sure but your reg-file says:
Code:
REGEDIT4
[HKEY_CURRENT_USER\MUI]
"CurLang"=dword:816
I do it with an regfile to (fully automated with sashimi) and works so fine
Code:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\MUI]
"CurLang"=dword:00000407
Hope this helps!
Hi XDA ppl,
How to delete a registry value with a .reg file? The standard hyphen approach doesn't seem to work. I tried it like this:
[HKEY_LOCAL_MACHINE\Software\Test]
"TestItem"=-
This should delete the TestItem but it refuses to do so. Does anyone knows the trick?
I don't know how to do it with a reg key, but you can do it this way with a mortscript:
Code:
RegDelete("HKLM","\Software\Test","TestItem")
here you go!
cruiserrr said:
here you go!
Click to expand...
Click to collapse
Like I said in my first post: "The standard hyphen approach doesn't seem to work."
gotobigo said:
Like I said in my first post: "The standard hyphen approach doesn't seem to work."
Click to expand...
Click to collapse
Sounds odd! can you tell me the heading of your provxml file? it is xml or provxml? what tool do you use to import? can you post the actual code of the file?
Hi, usually I create a cab file from .reg files with CeRegEditor (ceregeditor.mdsoft.pl). If I create new keys/ values everything works just fine. Just deleting doesn't work.
In the end I installed the kilmist registry editor trial to double check cause it can import .reg files directly, but its the same problem: deleting doesn't work.
Here the exact code of the files I tried:
-- File 1: create a test key with 2 values... works fine ------------------
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Test]
[HKEY_LOCAL_MACHINE\Software\Test]
"TestItemOne"=dword:00000001
"TestItemTwo"=dword:00000001
-- File 2: try to delete 1 value... fails ---------------------------------
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Test]
"TestItemOne"=-
-- File 3: try to delete the whole key... fails too ----------------------
REGEDIT4
[-HKEY_LOCAL_MACHINE\Software\Test]
your files seem ok.
while you find th solution I recommend to add postxml to your cab to delete the unwanted keys. nocharacteristic and nopar should allow you to delete whatever needed.
two hints: check the encoding of the files and check the order. make one cab for the additions and another for the substractions just in case the cab tries to delete the key before it is created. sorry i can not help more !! please, pm when you find what was it
Try:
Save your .reg file as Unicode not ANSI, start your .reg file with
Windows Registry Editor Version 5.00
In the first line. And leave one blank empty line at the end of the .reg file.
Did it work?
fluffiey said:
Try:
Save your .reg file as Unicode not ANSI, start your .reg file with
Windows Registry Editor Version 5.00
In the first line. And leave one blank empty line at the end of the .reg file.
Did it work?
Click to expand...
Click to collapse
Nope, doesn't work either.
I put Windows Registry Editor Version 5.00 in the first line, encoded it 8-bit unicode and made sure theres a blank line at the end (always did that). all to no avail.
Btw, I'm running WM 6.1 on a TP2. I really wonder if its working at other phones / WM versions, or this is a "universal" problem.
thx anyway, Tobias