Add the preference will be Computer Configuration > Preferences > Windows Settings > Registry. In there, you want to add a new Registry Item, with the below settings on the General tab:
- Action: Update
- Hive: HKEY_LOCAL_MACHINE
- Key Path: SYSTEM\CurrentControlSet\services\TCPIP6\Parameters
- Value Name: DisabledComponents
- Value Type: REG_DWORD
- Value Data: FF
- Base: Hexadecimal