Groups | Blog | Home
all groups > vb.net > february 2004 >

vb.net : Registry Keys and Administrators


Ken Tucker [MVP]
2/24/2004 2:15:11 PM
Hi,

Have you tried impersonation?

http://www.dotnet247.com/247reference/msgs/28/144136.aspx

Ken
------------
[quoted text, click to view]

Riaan Cillié
2/24/2004 8:34:18 PM
Hi

Is there a way that I can bind a registry key with a different username and
password than the current user logged in?

I need to be able to change a registry key with VB.net. Thing is, the user
logged on running the utility does not himself have rights to change the
registry. An administrative account's details can be hard-coded into the
utility.

Thanks

Riaan

AddThis Social Bookmark Button