i'm still using the array but i'm not using the FOR EACH part of the script, it kept resulting in writing to all nic regsitry keys so after you showed me the modified script for win2k i took that part out and now it works fine, all it does is detects the producttype and writes the keys necessary for the one primary nic,

my only problem now goddamnit is the fact i cant seem to get it working with two wins addresses without resulting in the key showing ascii characters.

sorry i couldnt help you with your own though grasshopper,

Anth