somethings like this?
writevalue('hkcu\software\microsoft\windows\currentversion\Internet Settings\WarnOnZoneCrossing,'*',1,REG_DWORD)