Comment Writing to the registry is fine... (Score 1) 228
putting data in HKLM (HKey_Local_Machine) when it doesn't need to be, is bad.
HKCU (HKey_Current_User) does not require Admin Priveleges, nor does it bring up a UAC Prompt.
Yet magic and hierarchy arise from the same source, and this source has a null pointer.