Couple of comments..

MyCompany is not a real company - HKLM\SOFTWARE\MyCompany\DesktopSettings. In other words, this is using stored values.

code:
$TCPIPUpdate=ReadValue("HKLM\SOFTWARE\MyCompany\DesktopSettings","TCPIP_"+$NicCrd)

$nic='{DF842C73-F54F-4BB1-9C0F-6DF384DD2999}'
HKLM\System\CurrentControlSet\Services\NetBT\Parameters\Interfaces\Tcpip_'+$nic 'NetbiosOptions' 'REG_DWORD'
HKLM\System\CurrentControlSet\Services\NetBT\Parameters\Interfaces\Tcpip_'+$nic 'DhcpNameServerList' 'REG_MULTI_SZ'
HKLM\System\CurrentControlSet\Services\NetBT\Parameters\Interfaces\Tcpip_'+$nic 'NameServerList' 'REG_MULTI_SZ'

HTH,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's