simplicity
simplicity

Reputation: 31

Recommended registry key or value locations

I will be writing some sensitive information into the registry under HKLM\Software and HKCU\Software. This information is managed by a shared/common library and is not specific to a particular application. Currently I am writing into a value that is located right under HKLM\Software and HKCU\Software.

Is creating a value under HKLM\Software and HKCU\Software acceptable(for app certification etc ...)? any reason why I should not write it there?

Upvotes: 0

Views: 90

Answers (1)

icodebuster
icodebuster

Reputation: 8964

HKEY_LOCAL_MACHINE contains the majority of the configuration information for the software you have installed and for the Windows operating system itself.

HKEY_CURRENT_USER contains configuration information for Windows and software specific to the currently logged in user.

Its better to write it in HKEY_CURRENT_USER since its specific to the currently logged in user.

Upvotes: 1

Related Questions