Write to registry problem

Write to registry problem

Secure Home | Search | About
 Microsoft Applications Security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content add this group's latest topics to your Google content
Subject Author Date
Write to registry problem Arkady Frenkel 02-05-2007
Posted by Arkady Frenkel on February 5, 2007, 12:13 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
Hi, guys!

I need to write into
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies
and that work without problem for user with admin rights , but not for
Standard or Power User. I set permissions in administrator for such user but
still can't write into ( just with regedit ). No problem to write into any
other key of that branch
HKCU\Software\Microsoft\Windows\CurrentVersion. What I need to do to allow
to write ( create new key or add value )

TIA
Arkady



Posted by on February 5, 2007, 3:50 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
Hello,

Just to clarify, when you say that you have set permissions as
Administrator for a user, do you mean under HKEY_CURRENT_USER or under
HKEY_USERS? I say this because the first represents the currently
logged on user. Each user has their own key under the second. The
format is HKEY_USERS\SID.

Hence, my user's HKCU on my computer is actually ...

HKEY_USERS\S-1-5-21-2895687834-3405736901-357205616-1019\Software
\Microsoft\Windows\CurrentVersion\Policies

When I set the permissions (logged on as Administrator) to allow my
limited user account to write to this key, it works just fine.

J Wolfgang Goerlich

> Hi, guys!
>
> I need to write into
> HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies
> and that work without problem for user with admin rights , but not for
> Standard or Power User. I set permissions in administrator for such user but
> still can't write into ( just with regedit ). No problem to write into any
> other key of that branch
> HKCU\Software\Microsoft\Windows\CurrentVersion. What I need to do to allow
> to write ( create new key or add value )
>
> TIA
> Arkady



Posted by Arkady Frenkel on February 6, 2007, 4:37 am
If you were  Registered and logged in, you could reply and use other advanced thread options
Thanks , that's really work
Arkady

> Hello,
>
> Just to clarify, when you say that you have set permissions as
> Administrator for a user, do you mean under HKEY_CURRENT_USER or under
> HKEY_USERS? I say this because the first represents the currently
> logged on user. Each user has their own key under the second. The
> format is HKEY_USERS\SID.
>
> Hence, my user's HKCU on my computer is actually ...
>
> HKEY_USERS\S-1-5-21-2895687834-3405736901-357205616-1019\Software
> \Microsoft\Windows\CurrentVersion\Policies
>
> When I set the permissions (logged on as Administrator) to allow my
> limited user account to write to this key, it works just fine.
>
> J Wolfgang Goerlich
>
>> Hi, guys!
>>
>> I need to write into
>> HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies
>> and that work without problem for user with admin rights , but not for
>> Standard or Power User. I set permissions in administrator for such user
>> but
>> still can't write into ( just with regedit ). No problem to write into
>> any
>> other key of that branch
>> HKCU\Software\Microsoft\Windows\CurrentVersion. What I need to do to
>> allow
>> to write ( create new key or add value )
>>
>> TIA
>> Arkady
>
>



Posted by Roger Abell [MVP] on February 5, 2007, 11:47 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
What is it that you are attempting to do?
The reg paths with "Policies" in them are subject to being set
at any time by application of group policy. If you permit an
account to alter settings there, which you should not do, then
what they set may be wiped out later.

Roger

> Hi, guys!
>
> I need to write into
> HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies
> and that work without problem for user with admin rights , but not for
> Standard or Power User. I set permissions in administrator for such user
> but still can't write into ( just with regedit ). No problem to write
> into any other key of that branch
> HKCU\Software\Microsoft\Windows\CurrentVersion. What I need to do to allow
> to write ( create new key or add value )
>
> TIA
> Arkady
>
>



Posted by Arkady Frenkel on February 6, 2007, 4:41 am
If you were  Registered and logged in, you could reply and use other advanced thread options
Just want to add
http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/regentry/93504.mspx?mfr=true

Arkady

> What is it that you are attempting to do?
> The reg paths with "Policies" in them are subject to being set
> at any time by application of group policy. If you permit an
> account to alter settings there, which you should not do, then
> what they set may be wiped out later.
>
> Roger
>
>> Hi, guys!
>>
>> I need to write into
>> HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies
>> and that work without problem for user with admin rights , but not for
>> Standard or Power User. I set permissions in administrator for such user
>> but still can't write into ( just with regedit ). No problem to write
>> into any other key of that branch
>> HKCU\Software\Microsoft\Windows\CurrentVersion. What I need to do to
>> allow to write ( create new key or add value )
>>
>> TIA
>> Arkady
>>
>>
>
>



Similar ThreadsPosted
Write my own certreq.exe in C#? April 9, 2007, 4:29 am
WMI provider write permissions October 28, 2005, 2:43 am
Application Can't Write to Own Subdirectories!? October 10, 2007, 11:57 am
Modify/Write Permissions on Files & Folders July 13, 2005, 3:51 pm
write a file to usb floppy drive under writeprotect January 22, 2008, 9:35 pm
computer's file share(read& write) be accessed readonly? September 4, 2005, 8:44 am
Re: How to allow Read only access to a folder but Write access to cont January 22, 2008, 10:22 pm
How to allow Read only access to a folder but Write access to cont January 22, 2008, 8:28 pm
Read vs Write/Read Access Rights November 15, 2005, 3:52 pm
Registry key changes? December 18, 2005, 5:30 pm

The site map in XML format XML site map

Contact Us | Privacy Policy