The question is not clear — please see my comment to the question.
In case you want to create a new user account, I want to tell you just one thing: strictly speaking, you cannot do it by at least one simple reason: adding an account is not just adding some keys and other data to the Registry. This is explained here:
http://en.wikipedia.org/wiki/Windows_Registry[
^].
Please pay attention that there are separate registry files for each user, NTUSER.DAT and USRCLASS.DAT, so you would need to create them, among other things. As before the files are created and before the newly created user is not logged on the usual .NET interface of
Microsoft.Win32.Registry
could not be applied to those files, you would need to create them on lower level. I am not sure if this is even documented.
Nevertheless, adding a new user account using .MET is possible, but is has nothing to do with (direct) Registry manipulations.
This is the Microsoft article explaining how to add a new user programmatically using Directory Services:
http://support.microsoft.com/default.aspx?scid=kb;en-us;306273[
^].
See also this discussion:
http://stackoverflow.com/questions/5984600/how-to-programmatically-create-windows-user-accounts-on-windows-7-or-windows-ser[
^].
—SA