In the cpl, I'm using RegOpenKey, of course, and that works.Ged Murphy wrote:Timo Kreuzer wrote:It has in fact nothing to do with the presence of the Keys. I have written the appearance page of the desk.cpl, it set's the colors and writes the correct values to HKLM\Control Panel\Colors (at least on WinXP)You aren't using ZwOpenKey in a cpl are you?Course he isn't, his original problem was not being in a logged in account, which implies SYSTEM-context level application.