Jump to content
Sign in to follow this  

RegWrite Help

Recommended Posts


Hi i need to change value to a DWORD into Windows registry, but the value that i must insert is expressed as hexadecimal (editing File.Reg is wrote hex:..... )

That I want realize is: Read original value of DWORD "PageSpaceControlSizer" and record the DATA on file (overwriting if already exist file) and Then replace the value with an other

After record value I replace DATA with this value



Then when I press SHIFT-ESC HotKeySet("+{ESC}", "Default")

read from file and come back to original value of "PageSpaceControlSizer"

The problem is that when i read value. using command

$key= RegRead("HKEY_USERS\S-1-5-21-1910003253-1007278638-1873172583-500\Software\Microsoft\Windows\CurrentVersion\Explorer\Modules\GlobalSettings\Sizer", "PageSpaceControlSizer")

the value of $key is: 0xfb00000001000000000000005d030000

but if i use RegWrite ( "keyname" [,"valuename" [, "type" [, value]]] )

RegWrite("HKEY_USERS\S-1-5-21-1910003253-1007278638-1873172583-500\Software\Microsoft\Windows\CurrentVersion\Explorer\Modules\GlobalSettings\Sizer", "PageSpaceControlSizer, "REG_DWORD", "0x3F200000010000000000000a9030000")

proved aslo with options




and other..

and the value is not inserted correctly.

How can insert value reported into file.REG when i backup it using Regedit ?

How i'm wronging??

Thank you

Share this post

Link to post
Share on other sites

If, as it sounds, your replacement value is static, why not just use FileInstall to include a .reg file, and import that file after recording the original value?

√-1 2^3 ∑ π, and it was delicious!

How to get your question answered on this forum!

Share this post

Link to post
Share on other sites

I must study how use this new function (for me).

I must change always two hexadecimal code value in the same regkey in order to have big left folder pane or return to original previously dimension of left navigation pane of Windows explorer.

(For this reason i must know the two original hexadecimal value, writing it on file)

Thanks for help

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this