I'm trying to update the TcpIp settings in HKEY_LOCAL_MACHINE\Comm\ETHNETA1\Parms\TcpIp. After writing, I can see that the changes have been written but after reboot the changes are gone again. I do this:
OpenSubKey, SetValue, Flush(), Close()
Flush, to my understanding, should make the changes permament but that doesn't seem to work.
So, the question is: what do I have to do to to make the registry changes permanent?