Re: What is the default registry permission for HKLM?

From: ML Chin (mlchin_at_csam.com.my)
Date: 09/30/03


Date: Tue, 30 Sep 2003 06:56:47 -0700


hi Will and Doug,

Yes... I think Will's reply is about right from what I
can see. I was trying to create at the "root" branch of
the HKLM. No can do...

I tried adding entires at existing sub branches of HKLM
and I did not have problems. Originally, I thought I had
a problem, at least I now know that this is normal.

Thanks for the answers.

BTW, do you know of any good scripting site with tons of
sample scripts? :))

Regards,
cml

>-----Original Message-----
>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
>>
>
>
>.
>



Relevant Pages

  • Re: Error 0x8007043B after XP SP2
    ... objReg.GetMultiStringValue HKLM, strKeyPath, strValueName, arrValues ... -- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: ...
    (microsoft.public.windowsupdate)
  • Re: SEEK: utility to add file date to name
    ... 2K and later have Windows Scripting Host that runs vbscript and jscript code from the command line--with older versions of windows you have to invoke it with cscript but in Vista you can just type "helloworld" on the command line and if helloworld.vbs is anywhere in your search path it will run. ...
    (rec.photo.digital)
  • Re: Why is the Script 5.6 documentation so crummy?
    ... I don't think that the WSH and Windows scripting ... VBS for browser scripting. ...
    (microsoft.public.scripting.vbscript)
  • Re: Logon Script
    ... I have taken a look at Microsoft's Windows 2000 scripting ... General windows scripting book recommendations: ... I'd recommend two WROX books: Programmer's guide to VBScript and ...
    (microsoft.public.windows.server.scripting)
  • Re: VBControlExtender und Windows Scripting (wshom.ocx)
    ... falls jemand den Windows Scripting Host nicht installiert hat. ... > Private WithEvents WScript As VBControlExtender ...
    (microsoft.public.de.vb)