PDA

View Full Version : Exe file for change the value os a registry entry?


Byrkoff
29th July 2009, 07:57 PM
Is it possible to create an exe file, that when run on the PPC (Blackstone with WM6.1), change the value of a registry entry?

Is for change the value HKCU\Software\Microsoft\Activesync\KeepAlive from 1 to 0

Thanks.

JR_de
29th July 2009, 10:09 PM
You can create a cab file for this.

egoist6
29th July 2009, 10:24 PM
Is it possible to create an exe file, that when run on the PPC (Blackstone with WM6.1), change the value of a registry entry?

Is for change the value HKCU\Software\Microsoft\Activesync\KeepAlive from 1 to 0

Thanks.


dotfred's taskmanager (http://www.dotfred.net/TaskMgr.htm) for importing reg files (containing a set of registry keys
registrysetstring (http://www.chi-tai.info/cs_wm_tools_im_cs.htm#RegistrySetString) for setting just a single registry key
mortscript (http://www.sto-helit.de/index.php?module=page&entry=ms_overview&action=view&menu=29)

Byrkoff
30th July 2009, 04:58 PM
dotfred's taskmanager (http://www.dotfred.net/TaskMgr.htm) for importing reg files (containing a set of registry keys
registrysetstring (http://www.chi-tai.info/cs_wm_tools_im_cs.htm#RegistrySetString) for setting just a single registry key
mortscript (http://www.sto-helit.de/index.php?module=page&entry=ms_overview&action=view&menu=29)


RegistrySetString is perfect to change any string-value, but I want to change an integer-value (Base decimal). Help, please.

egoist6
30th July 2009, 05:17 PM
come on. show more enthusiasm and check the other websites...

if you use taskmgr:
create a reg-file "myvalue.reg":

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Activesync]
"KeepAlive"=dword:00000000

and import the reg file:
taskmgr.exe myvalue.reg


if you use morstscript:
RegWriteDWord("HKCU", "Software\Microsoft\Activesync", "KeepAlive", "0")

Ather
30th July 2009, 05:26 PM
Here is a code i published while ago.. its in C#

you can change it to your needs :
http://forum.xda-developers.com/showpost.php?p=3304680&postcount=11

Byrkoff
30th July 2009, 06:25 PM
Thanks. MortScript is the best.