okay well in the meantime can anyone help me with this wins change script grasshopper bore and i developed with the help of all on here.

its now been narrowed down to one key namely:
WriteValue("HKLM\System\CurrentControlSet\Services\NetBT\Parameters\Interfaces\"+$NicCrd,"NameServerList","192.168.10.100 192.168.10.101","REG_MULTI_SZ")

but for some reason the damn key wont accept two wins addresses, not through a script anyway, maybe its me but seperating them like above results in ascii characters being displayed after the second address. can anyone please help me, i'm begging on my knees now lol....

oh and grasshopper thanks for your last script it works perfect apart from the above problem.

Anth