As a good KiXtarter you should always consult our local UDF Forum first before venturing out into the dark territories of VBScripts. See for example fnWMIWriteValue() - Write to a local or remote registry using WMI with authentication
_________________________
There are two types of vessels, submarines and targets.