windows 在哪里存储所有用户的注册表数据
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1008734/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Where to store Registry data for All Users
提问by Keith Maurino
I would like to share a small amount of data between All Users in the Windows Registry. For shared read and writeaccess between any user that logs into the machine or a service on the machine. Is there a location where this can be done? I have tried using "HKEY_USERS\.DEFAULT\Software\" but this seems to be blocked by the Vista UAC rules.
我想在 Windows 注册表中的所有用户之间共享少量数据。用于登录机器或机器上的服务的任何用户之间的共享读写访问。有没有可以做到这一点的地方?我曾尝试使用“HKEY_USERS\.DEFAULT\Software\”,但这似乎被 Vista UAC 规则阻止了。
回答by Factor Mystic
You can put all users data in HKEY_LOCAL_MACHINE
hive, but you'll need to adjust the permissions on the key to in order to make it writable by all users, as your question states.
您可以将所有用户数据放在HKEY_LOCAL_MACHINE
hive 中,但您需要调整密钥的权限以使其可供所有用户写入,如您的问题所述。