Thanks jens,

first off then i've substituted nameserver and nameserverbackup values for the ip addresses of my primary and secondary wins servers.

i then run the script, restart the machine and hey presto everythings still the same, why is that, oh and the currentcontrolset\services\netbt\adapters key doesnt exist, so what exactly is the code doing then. maybe its my network i mean the script is set up for winnt and xp but nothing with regards to win2k, i know win2k is an evolution of winnt but the keys are slightly different in that win2k has the currentcontrolset\services\netbt\parameters\interfaces rather than the aforementioned.

Where am i going wrong????

Oh and thanks again for being such a sport jens, much appreciated.

Anth