We should explain here why we are not using reg.delete_key -- if there's a bug filed for this, we can refer to the bug id and give a brief explanation that reg.delete_key is not wow64 aware, so you're using a system call that correctly supports wow64.