Hello Drob,

I am unable to locate that Registry entry on my system under the location you give. I do have the entry under another location.

HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Common\General

Please try the following code which should work with either KiXtart v3.63 or v4.02

code:
$TemplateVal = "T:\"
IF INSTR(READVALUE("HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Common\General","SharedTemplates"),$TemplateVal)
? "Value for SharedTemplates is correct"
ELSE
? "Value for SharedTemplates was not valid, script has now modified value to " +$TemplateVal
$x=WriteValue("HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Common\General","SharedTemplates","$TemplateVal","REG_EXPAND_SZ")
ENDIF

Please post an update to let us know if this is working or not, and or if the location you specify is correct. Normally items under POLICY should be set from a policy editor.

[ 22 April 2002, 22:28: Message edited by: NTDOC ]