On Saturday, 29 August 2015 at 09:35:47 UTC, medhi558 wrote: > It doesn't always work the same error. Is your program running with administrator rights? Unprivileged programs may not write to HKEY_LOCAL_MACHINE by default.