Hi Glenn !

Thank you for your reply and this advice.
Unfortunaetely, the following code also creates a duplicate entry of the existing key already present in the system :

 Code:
$Rc = SetOption('Explicit', 'On')
$Rc = SetOption('WrapAtEOL', 'On')
$Rc = SetOption('NoVarsInStrings', 'On')
$Rc = SetOption('NoMacrosInStrings', 'On')
$Rc = SetOption('WOW64AlternateRegView', 'Off')

$Rc = WriteValue("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","TaskbarAI","0","REG_DWORD")


Am I doing something wrong and is there another method to modify an existing registry key value ?
Is it the best way by deleting the existing registry key first, then create it afterwards, for instance ?

Thanks in advance.

Fred