I have read numerous posts about incorporating penetcfg into winpe. I understand that the tcpipreg.sys needs to be added in to ...system32\drivers; then open the registry to add the following keys:
[HKEY_LOCAL_MACHINE\TempHive\ControlSet001\Enum\Root\LEGACY_TCPIPREG]
"NextInstance"=dword:00000001
[HKEY_LOCAL_MACHINE\TempHive\ControlSet001\Enum\Root\LEGACY_TCPIPREG\0000]
"Service"="tcpipreg"
"Legacy"=dword:00000001
"ConfigFlags"=dword:00000020
"Class"="LegacyDriver"
"ClassGUID"="{8ECC055D-047F-11D1-A537-0000F8753ED1}"
"DeviceDesc"="TCP/IP Registry Compatibility"
"Capabilities"=dword:00000000
[HKEY_LOCAL_MACHINE\TempHive\ControlSet001\Enum\Root\LEGACY_TCPIPREG\0000\Control]
"ActiveService"="tcpipreg"
[HKEY_LOCAL_MACHINE\TempHive\ControlSet001\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\TempHive\ControlSet001\Services\tcpipreg\Enum]
"0"="Root\\LEGACY_TCPIPREG\\0000"
"Count"=dword:00000001
"NextInstance"=dword:00000001
Then I copied the contents of the penetcfg folder to same location as wpeinit.
I've tried calling it from startnet.cmd after the call to wpeinit.exe but it doesn't seem to be working.
What is the proper process for automating the call to penetcfg from within the WinPE boot process? Thanks.
