Click here to Skip to main content
14,699,605 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
First of all, my node m/c is connected in lan, there are also other m/c connected.
My local OS(Operating System) is install Windows Xp and service pack 3. But no given user name and password. Same as other m/c in lan has no user name & password.
How can i access/read the registry key to remote m/c from local node???
It is very important to me..
Please supply the VB.net Code....
I wait for reply...


Your Supplied Code below :
    Dim MyRegKey As Microsoft.Win32.RegistryKey
    Dim MyVal As String

MyRegKey = MyReg.OpenSubKey("Software\Microsoft\Windows NT\currentVersion")
MyVal = MyRegKey.GetValue("RegisteredOwner")
MyRegKey.Close()
TextBox1.Text = MyVal


Above code is generate error msg('Requested registry access is not allowed')
How can i access the registry value...
Please Please supply to right vb.net code...
It is very very important to me..
I wait for right information
Posted
Updated 26-Sep-11 2:36am
v2

1 solution

Check the following link :

Problems accessing remote registry
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900