System Search - Reading Raw Registry Values (DWORD)
Hi,
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
[HKEY_LOCAL_MACHINE\SOFTWARE\aaaa]
"TCPIPPort"=dword:00000004
When the value is stored using the raw registry read in WIS it is = "#4"
When I reimport the property into the registry:
[HKEY_LOCAL_MACHINE\SOFTWARE\xxxx]
"TCPIPPort"="#4"
Does anyone know how I can import the value back as a DWORD without the use of scripts?
Many Thanks
Paul
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
[HKEY_LOCAL_MACHINE\SOFTWARE\aaaa]
"TCPIPPort"=dword:00000004
When the value is stored using the raw registry read in WIS it is = "#4"
When I reimport the property into the registry:
[HKEY_LOCAL_MACHINE\SOFTWARE\xxxx]
"TCPIPPort"="#4"
Does anyone know how I can import the value back as a DWORD without the use of scripts?
Many Thanks
Paul
0 Comments
[ + ] Show comments
Answers (4)
Please log in to answer
Posted by:
yuri
14 years ago
Posted by:
timmsie
14 years ago
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]
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
14 years ago
Posted by:
ekniranjan
14 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.