[Main]
Title=Network Center
Description     =Adds the network center.
Selected=True
Level           =3
Author=ChrisR, Kare
Version=10.4
Date=01.09.2024
Sizex86=|66522145:0:0
Sizex64=|89823711:0:0
Transl. DE      =Bazii

[Interface]
Panel=1
tEcho_1=Copying Files
tEcho_2=Writing Registry entrys...

[Interface.07]
Description=Integriert das Netzwerkcenter in WinPE.
Panel=1
tEcho_1=Dateien werden kopiert
tEcho_2=Registry-Einträge werden geschrieben...


[Process]

Echo,%tEcho_1%

DirMake,%Target_Win%\L2Schemas
DirMake,%Target_Win%\schemas

DirCopy, %Install_Win%\L2Schemas, %Target_Win%\L2Schemas\
DirCopy, %Install_Win%\schemas, %Target_Win%\schemas\
DirCopy,%Install_sys%\icsxml,%target_sys%\icsxml
filecopy,%boot_sys%\wbem\Repository\*.*,%target_sys%\wbem\Repository\


SetReqFile,%Install_sys%,%Distlang%,%FallBack%,%target_sys%

ReqFile,IEAdvpack.dll,1
ReqFile,ipconfig.exe,1
ReqFile,nbtstat.exe,1
ReqFile,netcfg.exe,1
ReqFile,netsh.exe,1
ReqFile,wshqos.dll,1

// netfiles
ReqFile,netcfgx.dll,1
ReqFile,iologmsg.dll,1
ReqFile,werui.dll,1

// build 14393
If,ExistFile,%Install_sys%\credprovslegacy.dll,then,ReqFile,credprovslegacy.dll,1
If,ExistFile,%Install_sys%\eappcfgui.dll,then,ReqFile,eappcfgui.dll,1
If,ExistFile,%Install_sys%\NetworkUXBroker.dll,then,ReqFile,NetworkUXBroker.dll


if,existfile,%Install_sys%\wwaninst.dll,then,ReqFile,wwaninst.dll

ReqFile,sstpsvc.dll,1

ReqFile,cngcredui.dll,1
ReqFile,cngprovider.dll,1
ReqFile,KerbClientShared.dll
ReqFile,keyiso.dll,1
ReqFile,msi.dll
ReqFile,oleacchooks.dll
ReqFile,icmp.dll
ReqFile,inetcomm.dll
ReqFile,lmhsvc.dll,1
ReqFile,mprmsg.dll,1
ReqFile,msutb.dll,2
ReqFile,NcaApi.dll
ReqFile,neth.dll,1
ReqFile,netiohlp.dll,1
ReqFile,networkitemfactory.dll,1
ReqFile,puiapi.dll,1
ReqFile,SetNetworkLocation.dll,1
ReqFile,winrnr.dll,1
if,%arch%,=,x86,then,ReqFile,lanman.drv

//net diag
ReqFile,ndfapi.dll,1
ReqFile,ndfetw.dll
ReqFile,NdfEventView.xml
ReqFile,ndfhcdiscovery.dll
ReqFile,nshwfp.dll,1
ReqFile,netevent.dll,1

// control Pannel
//ReqFile,wow-ncpa.cpl,1
ReqFile,netid.dll,1
ReqFile,inetcpl.cpl,2
ReqFile,telephon.cpl,1
ReqFile,ipsecsnp.dll,1
ReqFile,winipsec.dll
ReqFile,netbios.dll


// tcpip
ReqFile,httpapi.dll,1
ReqFile,msafd.dll
ReqFile,tcpipcfg.dll,1
ReqFile,tcpmib.dll
ReqFile,TCPSVCS.EXE
ReqFile,winnlsres.dll,1
if,%WIM_BUILD%,<,26000,then,ReqFile,winsockhc.dll,1
ReqFile,wshelper.dll,1

// Dhcp
ReqFile,dhcpcmonitor.dll,1
ReqFile,dhcpsapi.dll,1

/// Dns
ReqFile,dnsrslvr.dll,1

//ReqFile,credui.dll,1
ReqFile,cryptui.dll,1

// ---- Serive Files -------
//echo,%tEcho_2%
// Nla

if,%WIM_BUILD%,<,26000,then,ReqFile,nlahc.dll,1
if,existfile,%Install_sys%\Wbem\nlasvc.mof,then,filecopy,%Install_sys%\Wbem\nlasvc.mof,%target_sys%\wbem\

// WcmSvc
ReqFile,wcmcsp.dll
ReqFile,wcmapi.dll
ReqFile,wcmsvc.dll,1

// Dot3Svc
ReqFile,dot3api.dll,1
ReqFile,dot3cfg.dll,1
ReqFile,dot3gpclnt.dll,1
ReqFile,dot3gpui.dll,1
ReqFile,dot3msm.dll,1
ReqFile,dot3svc.dll,1
ReqFile,dot3ui.dll,1
ReqFile,l2gpstore.dll
ReqFile,l2nacp.dll,1
ReqFile,onex.dll,1
ReqFile,onexui.dll,1
if,%WIM_BUILD%,<,26000,then
  ReqFile,dot3dlg.dll,1
  ReqFile,dot3hc.dll,1
  ReqFile,dot3mm.dll,1
  ReqFile,Dot3Conn.dll,1
End

// EapHost
ReqFile,Eap3Host.exe
ReqFile,eapp3hst.dll
ReqFile,eappcfg.dll,1
ReqFile,eappgnui.dll,1
ReqFile,eapphost.dll,1
ReqFile,eappprxy.dll
ReqFile,eapsvc.dll,1
ReqFile,ttlsauth.dll,1
ReqFile,ttlscfg.dll,1
ReqFile,simauth.dll,1
ReqFile,simcfg.dll,1
ReqFile,WcnEapAuthProxy.dll
ReqFile,WcnEapPeerProxy.dll
ReqFile,eapprovp.dll
ReqFile,msvcp110_win.dll

// WcncSvc
ReqFile,wcncsvc.dll,1
ReqFile,WcnApi.dll
ReqFile,WcnNetsh.dll,1
ReqFile,wcnwiz.dll,2
ReqFile,fdWCN.dll

// NDIS
filecopy,%Install_win%\inf\ndiscap.inf,%target_win%\inf\
if,Existfile,%Install_sys%\ndiscapCfg.dll,then,ReqFile,ndiscapCfg.dll
if,%WIM_BUILD%,<,26000,then,ReqFile,ndishc.dll,1
if,Existfile,%Install_sys%\NdisImPlatformNetCfg.dll,then,ReqFile,NdisImPlatformNetCfg.dll
// ?? ReqFile,rascfg.dll,1

//Lanman
ReqFile,srvsvc.dll,1
ReqFile,sscore.dll,1
ReqFile,sscoreext.dll
if,Existfile,%Install_sys%\browser.dll,then,ReqFile,browser.dll,1
ReqFile,netman.dll,1
ReqFile,netplwiz.dll,1
ReqFile,wkspbrokerax.dll,1
ReqFile,wksprtps.dll
ReqFile,BFE.DLL,1
ReqFile,IKEEXT.DLL,1
ReqFile,mi.dll,1
ReqFile,fwbase.dll
ReqFile,CoreMessaging.dll,1
ReqFile,fwpolicyiomgr.dll

// Van
//später If,Not,ExistDir,%TargetDir%\ProgramData\Microsoft\WwanSvc\Profiles,DirMake,%TargetDir%\ProgramData\Microsoft\WwanSvc\Profiles

ReqFile,WwanRadioManager.dll
ReqFile,RMapi.dll,1
if,%WIM_BUILD%,<,26000,then
  ReqFile,DAMM.dll,1
  ReqFile,RASMM.dll,1
End
if,%WIM_BUILD%,<=,22000,then,ReqFile,wwanmm.dll,1

//Echo,%tEcho_3%

ReqFile,Drivers\http.sys,1
ReqFile,Drivers\tunnel.sys,1

// NDIS
ReqFile,Drivers\ndiscap.sys,1
ReqFile,Drivers\ndisimplatform.sys,1
// tcpip
ReqFile,Drivers\tcpipreg.sys
// tdx
ReqFile,Drivers\tdx.sys
// WLan
ReqFile,Drivers\nwifi.sys,1
if,%WIM_BUILD%,<,26000,then
  ReqFile,Drivers\vwifibus.sys,1
  ReqFile,Drivers\vwifimp.sys
Else
  ReqFile,kerb3961.dll
End
ReqFile,Drivers\wfplwfs.sys
ReqFile,Drivers\WdiWiFi.sys
FileCopy,%Install_sys%\wbem\wlan.mof,%target_sys%\wbem\


// Firewall
ReqFile,icfupgd.dll
ReqFile,Firewall.cpl
ReqFile,firewallcontrolpanel.dll,1
ReqFile,fwcfg.dll,1
ReqFile,fwremotesvr.dll
ReqFile,cmifw.dll
ReqFile,authfwcfg.dll,1
ReqFile,authfwgp.dll,1
ReqFile,authfwwizfwk.dll,1
ReqFile,wfhc.dll,1
ReqFile,wfapigp.dll
// später InstallCopyWbem,firewallapi.mof
//-
ReqFile,Drivers\vwififlt.sys
ReqFile,MPSSVC.dll,1

//- Windows Firewall/Internet Connection Sharing s (ICS) ervice
ReqFile,Drivers\ipnat.sys,1
ReqFile,ipnathlp.dll,1
ReqFile,icsigd.dll,1
ReqFile,icsunattend.exe

//Copy_Network_Center
ReqFile,connect.dll,1
ReqFile,hgcpl.dll,1
ReqFile,hnetcfg.dll,1
ReqFile,hnetmon.dll,1
ReqFile,netcenter.dll,1
if,%WIM_BUILD%,<,26000,then
  ReqFile,VAN.dll,1
  ReqFile,pnidui.dll,1
End
//- Network System Icon
ReqFile,dtsh.dll,1

//AddService_WlanSvc
filecopy,%Install_win%\inf\netnwifi.inf,%target_win%\inf\
DirCopy,%Install_sys%\DriverStore\FileRepository\netnwifi.inf_*,%target_sys%\DriverStore\FileRepository\

filecopy,%Install_win%\inf\netvwifibus.inf,%target_win%\inf\
DirCopy,%Install_sys%\DriverStore\FileRepository\netvwifibus.inf_*,%target_sys%\DriverStore\FileRepository\
if,%WIM_BUILD%,<,26000,then,FileCopy,%Install_sys%\\drivers\vwifibus.sys,%target_win%\inf\


filecopy,%Install_win%\inf\netvwififlt.inf,%target_win%\inf\
DirCopy,%Install_sys%\DriverStore\FileRepository\netvwififlt.inf_*,%target_sys%\DriverStore\FileRepository\


filecopy,%Install_win%\inf\netvwifimp.inf,%target_win%\inf\
DirCopy,%Install_sys%\DriverStore\FileRepository\netvwifimp.inf_*,%target_sys%\DriverStore\FileRepository\

Wim,Extract,file,%Install_sys%\Recovery\winre.wim,1,windows\System32\catroot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\WinPE-WiFi-Package*,%TargetDir%
	
ReqFile,provcore.dll,1
ReqFile,wlanapi.dll,1
ReqFile,wlancfg.dll,1
ReqFile,wlandlg.dll,1
ReqFile,wlanext.exe,1
ReqFile,wlangpui.dll,1
ReqFile,wlanhlp.dll
if,%WIM_BUILD%,<,26000,then
  ReqFile,WLanConn.dll,1
  ReqFile,WLanHC.dll,1
  ReqFile,WlanMM.dll,1
End
ReqFile,wlanmsm.dll
ReqFile,wlanpref.dll,1
ReqFile,WlanRadioManager.dll
ReqFile,wlansec.dll
ReqFile,wlansvc.dll,1
ReqFile,wlanui.dll,1
ReqFile,wlanutil.dll,1
ReqFile,wlansvcpal.dll
ReqFile,WlanMediaManager.dll

//Copy_Wireless_Pwd
ReqFile,fdProxy.dll
ReqFile,fontext.dll,1
ReqFile,fundisc.dll,1
ReqFile,webcheck.dll,1
ReqFile,Windows.Globalization.dll,1

//Copy_Share_Files]
ReqFile,iprtprio.dll
ReqFile,iprtrmgr.dll,1
ReqFile,mprddm.dll,1
ReqFile,mprdim.dll,1
ReqFile,rtm.dll,1
ReqFile,networkexplorer.dll,2
if,%WIM_BUILD%,<=,19042,then,ReqFile,NetworkStatus.dll,1
ReqFile,shpafact.dll
ReqFile,shrpubw.exe,2
ReqFile,SMBHelperClass.dll,1
ReqFile,smbwmiv2.dll,1
// needed for "share folder"==
ReqFile,wmiclnt.dll
ReqFile,comsvcs.dll
ReqFile,shacct.dll

//-- Security Components
ReqFile,gptext.dll,1
ReqFile,keymgr.dll,1
ReqFile,msaudite.dll,1

//-- Must for input password
ReqFile,credprovhost.dll,1
ReqFile,credprovs.dll,1
ReqFile,credssp.dll
//
//-- Map_Net_Drive
ReqFile,mprext.dll,1
//-- Add_Net_Location
ReqFile,shwebsvc.dll,1
//-- Join to Workgroup
ReqFile,joinutil.dll
ReqFile,netprovfw.dll
//-- (Optional)
ReqFile,netbtugc.exe,1
ReqFile,netiougc.exe,1
ReqFile,netlogon.dll,1
ReqFile,Netplwiz.exe,1
ReqFile,netshell.dll,2
ReqFile,seclogon.dll,1
ReqFile,shsvcs.dll,1

if,%WIM_BUILD%,=>,17134,then,ReqFile,mobilenetworking.dll

// camsvc
if,%WIM_BUILD%,=>,22000,then
  ReqFile,CapabilityAccessManager.dll,1
  ReqFile,CapabilityAccessManagerClient.dll
  ReqFile,CapabilityAccessHandlers.dll
  ReqFile,winsqlite3.dll
End

if,%arch%,=,x86,then
	ReqFile,msscript.ocx,1
	ReqFile,msvcrt20.dll
	ReqFile,olecli32.dll,1
	ReqFile,olethk32.dll
	ReqFile,wshnetbs.dll
else
	SetReqFile,%Install_wow%,%Distlang%,%FallBack%,%target_wow%
	ReqFile,msscript.ocx,1
	ReqFile,msvcrt20.dll
	ReqFile,olecli32.dll,1
	ReqFile,olethk32.dll
end

echo,%tEcho_2%
RegLoad,%RegSystem%,PE-SYSTEM
RegLoad,%RegSoftware%,PE-SOFTWARE
RegLoad,%Install_Sys%\config\system,Ins-SYSTEM
RegLoad,%Install_Sys%\config\software,Ins-SOFTWARE

RegWrite,HKLM,0x0,PE-System\Setup\AllowStart\dhcp
RegWrite,HKLM,0x0,PE-System\Setup\AllowStart\nlasvc
RegWrite,HKLM,0x0,PE-System\Setup\AllowStart\wcmsvc
RegWrite,HKLM,0x0,PE-System\Setup\AllowStart\BFE
RegWrite,HKLM,0x0,PE-System\Setup\AllowStart\dnscache
RegWrite,HKLM,0x0,PE-System\Setup\AllowStart\LanmanServer
//RegWrite,HKLM,0x0,PE-System\Setup\AllowStart\netprofm

set,%RegExe%,%WindowsDir%\System32\reg.exe
//Nla
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-System\ControlSet001\Control\SafeBoot\Network\NlaSvc HKLM\PE-System\ControlSet001\Control\SafeBoot\Network\NlaSvc /s /f"
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-System\ControlSet001\Services\NlaSvc HKLM\PE-System\ControlSet001\Services\NlaSvc /s /f"

//WcmSVC
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{67d07935-283a-4791-8f8d-fa9117f3e6f2} HKLM\PE-SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{67d07935-283a-4791-8f8d-fa9117f3e6f2} /s /f"

//ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SOFTWARE\Microsoft\wcmsvc HKLM\PE-SOFTWARE\Microsoft\wcmsvc /s /f"
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SOFTWARE\Policies\Microsoft\Windows\WcmSvc HKLM\PE-SOFTWARE\Policies\Microsoft\Windows\WcmSvc /s /f"
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\WindowsSettingHandlers\Tethering HKLM\PE-SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\WindowsSettingHandlers\Tethering /s /f"
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-System\ControlSet001\Services\Wcmsvc HKLM\PE-System\ControlSet001\Services\Wcmsvc /s /f"

//Dot3
ShellExecute,hide,%Regexe%,"Copy HKLM\Ins-Software\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{b92cf7fd-dc10-4c6b-a72d-1613bf25e597} HKLM\PE-Software\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{b92cf7fd-dc10-4c6b-a72d-1613bf25e597} /s /f"
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-System\ControlSet001\Control\Winlogon\Notifications\Components\Dot3svc HKLM\PE-SYSTEM\ControlSet001\Control\Winlogon\Notifications\Components\Dot3svc /s /f"
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-System\ControlSet001\Services\dot3svc HKLM\PE-SYSTEM\ControlSet001\Services\dot3svc /s /f"

// WlanSVC
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{9580d7dd-0379-4658-9870-d5be7d52d6de} HKLM\PE-SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{9580d7dd-0379-4658-9870-d5be7d52d6de} /s /f"
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SOFTWARE\Microsoft\WlanSvc HKLM\PE-SOFTWARE\Microsoft\WlanSvc /s /f"

ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SYSTEM\ControlSet001\Control\NetTrace\Scenarios\WLAN HKLM\PE-System\ControlSet001\Control\NetTrace\Scenarios\WLAN /s /f"
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SYSTEM\ControlSet001\Control\Winlogon\Notifications\Components\Wlansvc HKLM\PE-System\ControlSet001\Control\Winlogon\Notifications\Components\Wlansvc /s /f"
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SYSTEM\ControlSet001\Services\EventLog\System\Microsoft-Windows-WLAN-AutoConfig HKLM\PE-System\ControlSet001\Services\EventLog\System\Microsoft-Windows-WLAN-AutoConfig /s /f"
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SYSTEM\ControlSet001\Services\WlanSvc HKLM\PE-System\ControlSet001\Services\WlanSvc /s /f"

//NativeWifiP
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SYSTEM\ControlSet001\Control\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{E475CF9A-60CD-4439-A75F-0079CE0E18A1} HKLM\PE-System\ControlSet001\Control\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{E475CF9A-60CD-4439-A75F-0079CE0E18A1} /s /f"
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SYSTEM\ControlSet001\Services\NativeWifiP HKLM\PE-System\ControlSet001\Services\NativeWifiP /s /f"
//vwifibus
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SYSTEM\ControlSet001\Services\vwifibus HKLM\PE-System\ControlSet001\Services\vwifibus /s /f"

//wifi flt
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SYSTEM\ControlSet001\Services\vwififlt HKLM\PE-System\ControlSet001\Services\vwififlt /s /f"
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SYSTEM\ControlSet001\Control\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{5CBF81BF-5055-47CD-9055-A76B2B4E3698} HKLM\PE-System\ControlSet001\Control\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{5CBF81BF-5055-47CD-9055-A76B2B4E3698} /s /f"

// Holger: Fix WFPLWFS and both services nativewifip, wlanscv.
  RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{E475CF9A-60CD-4439-A75F-0079CE0E18A1}\Kernel,FilterClass,ms_medium_converter_top
  RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{3BFD7820-D65C-4C1B-9FEA-983A019639EA}\Kernel,FilterClass,ms_medium_converter_top
  RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{B70D6460-3635-4D42-B866-B8AB1A24454C}\Kernel,FilterClass,ms_medium_converter_top

RegWrite,HKLM,0x1,PE-System\ControlSet001\Control\SecurityProviders,SecurityProviders,credssp.dll

//iphlpsvc
//ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SYSTEM\ControlSet001\Services\iphlpsvc HKLM\PE-System\ControlSet001\Services\iphlpsvc /s /f"

//WcncSvc
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{c100becc-d33a-4a4b-bf23-bbef4663d017} HKLM\PE-SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{c100becc-d33a-4a4b-bf23-bbef4663d017} /s /f"
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{c100becf-d33a-4a4b-bf23-bbef4663d017} HKLM\PE-SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{c100becf-d33a-4a4b-bf23-bbef4663d017} /s /f"
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SYSTEM\ControlSet001\Control\wcncsvc HKLM\PE-System\ControlSet001\Control\wcncsvc /s /f"
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SYSTEM\ControlSet001\Services\wcncsvc HKLM\PE-System\ControlSet001\Services\wcncsvc /s /f"

// Ndisuio
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SYSTEM\ControlSet001\Services\Ndisuio HKLM\PE-System\ControlSet001\Services\Ndisuio /s /f"

//NDIS
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{11c5d8ad-756a-42c2-8087-eb1b4a72a846} HKLM\PE-SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{11c5d8ad-756a-42c2-8087-eb1b4a72a846} /s /f"
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SYSTEM\ControlSet001\Control\NetTrace\Scenarios\NDIS HKLM\PE-System\ControlSet001\Control\NetTrace\Scenarios\NDIS /s /f"
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SYSTEM\ControlSet001\Services\NDIS HKLM\PE-System\ControlSet001\Services\NDIS /s /f"

// NDIS Tapi
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SYSTEM\ControlSet001\Services\NdisTapi HKLM\PE-System\ControlSet001\Services\NdisTapi /s /f"

// NdisWan
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SYSTEM\ControlSet001\Control\Network\{4d36e975-e325-11ce-bfc1-08002be10318}\{5357414E-4449-004E-7CF1-D431BBD4B8EB} HKLM\PE-System\ControlSet001\Control\Network\{4d36e975-e325-11ce-bfc1-08002be10318}\{5357414E-4449-004E-7CF1-D431BBD4B8EB} /s /f"
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SYSTEM\ControlSet001\Services\NdisWan HKLM\PE-System\ControlSet001\Services\NdisWan /s /f"

//NdisCap
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{2ed6006e-4729-4609-b423-3ee7bcd678ef} HKLM\PE-SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{2ed6006e-4729-4609-b423-3ee7bcd678ef} /s /f"
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SYSTEM\ControlSet001\Control\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{EA24CD6C-D17A-4348-9190-09F0D5BE83DD} HKLM\PE-System\ControlSet001\Control\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{EA24CD6C-D17A-4348-9190-09F0D5BE83DD} /s /f"
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SYSTEM\ControlSet001\Control\SafeBoot\Network\ndiscap HKLM\PE-System\ControlSet001\Control\SafeBoot\Network\ndiscap /s /f"
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SYSTEM\ControlSet001\Services\NdisCap HKLM\PE-System\ControlSet001\Services\NdisCap /s /f"

// Wfplwfs
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SYSTEM\ControlSet001\Control\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{3BFD7820-D65C-4C1B-9FEA-983A019639EA} HKLM\PE-System\ControlSet001\Control\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{3BFD7820-D65C-4C1B-9FEA-983A019639EA} /s /f"
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SYSTEM\ControlSet001\Control\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{B70D6460-3635-4D42-B866-B8AB1A24454C} HKLM\PE-System\ControlSet001\Control\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{B70D6460-3635-4D42-B866-B8AB1A24454C} /s /f"
If,%Arch%,=,x64,then,ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SYSTEM\ControlSet001\Control\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{E7C3B2F0-F3C5-48DF-AF2B-10FED6D72E7A} HKLM\PE-System\ControlSet001\Control\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{E7C3B2F0-F3C5-48DF-AF2B-10FED6D72E7A} /s /f"
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SYSTEM\ControlSet001\Services\WFPLWFS HKLM\PE-System\ControlSet001\Services\WFPLWFS /s /f"

// Browser
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SYSTEM\ControlSet001\Control\SafeBoot\Network\Browser HKLM\PE-System\ControlSet001\Control\SafeBoot\Network\Browser /s /f"
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SYSTEM\ControlSet001\Services\Browser HKLM\PE-System\ControlSet001\Services\Browser /s /f"
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SYSTEM\ControlSet001\Services\EventLog\System\Browser HKLM\PE-System\ControlSet001\Services\EventLog\System\Browser /s /f"

//Tcpip +th2
RegWrite,HKLM,0x4,PE-SYSTEM\ControlSet001\Services\Tcpip,NdisMajorVersion,6
RegWrite,HKLM,0x4,PE-SYSTEM\ControlSet001\Services\Tcpip,NdisMinorVersion,40
RegWrite,HKLM,0x4,PE-SYSTEM\ControlSet001\Services\Tcpip,DriverMajorVersion,0
RegWrite,HKLM,0x4,PE-SYSTEM\ControlSet001\Services\Tcpip,DriverMinorVersion,0
RegWrite,HKLM,0x7,PE-SYSTEM\ControlSet001\Services\Tcpip\Linkage,Export,\Device\{68F439EC-AE4C-417A-ADF5-CA219E01F327}
RegWrite,HKLM,0x7,PE-SYSTEM\ControlSet001\Services\Tcpip\Linkage,Bind,\Device\Tcpip_{68F439EC-AE4C-417A-ADF5-CA219E01F327}
RegWrite,HKLM,0x7,PE-SYSTEM\ControlSet001\Services\Tcpip\Linkage,Route,#$q{68F439EC-AE4C-417A-ADF5-CA219E01F327}#$q
RegWrite,HKLM,0x1,PE-SYSTEM\ControlSet001\Services\Tcpip\Parameters,ICSDomain,mshome.net
RegWrite,HKLM,0x1,PE-SYSTEM\ControlSet001\Services\Tcpip\Parameters,NV Hostname,DESKTOP-QGL8DMR
RegWrite,HKLM,0x1,PE-SYSTEM\ControlSet001\Services\Tcpip\Parameters,Hostname,DESKTOP-QGL8DMR
RegWrite,HKLM,0x1,PE-SYSTEM\ControlSet001\Services\Tcpip\Parameters\Adapters\{68f439ec-ae4c-417a-adf5-ca219e01f327},LLInterface,
RegWrite,HKLM,0x7,PE-SYSTEM\ControlSet001\Services\Tcpip\Parameters\Adapters\{68f439ec-ae4c-417a-adf5-ca219e01f327},IpConfig,Tcpip\Parameters\Interfaces\{68F439EC-AE4C-417A-ADF5-CA219E01F327}
RegWrite,HKLM,0x0,PE-SYSTEM\ControlSet001\Services\Tcpip\Parameters\DNSRegisteredAdapters
RegWrite,HKLM,0x4,PE-SYSTEM\ControlSet001\Services\Tcpip\Parameters\Interfaces\{68f439ec-ae4c-417a-adf5-ca219e01f327},EnableDHCP,1
RegWrite,HKLM,0x1,PE-SYSTEM\ControlSet001\Services\Tcpip\Parameters\Interfaces\{68f439ec-ae4c-417a-adf5-ca219e01f327},Domain,
RegWrite,HKLM,0x1,PE-SYSTEM\ControlSet001\Services\Tcpip\Parameters\Interfaces\{68f439ec-ae4c-417a-adf5-ca219e01f327},NameServer,
RegWrite,HKLM,0x0,PE-SYSTEM\ControlSet001\Services\Tcpip\Parameters\Interfaces\{e161a14d-26f1-11e5-93ca-806e6f6e6963}

ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-System\ControlSet001\Services\ShellHWDetection HKLM\PE-System\ControlSet001\Services\ShellHWDetection /s /f"
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{017ba13c-9a55-4f1f-8200-323055aac810} HKLM\PE-SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{017ba13c-9a55-4f1f-8200-323055aac810} /s /f"
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SYSTEM\ControlSet001\Services\tcpipreg HKLM\PE-System\ControlSet001\Services\tcpipreg /s /f"

//tdx
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SYSTEM\ControlSet001\Services\tdx HKLM\PE-System\ControlSet001\Services\tdx /s /f"
//netprofm
//ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList HKLM\PE-SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList /s /f"
//ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SYSTEM\ControlSet001\Services\netprofm HKLM\PE-System\ControlSet001\Services\netprofm /s /f"
// van
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{01578f96-c270-4602-ade0-578d9c29fc0c} HKLM\PE-SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{01578f96-c270-4602-ade0-578d9c29fc0c} /s /f"
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SYSTEM\ControlSet001\Control\VAN HKLM\PE-System\ControlSet001\Control\VAN /s /f"

// sharedfiles
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-System\ControlSet001\Services\SharedAccess HKLM\PE-System\ControlSet001\Services\SharedAccess /s /f"
RegWrite,HKLM,0x4,PE-System\ControlSet001\Services\MpsSvc,Start,4
RegWrite,HKLM,0x4,PE-System\ControlSet001\services\SharedAccess\Parameters\FirewallPolicy\DomainProfile,EnableFirewall,0,NoWarn
RegWrite,HKLM,0x4,PE-System\ControlSet001\services\SharedAccess\Parameters\FirewallPolicy\PublicProfile,EnableFirewall,0,NoWarn
RegWrite,HKLM,0x4,PE-System\ControlSet001\services\SharedAccess\Parameters\FirewallPolicy\StandardProfile,EnableFirewall,0,NoWarn

//TH2
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-System\ControlSet001\Services\IPNAT HKLM\PE-System\ControlSet001\Services\IPNAT /s /f"

// Winsock
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-System\ControlSet001\Services\Winsock HKLM\PE-System\ControlSet001\Services\Winsock /s /f"
ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-System\ControlSet001\Services\WinSock2 HKLM\PE-System\ControlSet001\Services\WinSock2 /s /f"

// Wifi boot.wim
Regwrite,HKLM,0x3,PE-System\ControlSet001\Control\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{5CBF81BF-5055-47CD-9055-A76B2B4E3698},InstallTimeStamp,df,07,07,00,05,00,0a,00,0b,00,05,00,2e,00,c0,01
Regwrite,HKLM,0x4,PE-System\ControlSet001\Control\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{5CBF81BF-5055-47CD-9055-A76B2B4E3698},Characteristics,0x40028
Regwrite,HKLM,0x1,PE-System\ControlSet001\Control\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{5CBF81BF-5055-47CD-9055-A76B2B4E3698},ComponentId,ms_vwifi
Regwrite,HKLM,0x1,PE-System\ControlSet001\Control\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{5CBF81BF-5055-47CD-9055-A76B2B4E3698},Description,@%windir%\System32\drivers\vwififlt.sys#$c-105
Regwrite,HKLM,0x1,PE-System\ControlSet001\Control\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{5CBF81BF-5055-47CD-9055-A76B2B4E3698},InfPath,netvwififlt.inf
Regwrite,HKLM,0x1,PE-System\ControlSet001\Control\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{5CBF81BF-5055-47CD-9055-A76B2B4E3698},InfSection,Install
Regwrite,HKLM,0x1,PE-System\ControlSet001\Control\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{5CBF81BF-5055-47CD-9055-A76B2B4E3698},LocDescription,@%windir%\System32\drivers\vwififlt.sys#$c-105
Regwrite,HKLM,0x3,PE-System\ControlSet001\Control\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{5CBF81BF-5055-47CD-9055-A76B2B4E3698}\Ndi,TimeStamp,df,07,07,00,05,00,0a,00,0b,00,05,00,2e,00,c0,01
Regwrite,HKLM,0x1,PE-System\ControlSet001\Control\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{5CBF81BF-5055-47CD-9055-A76B2B4E3698}\Ndi,HelpText,@%windir%\System32\drivers\vwififlt.sys#$c-106
Regwrite,HKLM,0x1,PE-System\ControlSet001\Control\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{5CBF81BF-5055-47CD-9055-A76B2B4E3698}\Ndi\Interfaces,LowerRange,nolower
Regwrite,HKLM,0x1,PE-System\ControlSet001\Control\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{5CBF81BF-5055-47CD-9055-A76B2B4E3698}\Ndi\Interfaces,UpperRange,noupper
Regwrite,HKLM,0x1,PE-System\ControlSet001\Control\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{5CBF81BF-5055-47CD-9055-A76B2B4E3698}\Ndi\Interfaces,FilterMediaTypes,vwifi#$cvchannel
Regwrite,HKLM,0x3,PE-System\ControlSet001\Control\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{E475CF9A-60CD-4439-A75F-0079CE0E18A1},InstallTimeStamp,df,07,07,00,05,00,0a,00,0b,00,05,00,2e,00,91,01
Regwrite,HKLM,0x4,PE-System\ControlSet001\Control\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{E475CF9A-60CD-4439-A75F-0079CE0E18A1},Characteristics,0x40028
Regwrite,HKLM,0x1,PE-System\ControlSet001\Control\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{E475CF9A-60CD-4439-A75F-0079CE0E18A1},ComponentId,ms_nativewifip
Regwrite,HKLM,0x1,PE-System\ControlSet001\Control\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{E475CF9A-60CD-4439-A75F-0079CE0E18A1},Description,@%windir%\System32\drivers\nwifi.sys#$c-101
Regwrite,HKLM,0x1,PE-System\ControlSet001\Control\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{E475CF9A-60CD-4439-A75F-0079CE0E18A1},InfPath,netnwifi.inf
Regwrite,HKLM,0x1,PE-System\ControlSet001\Control\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{E475CF9A-60CD-4439-A75F-0079CE0E18A1},InfSection,MS_NWIFI.Install
Regwrite,HKLM,0x1,PE-System\ControlSet001\Control\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{E475CF9A-60CD-4439-A75F-0079CE0E18A1},LocDescription,@%windir%\System32\drivers\nwifi.sys#$c-101
Regwrite,HKLM,0x3,PE-System\ControlSet001\Control\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{E475CF9A-60CD-4439-A75F-0079CE0E18A1}\Ndi,TimeStamp,df,07,07,00,05,00,0a,00,0b,00,05,00,2e,00,91,01
Regwrite,HKLM,0x1,PE-System\ControlSet001\Control\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{E475CF9A-60CD-4439-A75F-0079CE0E18A1}\Ndi,Service,NativeWifiP
Regwrite,HKLM,0x1,PE-System\ControlSet001\Control\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{E475CF9A-60CD-4439-A75F-0079CE0E18A1}\Ndi\Interfaces,LowerRange,nolower
Regwrite,HKLM,0x1,PE-System\ControlSet001\Control\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{E475CF9A-60CD-4439-A75F-0079CE0E18A1}\Ndi\Interfaces,UpperRange,noupper
Regwrite,HKLM,0x1,PE-System\ControlSet001\Control\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{E475CF9A-60CD-4439-A75F-0079CE0E18A1}\Ndi\Interfaces,FilterMediaTypes,wlan
Regwrite,HKLM,0x0,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{5CBF81BF-5055-47CD-9055-A76B2B4E3698}
Regwrite,HKLM,0x4,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{5CBF81BF-5055-47CD-9055-A76B2B4E3698}\Kernel,Optional,1
Regwrite,HKLM,0x1,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{5CBF81BF-5055-47CD-9055-A76B2B4E3698}\Kernel,FilterClass,ms_medium_converter_128
Regwrite,HKLM,0x0,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{5CBF81BF-5055-47CD-9055-A76B2B4E3698}\Properties\{a111f1ef-5923-47c0-9a68-d0bafb577901}
Regwrite,HKLM,ffff0007,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{5CBF81BF-5055-47CD-9055-A76B2B4E3698}\Properties\{a111f1ef-5923-47c0-9a68-d0bafb577901}\0014,,01,00,00,00
Regwrite,HKLM,0x0,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{5CBF81BF-5055-47CD-9055-A76B2B4E3698}\Properties\{a111f1f0-5923-47c0-9a68-d0bafb577901}
Regwrite,HKLM,ffff0012,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{5CBF81BF-5055-47CD-9055-A76B2B4E3698}\Properties\{a111f1f0-5923-47c0-9a68-d0bafb577901}\0002,,6d,00,73,00,5f,00,76,00,77,00,69,00,66,00,69,00,00,00
Regwrite,HKLM,ffff0019,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{5CBF81BF-5055-47CD-9055-A76B2B4E3698}\Properties\{a111f1f0-5923-47c0-9a68-d0bafb577901}\0006,,40,00,25,00,77,00,69,00,6e,00,64,00,69,00,72,00,25,00,5c,00,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,76,00,77,00,69,00,66,00,69,00,66,00,6c,00,74,00,2e,00,73,00,79,00,73,00,2c,00,2d,00,31,00,30,00,35,00,00,00
Regwrite,HKLM,ffff0019,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{5CBF81BF-5055-47CD-9055-A76B2B4E3698}\Properties\{a111f1f0-5923-47c0-9a68-d0bafb577901}\0008,,40,00,25,00,77,00,69,00,6e,00,64,00,69,00,72,00,25,00,5c,00,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,76,00,77,00,69,00,66,00,69,00,66,00,6c,00,74,00,2e,00,73,00,79,00,73,00,2c,00,2d,00,31,00,30,00,36,00,00,00
Regwrite,HKLM,ffff0011,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{5CBF81BF-5055-47CD-9055-A76B2B4E3698}\Properties\{a111f1f0-5923-47c0-9a68-d0bafb577901}\0014,,01
Regwrite,HKLM,ffff0011,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{5CBF81BF-5055-47CD-9055-A76B2B4E3698}\Properties\{a111f1f0-5923-47c0-9a68-d0bafb577901}\0016,,01
Regwrite,HKLM,0x0,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{5CBF81BF-5055-47CD-9055-A76B2B4E3698}\Properties\{a111f1f1-5923-47c0-9a68-d0bafb577901}
Regwrite,HKLM,ffff2012,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{5CBF81BF-5055-47CD-9055-A76B2B4E3698}\Properties\{a111f1f1-5923-47c0-9a68-d0bafb577901}\0006,,76,00,77,00,69,00,66,00,69,00,00,00,76,00,63,00,68,00,61,00,6e,00,6e,00,65,00,6c,00,00,00,00,00
Regwrite,HKLM,0x0,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{5CBF81BF-5055-47CD-9055-A76B2B4E3698}\Properties\{a111f1f7-5923-47c0-9a68-d0bafb577901}
Regwrite,HKLM,ffff000d,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{5CBF81BF-5055-47CD-9055-A76B2B4E3698}\Properties\{a111f1f7-5923-47c0-9a68-d0bafb577901}\0002,,bf,81,bf,5c,55,50,cd,47,90,55,a7,6b,2b,4e,36,98
Regwrite,HKLM,ffff0012,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{5CBF81BF-5055-47CD-9055-A76B2B4E3698}\Properties\{a111f1f7-5923-47c0-9a68-d0bafb577901}\0004,,6d,00,73,00,5f,00,6d,00,65,00,64,00,69,00,75,00,6d,00,5f,00,63,00,6f,00,6e,00,76,00,65,00,72,00,74,00,65,00,72,00,5f,00,31,00,32,00,38,00,00,00
Regwrite,HKLM,ffff0011,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{5CBF81BF-5055-47CD-9055-A76B2B4E3698}\Properties\{a111f1f7-5923-47c0-9a68-d0bafb577901}\0006,,01
Regwrite,HKLM,0x0,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{5CBF81BF-5055-47CD-9055-A76B2B4E3698}\Properties\{a111f200-5923-47c0-9a68-d0bafb577901}
Regwrite,HKLM,ffff0012,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{5CBF81BF-5055-47CD-9055-A76B2B4E3698}\Properties\{a111f200-5923-47c0-9a68-d0bafb577901}\0002,,6e,00,65,00,74,00,76,00,77,00,69,00,66,00,69,00,66,00,6c,00,74,00,2e,00,69,00,6e,00,66,00,00,00
Regwrite,HKLM,ffff0012,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{5CBF81BF-5055-47CD-9055-A76B2B4E3698}\Properties\{a111f200-5923-47c0-9a68-d0bafb577901}\0004,,49,00,6e,00,73,00,74,00,61,00,6c,00,6c,00,00,00
Regwrite,HKLM,ffff0007,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{5CBF81BF-5055-47CD-9055-A76B2B4E3698}\Properties\{a111f200-5923-47c0-9a68-d0bafb577901}\0006,,28,00,04,00
Regwrite,HKLM,ffff1003,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{5CBF81BF-5055-47CD-9055-A76B2B4E3698}\Properties\{a111f200-5923-47c0-9a68-d0bafb577901}\0028,,df,07,07,00,05,00,0a,00,0b,00,05,00,2e,00,c0,01
Regwrite,HKLM,0x0,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{E475CF9A-60CD-4439-A75F-0079CE0E18A1}
Regwrite,HKLM,0x4,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{E475CF9A-60CD-4439-A75F-0079CE0E18A1}\Kernel,UnbindOnAttach,1
Regwrite,HKLM,0x4,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{E475CF9A-60CD-4439-A75F-0079CE0E18A1}\Kernel,UnbindOnDetach,1
Regwrite,HKLM,0x1,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{E475CF9A-60CD-4439-A75F-0079CE0E18A1}\Kernel,FilterClass,ms_medium_converter_top
Regwrite,HKLM,0x0,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{E475CF9A-60CD-4439-A75F-0079CE0E18A1}\Properties\{a111f1ef-5923-47c0-9a68-d0bafb577901}
Regwrite,HKLM,ffff0007,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{E475CF9A-60CD-4439-A75F-0079CE0E18A1}\Properties\{a111f1ef-5923-47c0-9a68-d0bafb577901}\0014,,01,00,00,00
Regwrite,HKLM,0x0,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{E475CF9A-60CD-4439-A75F-0079CE0E18A1}\Properties\{a111f1f0-5923-47c0-9a68-d0bafb577901}
Regwrite,HKLM,ffff0012,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{E475CF9A-60CD-4439-A75F-0079CE0E18A1}\Properties\{a111f1f0-5923-47c0-9a68-d0bafb577901}\0002,,6d,00,73,00,5f,00,6e,00,61,00,74,00,69,00,76,00,65,00,77,00,69,00,66,00,69,00,70,00,00,00
Regwrite,HKLM,ffff0019,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{E475CF9A-60CD-4439-A75F-0079CE0E18A1}\Properties\{a111f1f0-5923-47c0-9a68-d0bafb577901}\0006,,40,00,25,00,77,00,69,00,6e,00,64,00,69,00,72,00,25,00,5c,00,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,6e,00,77,00,69,00,66,00,69,00,2e,00,73,00,79,00,73,00,2c,00,2d,00,31,00,30,00,31,00,00,00
Regwrite,HKLM,ffff0012,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{E475CF9A-60CD-4439-A75F-0079CE0E18A1}\Properties\{a111f1f0-5923-47c0-9a68-d0bafb577901}\000a,,4e,00,61,00,74,00,69,00,76,00,65,00,57,00,69,00,66,00,69,00,50,00,00,00
Regwrite,HKLM,ffff2012,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{E475CF9A-60CD-4439-A75F-0079CE0E18A1}\Properties\{a111f1f0-5923-47c0-9a68-d0bafb577901}\000c,,77,00,6c,00,61,00,6e,00,73,00,76,00,63,00,00,00,00,00
Regwrite,HKLM,ffff2012,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{E475CF9A-60CD-4439-A75F-0079CE0E18A1}\Properties\{a111f1f0-5923-47c0-9a68-d0bafb577901}\000e,,77,00,6c,00,61,00,6e,00,73,00,76,00,63,00,00,00,00,00
Regwrite,HKLM,ffff0011,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{E475CF9A-60CD-4439-A75F-0079CE0E18A1}\Properties\{a111f1f0-5923-47c0-9a68-d0bafb577901}\0014,,01
Regwrite,HKLM,ffff0011,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{E475CF9A-60CD-4439-A75F-0079CE0E18A1}\Properties\{a111f1f0-5923-47c0-9a68-d0bafb577901}\0016,,01
Regwrite,HKLM,ffff0007,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{E475CF9A-60CD-4439-A75F-0079CE0E18A1}\Properties\{a111f1f0-5923-47c0-9a68-d0bafb577901}\001e,,02,00,00,00
Regwrite,HKLM,ffff2012,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{E475CF9A-60CD-4439-A75F-0079CE0E18A1}\Properties\{a111f1f0-5923-47c0-9a68-d0bafb577901}\0050,,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,2e,00,4e,00,65,00,74,00,77,00,6f,00,72,00,6b,00,69,00,6e,00,67,00,2e,00,55,00,58,00,2e,00,49,00,6e,00,74,00,65,00,72,00,6e,00,61,00,6c,00,2e,00,57,00,6c,00,61,00,6e,00,4d,00,65,00,64,00,69,00,61,00,4d,00,61,00,6e,00,61,00,67,00,65,00,72,00,00,00,00,00
Regwrite,HKLM,ffff100d,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{E475CF9A-60CD-4439-A75F-0079CE0E18A1}\Properties\{a111f1f0-5923-47c0-9a68-d0bafb577901}\0052,,ad,74,de,e1,68,c3,04,41,ad,b1,57,d0,05,77,24,7a
Regwrite,HKLM,0x0,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{E475CF9A-60CD-4439-A75F-0079CE0E18A1}\Properties\{a111f1f1-5923-47c0-9a68-d0bafb577901}
Regwrite,HKLM,ffff2012,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{E475CF9A-60CD-4439-A75F-0079CE0E18A1}\Properties\{a111f1f1-5923-47c0-9a68-d0bafb577901}\0006,,77,00,6c,00,61,00,6e,00,00,00,00,00
Regwrite,HKLM,0x0,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{E475CF9A-60CD-4439-A75F-0079CE0E18A1}\Properties\{a111f1f7-5923-47c0-9a68-d0bafb577901}
Regwrite,HKLM,ffff000d,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{E475CF9A-60CD-4439-A75F-0079CE0E18A1}\Properties\{a111f1f7-5923-47c0-9a68-d0bafb577901}\0002,,9a,cf,75,e4,cd,60,39,44,a7,5f,00,79,ce,0e,18,a1
Regwrite,HKLM,ffff0012,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{E475CF9A-60CD-4439-A75F-0079CE0E18A1}\Properties\{a111f1f7-5923-47c0-9a68-d0bafb577901}\0004,,6d,00,73,00,5f,00,6d,00,65,00,64,00,69,00,75,00,6d,00,5f,00,63,00,6f,00,6e,00,76,00,65,00,72,00,74,00,65,00,72,00,5f,00,74,00,6f,00,70,00,00,00
Regwrite,HKLM,ffff0011,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{E475CF9A-60CD-4439-A75F-0079CE0E18A1}\Properties\{a111f1f7-5923-47c0-9a68-d0bafb577901}\0014,,01
Regwrite,HKLM,ffff0011,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{E475CF9A-60CD-4439-A75F-0079CE0E18A1}\Properties\{a111f1f7-5923-47c0-9a68-d0bafb577901}\0016,,01
Regwrite,HKLM,0x0,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{E475CF9A-60CD-4439-A75F-0079CE0E18A1}\Properties\{a111f1f8-5923-47c0-9a68-d0bafb577901}
Regwrite,HKLM,ffff0011,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{E475CF9A-60CD-4439-A75F-0079CE0E18A1}\Properties\{a111f1f8-5923-47c0-9a68-d0bafb577901}\0020,,01
Regwrite,HKLM,0x0,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{E475CF9A-60CD-4439-A75F-0079CE0E18A1}\Properties\{a111f200-5923-47c0-9a68-d0bafb577901}
Regwrite,HKLM,ffff0012,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{E475CF9A-60CD-4439-A75F-0079CE0E18A1}\Properties\{a111f200-5923-47c0-9a68-d0bafb577901}\0002,,6e,00,65,00,74,00,6e,00,77,00,69,00,66,00,69,00,2e,00,69,00,6e,00,66,00,00,00
Regwrite,HKLM,ffff0012,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{E475CF9A-60CD-4439-A75F-0079CE0E18A1}\Properties\{a111f200-5923-47c0-9a68-d0bafb577901}\0004,,4d,00,53,00,5f,00,4e,00,57,00,49,00,46,00,49,00,2e,00,49,00,6e,00,73,00,74,00,61,00,6c,00,6c,00,00,00
Regwrite,HKLM,ffff0007,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{E475CF9A-60CD-4439-A75F-0079CE0E18A1}\Properties\{a111f200-5923-47c0-9a68-d0bafb577901}\0006,,28,00,04,00
Regwrite,HKLM,ffff1003,PE-System\ControlSet001\Control\NetworkSetup2\Filters\{E475CF9A-60CD-4439-A75F-0079CE0E18A1}\Properties\{a111f200-5923-47c0-9a68-d0bafb577901}\0028,,df,07,07,00,05,00,0a,00,0b,00,05,00,2e,00,91,01
Regwrite,HKLM,0x0,PE-System\ControlSet001\Control\NetworkUxManager
Regwrite,HKLM,0x4,PE-System\ControlSet001\Control\NetworkUxManager\Windows.Networking.UX.Internal.WlanMediaManager,Active,1
Regwrite,HKLM,0x4,PE-System\ControlSet001\Control\NetworkUxManager\Windows.Networking.UX.Internal.WlanMediaManager,Ordinal,0x800
Regwrite,HKLM,0x4,PE-System\ControlSet001\Control\NetworkUxManager\Windows.Networking.UX.Internal.WlanMediaManager,PreLogon,1
Regwrite,HKLM,0x1,PE-System\ControlSet001\Services\wdiwifi,DisplayName,WDI Driver Framework
Regwrite,HKLM,0x4,PE-System\ControlSet001\Services\wdiwifi,ErrorControl,1
Regwrite,HKLM,0x2,PE-System\ControlSet001\Services\wdiwifi,ImagePath,system32\DRIVERS\wdiwifi.sys
Regwrite,HKLM,0x4,PE-System\ControlSet001\Services\wdiwifi,Start,3
Regwrite,HKLM,0x4,PE-System\ControlSet001\Services\wdiwifi,Type,1

if,%WIM_BUILD%,=>,17763,then,RegDelete,HKLM,PE-SOFTWARE\Microsoft\WlanSvc\ProfileSync

if,%WIM_BUILD%,=>,18362,then
  Regwrite,HKLM,0x7,PE-System\ControlSet001\Services\WlanSvc,DependOnService,nativewifip#$xRpcSs#$xNdisuio
  Regwrite,HKLM,0x2,PE-System\ControlSet001\Services\WlanSvc,ImagePath,#$pSystemRoot#$p\system32\svchost.exe -k WlansvcGroup
  Regwrite,HKLM,0x4,PE-System\ControlSet001\Services\WlanSvc,Start,2
  Regwrite,HKLM,0x4,PE-System\ControlSet001\Services\WlanSvc,Type,0x20

  Regwrite,HKLM,0x7,PE-Software\Microsoft\Windows NT\CurrentVersion\SvcHost,WlansvcGroup,wlansvc
  Regwrite,HKLM,0x4,PE-Software\Microsoft\Windows NT\CurrentVersion\SvcHost\WlansvcGroup,CoInitializeSecurityParam,1
end

// camsvc
if,%WIM_BUILD%,=>,22000,then
  ShellExecute,hide,%RegExe%,"Copy HKLM\Ins-SYSTEM\ControlSet001\Services\camsvc HKLM\PE-System\ControlSet001\Services\camsvc /s /f"
  RegWrite,HKLM,0x1,PE-SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\location,Value,Allow
End

RegUnLoad,PE-Software
RegUnLoad,PE-SYSTEM
RegUnLoad,Ins-SYSTEM
RegUnLoad,Ins-Software


[Script-Pic]
0=1118,1460,ZLB64
1=eNr7f+P/AwYBLzdPNwZGRgYGRiBk+H+boYWBk42Ng42Vk4Odg4uTk4tXjI+Xh4dXSlhEQExeRlFBXkZOTlndSEtZVV9VTk7bWkff2NTCwkJRy9bRxszXyNzFjpGTi4uXm1eSj0/SVEVOxZQQMDACEpompsYmQNoEyPp/gEGQg8GAwYCZUYmBSZCRWZDx/xEGCaAzGUEuhQM2dlYOZqCMoQADIzMzEwsLCxszRIaRiZmFgVWQTYhd0TFQWMkwsXDixoMiokYLH35QLmoEGcbIwIxiFgMzCysTyBo1QQYmJiYGZk64LCOQxyKoZFjIKiSiqOwYmNgo/P8WAw8zI9BtzIIM9gw7rhycZ270bKHZ0aiuQu0P9wxrcv9WlyfLTfWY96M7f8LPL5lL9Z8Yx0y2qvvd/0h4J3eA19SJ/QavQ3/rS81pTyz41Lh1pjvPq40lpep/erYw2HzbPX+r+JWaqG0vuy9s923WPc6tUbFy0SS2hy+K3K30k67Nnxf76HDm3dMVzxm+eYbfai+MCi4yPfM8wL3j8tPJ/xZqMj9x/HlR84C/kNb2aduNcmwPueyN2qpd3h2T+XGx5QNPty95UcX9hfOjLvYaGoVtYdHUcmB5Luspn9X1IjdBKTPi45wI1ta1yg/n/H21eamsUS6T186Vb7TtjjDZbVlXpnBcPWb700tZ23Vttl69eVque8e5RI7Ca7M/KR7J8+pUSOhbPNfvi9tmt6071rHeup6bn816RHPJWkYXAY4Dtv1vvSu2PNm4+NIVjnOelSc1PpkZP5U5+bf93MIwTuGSc4vyXGZMSmrJ8+QzW/JAwNX05o8vd73bmfe+/WyZbaAcvEAxYs1HdaM/1TlhKYqRzj0PVt+f1VbYXzWTfUftqvw+xRPlYs9PTwh+tCaPO2pqT+8queV7FS9brTXXzr1XUVyk+zFsc/Ndrn9aNis1G2v43Q54yXivOO48oW7LMTmJ7LmyHQp87t8S3yg6Cu2psE/10MiLucb4gmkC+1/rVVOTmnS3RXwMWrLCaO5Mr81zimQ+GJ/gm2JltyYv+kSm9rNPTW78xX4Ll3q0nAr/1Zx59+Nxq6nT/7pNO6a+RrfKWinNuEZ72mvvKKElGk23Jjm1f9+bcvZKmal/kfKGm9G9+llXuILKSyWX5runeZXtuyTrn7pEyrz04dVJrxWPn84z+NyuFex1QH2nqO1B5TZ21SJJWzaGv2eqb1+7f0rVuTc1OnNa73qGJUvW2u6tfC77gnd2u4FpyMpe13Yt5o3bnlTclMv59e6c9a/PL32ffljm7DA792rGK6aDv+pN1y9fU65to6TSPi/Sdvan/g7rPv+aay93K227keuy8brJHd/n7Qva1vzR2XnzfWGqXuWE01rWE5bwpSxpbOJ3Kj4TGtav91qXb+GyCwu2zotTEjF+++y9R8b22NQjpu1pYQHsmv9vAgBkZLiI
