Types of registry entries

  • Thread starter Thread starter JR
  • Start date Start date
J

JR

Hi,

There are some types that are possible in th registry,

Binary
ExpandString
Long
MultiString
None
String

My question now is what are the differency of them all

I know Binary,long and string.

None seems to be always empty
but what are the other strings (expanded and multi)

THX Jan
 
REG_EXPAND_SZ (Expandable String Value) is used to store variables with
%environmentvariables% in them which, as long as the application reading
them understands, will be expanded.

For examples, look at:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User
Shell Folders

REG_MULTI_SZ is used to store multi-value values, one entry per line.

For examples, look at:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager

If you're using Windows XP or Windows Server 2003, then regedit.exe
understands how to display REG_MULTI_SZ. If you're on an older platform,
use regedt32.exe to look at these, otherwise they just appear as binary when
you view the data.

Hope this helps

Oli
 
REG_EXPAND_SZ (Expandable String Value) is used to store variables with
%environmentvariables% in them which, as long as the application reading
them understands, will be expanded.

For examples, look at:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User
Shell Folders

REG_MULTI_SZ is used to store multi-value values, one entry per line.

For examples, look at:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager

If you're using Windows XP or Windows Server 2003, then regedit.exe
understands how to display REG_MULTI_SZ. If you're on an older platform,
use regedt32.exe to look at these, otherwise they just appear as binary when
you view the data.

Hope this helps

Oli
 
<snip>
Hi Jan,
You can find a list of all registry value types with their descriptions
at (URL wraps):

Registry Value Types
http://msdn.microsoft.com/library/default.asp?url=/library/en-
us/sysinfo/base/registry_value_types.asp

HTH
--
Cheers,
Marin Marinov
MCT, MCSE 2003/2000/NT4.0,
MCSE:Security 2003/2000, MCP+I
-
This posting is provided "AS IS" with no warranties, and confers no
rights.

"True knowledge exists in knowing that you know nothing."
Socrates
 
<snip>
Hi Jan,
You can find a list of all registry value types with their descriptions
at (URL wraps):

Registry Value Types
http://msdn.microsoft.com/library/default.asp?url=/library/en-
us/sysinfo/base/registry_value_types.asp

HTH
--
Cheers,
Marin Marinov
MCT, MCSE 2003/2000/NT4.0,
MCSE:Security 2003/2000, MCP+I
-
This posting is provided "AS IS" with no warranties, and confers no
rights.

"True knowledge exists in knowing that you know nothing."
Socrates
 
thanks

--
Met vriendelijke groeten.
Jan
Oli Restorick said:
REG_EXPAND_SZ (Expandable String Value) is used to store variables with
%environmentvariables% in them which, as long as the application reading
them understands, will be expanded.

For examples, look at:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User
Shell Folders

REG_MULTI_SZ is used to store multi-value values, one entry per line.

For examples, look at:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager

If you're using Windows XP or Windows Server 2003, then regedit.exe
understands how to display REG_MULTI_SZ. If you're on an older platform,
use regedt32.exe to look at these, otherwise they just appear as binary when
you view the data.

Hope this helps

Oli
 
thanks

--
Met vriendelijke groeten.
Jan
Oli Restorick said:
REG_EXPAND_SZ (Expandable String Value) is used to store variables with
%environmentvariables% in them which, as long as the application reading
them understands, will be expanded.

For examples, look at:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User
Shell Folders

REG_MULTI_SZ is used to store multi-value values, one entry per line.

For examples, look at:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager

If you're using Windows XP or Windows Server 2003, then regedit.exe
understands how to display REG_MULTI_SZ. If you're on an older platform,
use regedt32.exe to look at these, otherwise they just appear as binary when
you view the data.

Hope this helps

Oli
 
Back
Top