How to fix Netsh problems in 1607 and 1703 WinPE.

Netsh is broken in versions 1607 and 1703 of the WinPE's. The first thing to do is add the Dot3Svc package. Then there are DLL's and registry entries that are missing from WinPE. They need to be added. Here are the lists to add.

For WinPE:

DLL's

authfwcfg.dll

fwcfg.dll

hnetmon.dll

nshhttp.dll

nshipsec.dll

p2pnetsh.dll

p2p.dll

rpcnsh.dll

whhelper.dll

mdmregistration.dll

dmcmnutils.dll

wwancfg.dll

wwapi.dll

wcmapi.dll

rmclient.dll

peerdistsh.dll

clbcatq.dll

rastls.dll

eapprovp.dll

raschap.dll

wcnnetsh.dll

wifidisplay.dll

wlanapi.dll

wlancfg.dll

Registry entries all at HKLM\SOFTWARE\Microsoft\NetSh

authfwcfg REG_SZ authfwcfg.dll

dot3cfg REG_SZ dot3cfg.dll

fwcfg REG_SZ fwcfg.dll

hnetmon REG_SZ hnetmon.dll

nettrace REG_SZ nettrace.dll

nshhttp REG_SZ nshhttp.dll

nshipsec REG_SZ nshipsec.dll

p2pnetsh REG_SZ p2pnetsh.dll

peerdistsh REG_SZ peerdistsh.dll

rpc REG_SZ rpcnsh.dll

whhelper REG_SZwhhelper.dll

wwancfg REG_SZ wwancfg.dll

If you use WinRE in place of WinPE, you can eliminate the last 4 dll's and the last registry entry.