Re: What is the default registry permission for HKLM?

From: Will Denny (wjd4444uk_at_yahoo.co.uk)
Date: 09/29/03


Date: Mon, 29 Sep 2003 13:47:05 +0100


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


Relevant Pages

  • Re: Windows Service - Event Log
    ... writing to the registry (HKLM). ... that I am too) are talking about creating an Event Log, ... Administrators group on the local machine, or the local System account. ...
    (microsoft.public.dotnet.languages.csharp)
  • What is the default registry permission for HKLM?
    ... Error writing to the registry ... I'm trying to use Windows scripting to ... only happens with HKLM and HK_Users. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Com Add-in Question?
    ... I have set up all the relevant HKLM ... When I install it and I look at the Registry HKEY_Users has nothing, ... HKLM is as expected but HKCU still appears. ... > Is the addin registered in HKEY_USERS? ...
    (microsoft.public.outlook.program_addins)
  • Re: How to detect multiple instances of my app?
    ... Haven't we established that writing to HKLM under Vista is unreliable unless ... |>> in some key in the registry. ... | functionality using the API, plus many other useful classes, such ...
    (microsoft.public.vb.general.discussion)
  • Re: Using Visual Studio Installer, create an Outlook COM component that can only be installed by an
    ... I can provide you with a REG file that "extends" the VB6 Add-In Designer so ... it allows options for registering your add-in under HKLM. ... Outlook ] ... > necessary registry entries in HKLM in your installer. ...
    (microsoft.public.vb.com)