Mart. I've tested it locally by running the kix script from command promt and it works, but when i run the script twice the computername gets double and running a third time it triples the name.

is this cause because i'm still logged on and run the script?

i'm gona test it monday at work.