远程访问注册表 [英] Remote Access Registry

查看:164
本文介绍了远程访问注册表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

首先,我的节点m / c以局域网连接,还有其他m / c连接。

我的本地操作系统(操作系统)是安装Windows Xp和Service Pack 3。但没有给定的用户名和密码。与lan中的其他m / c相同没有用户名&密码。

如何从本地节点访问/读取远程m / c的注册表项???

这对我来说非常重要..

请提供VB.net代码....

我等待回复...





您提供的以下代码:

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





上面的代码生成错误消息('不允许请求注册表访问')

如何访问注册表值...

请提供正确的vb.net代码...

这对我来说非常重要..

我等待正确的信息



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

推荐答案

检查以下链接:



访问远程注册表的问题


这篇关于远程访问注册表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆