Re: HKEY_LOCAL_MACHINE Registry Access
- From: "Willy Denoyette [MVP]" <willy.denoyette@xxxxxxxxxx>
- Date: Wed, 25 May 2005 19:37:12 +0200
"Kevin Swanson" <kevinswanson@xxxxxxxxxxxxx> wrote in message
news:67880202-50F2-4DD7-9118-22B88A8866D6@xxxxxxxxxxxxxxxx
> Okay, one of is is obviously not understanding something. Probably it's
> me.
>
> Using Regedit: I'm sitting at my local machine, logged on under my
> network
> account. I pull up regedit, click Registyr/Connect Network Registry, and
> type
> in the remote server name. At this point, I can see the HKLM hive, but I
> get
> an error when I try to open it.
>
> Programmatically: Running an app on my local machine, I succeed when
> calling
> RegistryKey.OpenRemoteBaseKey, but fail when calling OpenSubKey.
>
> So... I don't understand where the local accounts come into play (unless
> you're talking about the LOCAL SERVICE account).
>
<logged on under my network account...>, does it mean you are logged on
using a DOMAIN account (I guess not), or a local account?
You said you were an administrator on both machines, right? This can only be
true if:
- you are logged on using a DOMAIN administrators account that is a member
of the remote and the local machines administrators group, or
- you are logged on as a local administrator who has a shadow account on the
remote machine.
A shadows account is an account with the same credentials
(username/password) having the same privileges (so a member of
administrators in your case).
Hope it clears things up now,
Willy.
.
- References:
- HKEY_LOCAL_MACHINE Registry Access
- From: Kevin Swanson
- Re: HKEY_LOCAL_MACHINE Registry Access
- From: Willy Denoyette [MVP]
- Re: HKEY_LOCAL_MACHINE Registry Access
- From: Kevin Swanson
- Re: HKEY_LOCAL_MACHINE Registry Access
- From: Willy Denoyette [MVP]
- Re: HKEY_LOCAL_MACHINE Registry Access
- From: Kevin Swanson
- HKEY_LOCAL_MACHINE Registry Access
- Prev by Date: Re: How to profile an app?
- Next by Date: Re: Disposing Collections
- Previous by thread: Re: HKEY_LOCAL_MACHINE Registry Access
- Next by thread: Translate from C++ to C#
- Index(es):
Relevant Pages
|