🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Getting admistrator priviliges temporarily

#8716
From: Fatih Ekinci
Date: Tue, 28 Sep 2004 20:16
13 lines
1444 bytes
> You should not be using KEY_ALL_ACCESS to begin with.  That is strictly
> limited to admin accounts only.  To access a key from non-admin accounts,
> you should be specifying KEY_READ when you want to read from the key, and
> KEY_WRITE when you want to modify the key, and never open a key for both
at
> the same time.

Even for KEY_WRITE option, failed to change a DWORD value from non-admin
accounts under the key:

HKEY_LOCAL_MACHINE\\Software\\aaa

Fatih
Technical Details
Message-ID: <4159c77b@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!in.100proofnews.com!in.100proofnews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <41566608@newsgroups.borland.com> <4156a465$1@newsgroups.borland.com> <415880b8@newsgroups.borland.com> <41592480$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,f4e17b02ce5b6ff3
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Fatih Ekinci" <fekinci42@ttnet.net.tr>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <41566608@newsgroups.borland.com> <4156a465$1@newsgroups.borland.com> <415880b8@newsgroups.borland.com> <41592480$1@newsgroups.borland.com>
Subject: Re: Getting admistrator priviliges temporarily 
Date: Tue, 28 Sep 2004 23:16:44 +0300
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 81.212.170.74
Message-ID: <4159c77b@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1096402811 81.212.170.74 (28 Sep 2004 13:20:11 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!in.100proofnews.com!in.100proofnews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail