🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #10187

Re: Access rights for registry key

#10187
From: Simon Macneall
Date: Sun, 02 May 2004 23:35
16 lines
1291 bytes
Bolek <kraljaprvni@volny.cz> wrote in news:4091eb4c@newsgroups.borland.com:

> Hello,
> 
> how do I create a registry key in HKLM/Software that will be readable 
> for everyone and writeable only for Administrators? What security 
> descriptor do I have to pass to the RegCreateKeyEx function and how do I 
> create it? Thanks.
> 
> 

We use regini.exe (which seems comes installed on XP already, and is part 
of the 2k resource pro kit) to change reg key permissions. But we were 
working with existing keys, not creating new ones.

Simon
Technical Details
Message-ID: <Xns94DE4DA68187Cmacnealliinetnetau@207.105.83.66>
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4091eb4c@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,60c29f480647c80e
X-Google-Attributes: gid10cc67,public
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Access rights for registry key
From: Simon Macneall <macneall-at-iinet.net.au>
References: <4091eb4c@newsgroups.borland.com>
Message-ID: <Xns94DE4DA68187Cmacnealliinetnetau@207.105.83.66>
User-Agent: Xnews/5.04.25
NNTP-Posting-Host: 203.153.243.50
Date: 2 May 2004 16:35:49 -0700
X-Trace: newsgroups.borland.com 1083540949 203.153.243.50 (2 May 2004 16:35:49 -0700)
Lines: 16
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail