Hello,

I'd like to create a value with the following command on a 64 bit machine.

WriteValue("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\SystemRestore","SystemRestorePointCreationFrequency","1","REG_DWORD")

The problem is that it creates the value in

HKEY_LOCAL_MACHINE\Software\WOW6432Node\Microsoft\Windows NT\CurrentVersion\SystemRestore

instead of

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\SystemRestore

How can I set values in HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\SystemRestore ?

thanks