Monday, March 30, 2020

Windows 10 Network Optimization for CCBoot Diskless

This Optimization can be done before image is created ( Windows 10 still on harddrive as operating system ) and after image is created ( modify Windows 10 image using "Enable super client" feature in CCBoot server). Before we continue, make sure you have installed CCBoot client. Then use PnP tool to collect local NIC and merge the collected NIC. After that, follow these steps :

1. First, check PCI value of the ethernet using device manager. Open device manager, then go to "Network adapter". Right click on the ethernet then choose properties, then click on Details tab. Change Property to Device instance path, then in Value box you will see the PCI value of the ethernet. Take note of the value, in the picture below the important thing of the value is PCI\VEN_10EC&DEV_8168 and REV_15.

2. After we take note of the PCI value, open regedit then go to HKEY_LOCAL_MACHINE\SYSTEM\CCBootPnP. Then scroll down until you find the right PCI value based on the note. After you find the registry key of the PCI value, click on Driver subkey right under the PCI value. Then edit or add these strings below to the Driver subkey  and give value 0 ( zero ) for each of them except for *JumboPacket. For *JumboPacket give value 1514 :

*EEE                                             (Energy Efficient Ethernet)
*FlowControl
*InterruptModeration
*IPChecksumOffloadIPv4
*JumboPacket
*LsoV1IPv4                                   (Large Send Offload V1 (IPv4))
*LsoV2IPv4                                   (Large Send Offload V2 (IPv4))
*LsoV2IPv6                                   (Large Send Offload V2 (IPv6))
*PMNSOffload                              (NS Offload)
*TCPChecksumOffloadIPv4
*TCPChecksumOffloadIPv6
*UDPChecksumOffloadIPv4
*UDPChecksumOffloadIPv6
AdaptiveIFS                                   (Adaptive Inter-Frame Spacing)
AdvancedEEE                               (Advance Energy Efficient Ethernet)
EnableGreenEthernet
ITR                                                (Interrupt Moderation Rate / Interrupt Throttle Rate)

3. This step is to modify registry key below or you can download the reg file from here. But remember, this tweak can only be applied to Windows 10 version before 1909.

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile]
"NetworkThrottlingIndex"=dword:ffffffff
"SystemResponsiveness"=dword:00000000

4. The last step is to modify registry key below or you can download the reg file from here. But remember, this tweak is only for CCboot Server ( not for CCboot Client ) and only needed if CCBoot Server has error and stop running after more than one day ( 24 hour ).

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"TcpTimedWaitDelay"=dword:0000001e
"MaxUserPort"=dword:0000fffe
"TcpNumConnections"=dword:00fffffe
"TcpMaxDataRetransmissions"=dword:00000005

2 comments: