What is the default registry permission for HKLM?

Posted: 09-29-2003, 01:06 PM
hi All,

I have created an additional user and added it to the
Administrator's group. I've started "regedit" and then
went to HKLM and right click and tried to create an
additional key. I got the following error:

Cannot create key: Error writing to the registry

Is this normal? I'm trying to use Windows scripting to
add some lines to the Windows XP registry. Any help? This
behavior does not seem to apply to HKCR, HKCU, HKCC. It
only happens with HKLM and HK_Users.

Any pointers would be appreciated. Thank you.

Regards,
cml

Reply With Quote

Responses to "What is the default registry permission for HKLM?"

Doug Knox MS-MVP
Guest
Posts: n/a
 
Re: What is the default registry permission for HKLM?
Posted: 09-29-2003, 01:36 PM
This depends on which specific sub branch you're trying to write to. The
permissions vary.

--
Doug Knox, MS-MVP Windows XP/ Windows Smart Display
Win 95/98/Me/XP Tweaks and Fixes
http://www.dougknox.com
--------------------------------
Associate Expert
ExpertZone - http://www.microsoft.com/windowsxp/expertzone
--------------------------------
Please reply only to the newsgroup so all may benefit.
Unsolicited e-mail is not answered.

"ML Chin" <mlchin@csam.com.my> wrote in message
news:125b01c38682$1c053680$a001280a@phx.gbl...
> hi All,
>
> I have created an additional user and added it to the
> Administrator's group. I've started "regedit" and then
> went to HKLM and right click and tried to create an
> additional key. I got the following error:
>
> Cannot create key: Error writing to the registry
>
> Is this normal? I'm trying to use Windows scripting to
> add some lines to the Windows XP registry. Any help? This
> behavior does not seem to apply to HKCR, HKCU, HKCC. It
> only happens with HKLM and HK_Users.
>
> Any pointers would be appreciated. Thank you.
>
> Regards,
> cml
>

Reply With Quote
Will Denny
Guest
Posts: n/a
 
Re: What is the default registry permission for HKLM?
Posted: 09-29-2003, 01:47 PM
Hi

You can only add a new key to a sub branch of HKLM. New keys added directly to HKLM are via other means - global hardware info or OS data for example.

Will

"ML Chin" <mlchin@csam.com.my> wrote in message news:125b01c38682$1c053680$a001280a@phx.gbl...
> hi All,
>
> I have created an additional user and added it to the
> Administrator's group. I've started "regedit" and then
> went to HKLM and right click and tried to create an
> additional key. I got the following error:
>
> Cannot create key: Error writing to the registry
>
> Is this normal? I'm trying to use Windows scripting to
> add some lines to the Windows XP registry. Any help? This
> behavior does not seem to apply to HKCR, HKCU, HKCC. It
> only happens with HKLM and HK_Users.
>
> Any pointers would be appreciated. Thank you.
>
> Regards,
> cml
>

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.521 / Virus Database: 319 - Release Date: 23/09/2003
Reply With Quote
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Remotely reading HKLM registry key Jerry West Windows Vista Security 4 11-25-2006 03:46 PM
UAC and permissions on HKLM registry Doug Walch Windows Vista Security 3 10-28-2006 02:59 PM
how can I delete registry key value in HKLM Rastlin Chen Windows Vista Security 2 09-08-2006 02:42 PM
Set Registry Permission kiros Windows XP Embedded 5 06-08-2004 06:38 AM
Registry Permission option missing Bryan Denney Windows XP Security & Administration 1 09-03-2003 07:35 PM