开发者

Required Registry location common to all users to avoid registry virtualisation in Vista

In Vista standard user can no more create or write to keys under HKLM\Softw开发者_如何学Care. So to port the code according to Vista standards in to which key i should write the application configuration data. Same way like %AllUsers%/AppData for folders. My main requirement is I should avoid writting to HKLM\Software, but the key location should be common to all users under registry.

Thanks, F


The registry is a secure-able object. i.e. you can, during the administrative install, alter the ACL of a key you create, to create an all users read / write key in HKLM.

That said, Users\public\AppData might not work they way you think. The ACLs on that folder allow read by all users, but only creators can write. Which means you still can't have two users editing the same documents.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜