Can someone tell me what I am missing from this simple code... I get no error message but no change either. On Win7 32bit with Java 7.71

$HKLMS='HKEY_LOCAL_MACHINE\SOFTWARE\'
;Disable Java Auto Update
$rc = WRITEVALUE($HKLMS + "JavaSoft\Java Update\Policy", "EnableJavaUpdate", "0", "REG_DWORD")
;


Edited by GAW (2015-01-28 06:33 PM)