"Description"="Provides compatibility for legacy applications which interact with TCP/IP through the registry. If this service is stopped, certain applications may have impaired functionality."
"Description"="Provides compatibility for legacy applications which interact with TCP/IP through the registry. If this service is stopped, certain applications may have impaired functionality."
How to edit WinPE 2.0 registry offline
in Windows PE
Posted
To import your registry settings to the PE hive you need to modify the path in the reg files.
In your example you enter a temporary name for the hive, such as WinPE.
Lets say I want to import the tcp registry settings to use PE Network Configurator (PENetCfg) to simplify networking functions in the PE environment.
According to the support documents from http://pierre.orgfree.com/ here are the registry keys needed to enable PENetCfg in my PE environment.
"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_TCPIPREG"
"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\tcpipreg"
Export them to your project directory
Here are the keys, and thier subsets.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_TCPIPREG]
"NextInstance"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_TCPIPREG\0000]
"Service"="tcpipreg"
"Legacy"=dword:00000001
"ConfigFlags"=dword:00000000
"Class"="LegacyDriver"
"ClassGUID"="{8ECC055D-047F-11D1-A537-0000F8753ED1}"
"DeviceDesc"="TCP/IP Registry Compatibility"
"Capabilities"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_TCPIPREG\0000\Control]
"ActiveService"="tcpipreg"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\tcpipreg]
"DisplayName"="TCP/IP Registry Compatibility"
"ImagePath"=hex(2):53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,64,00,\
72,00,69,00,76,00,65,00,72,00,73,00,5c,00,74,00,63,00,70,00,69,00,70,00,72,\
00,65,00,67,00,2e,00,73,00,79,00,73,00,00,00
"Description"="Provides compatibility for legacy applications which interact with TCP/IP through the registry. If this service is stopped, certain applications may have impaired functionality."
"ErrorControl"=dword:00000001
"Start"=dword:00000002
"Type"=dword:00000001
"DependOnService"=hex(7):74,00,63,00,70,00,69,00,70,00,00,00,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\tcpipreg\Enum]
"0"="Root\\LEGACY_TCPIPREG\\0000"
"Count"=dword:00000001
"NextInstance"=dword:00000001
Now with your faVorite text editor, simply modify the hive-path so that it points to the WinPE hive you loaded into the registry editor.
The registry keys now include the path of HKLM\WinPE\SYSTEM
[HKEY_LOCAL_MACHINE\WinPE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_TCPIPREG]
"NextInstance"=dword:00000001
[HKEY_LOCAL_MACHINE\WinPE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_TCPIPREG\0000]
"Service"="tcpipreg"
"Legacy"=dword:00000001
"ConfigFlags"=dword:00000000
"Class"="LegacyDriver"
"ClassGUID"="{8ECC055D-047F-11D1-A537-0000F8753ED1}"
"DeviceDesc"="TCP/IP Registry Compatibility"
"Capabilities"=dword:00000000
[HKEY_LOCAL_MACHINE\WinPE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_TCPIPREG\0000\Control]
"ActiveService"="tcpipreg"
[HKEY_LOCAL_MACHINE\WinPE\SYSTEM\CurrentControlSet\services\tcpipreg]
"DisplayName"="TCP/IP Registry Compatibility"
"ImagePath"=hex(2):53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,64,00,\
72,00,69,00,76,00,65,00,72,00,73,00,5c,00,74,00,63,00,70,00,69,00,70,00,72,\
00,65,00,67,00,2e,00,73,00,79,00,73,00,00,00
"Description"="Provides compatibility for legacy applications which interact with TCP/IP through the registry. If this service is stopped, certain applications may have impaired functionality."
"ErrorControl"=dword:00000001
"Start"=dword:00000002
"Type"=dword:00000001
"DependOnService"=hex(7):74,00,63,00,70,00,69,00,70,00,00,00,00,00
[HKEY_LOCAL_MACHINE\WinPE\SYSTEM\CurrentControlSet\services\tcpipreg\Enum]
"0"="Root\\LEGACY_TCPIPREG\\0000"
"Count"=dword:00000001
"NextInstance"=dword:00000001
Now simply use your favorite registry editor to import your settings to the WinPE Hive.