Hi guys,

Thanks VERY much for such quick replies. Thanks also for pointing me in the direction of my brain- we are reunited and functioning (relatively) well again!
As soon as I read your reply Lonkero, I just thought "Oh right, yeah!"
Looking thru the script again, what it's actually doing AFTER that point is calling another script which (you guessed it) is trying to write a value to the runonce key!
I just sort of skipped over the "CALL OHS.KIX" without putting my brain into gear and *thinking*.

Thanks also to Les and Citrixman for your replies. I'll be looking at the .vbs script anyway because it looks interesting.

Thanks again guys, I could have been chasing my tail over such a silly thing and when you are collapsing domains and upgrading all the clients etc there's a million things to do!

Regards,

Andrew.