System Search - Reading Raw Registry Values (DWORD)


I have an issue where I read a DWORD registry value into a property upon installation so I can use this value within our software registry and basically the property gets stored as a string instead of the intended DWORD.

For Example


When the value is stored using the raw registry read in WIS it is = "#4"

When I reimport the property into the registry:


Does anyone know how I can import the value back as a DWORD without the use of scripts?

Many Thanks


0 Comments   [ + ] Show comments

Answers (4)

Posted by: yuri 12 years ago
Orange Belt
If you set the data type to 'string' instead of 'Double Word' in the registry details it will write the registry key as a DWORD value.
Posted by: timmsie 12 years ago
Fourth Degree Brown Belt
I'm not sure if I'm reading you right but a value of #4 in the registry table is interpreted as a DWORD value

Registry table

So in your Registry table do you have the value of the reg key HKEY_LOCAL_MACHINE\SOFTWARE\TCPIPPort set to #[RESULT OF DWORD READ PROPERTY]
Posted by: HotSpot 12 years ago
Orange Senior Belt
Hi Yuri,

As illogical as it seems that worked?!

Thank you for your promt response

Posted by: ekniranjan 12 years ago
Purple Belt
Cool one dude, something i learn, i think this may be useful in future. I am not sure how it works, but definitely i will give a trial.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ