Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我将在 HKLM\Software 和 HKCU\Software 下的注册表中写入一些敏感信息。此信息由共享/公共库管理,并不特定于特定应用程序。目前我正在写入一个位于 HKLM\Software 和 HKCU\Software 下的值。
在 HKLM\Software 和 HKCU\Software 下创建值是否可接受(用于应用程序认证等......)?有什么理由我不应该把它写在那里?
HKEY_LOCAL_MACHINEconfiguration information for the software you have installed包含Windows 操作系统本身的大部分内容。
HKEY_LOCAL_MACHINE
configuration information for the software you have installed
HKEY_CURRENT_USER包含Windows and software specific to the currently logged in user.
HKEY_CURRENT_USER
Windows and software specific to the currently logged in user
最好将其写入,HKEY_CURRENT_USER因为它特定于当前登录的用户。