473,499 Members | 1,862 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to write registry on a remote machine?

hi,

i'm wondering how to reader or write registry of a remote host. are there
any classes help?

Thanks in advance
-Zhilin
Oct 24 '06 #1
3 2279
The Microsoft.Win32.Registry, Microsoft.Win32.RegistryKey and related
Microsoft.Win32 registry enumerations are used for reading and writing to
and from the System Registry. Regardless of whether this is local or remote,
the same classes are used. For a remote machine, the proper network
credentials are required.

--
HTH,

Kevin Spencer
Microsoft MVP
Short Order Coder
http://unclechutney.blogspot.com

What You Seek Is What You Get

"CAIBird" <CA*****@discussions.microsoft.comwrote in message
news:7F**********************************@microsof t.com...
hi,

i'm wondering how to reader or write registry of a remote host. are there
any classes help?

Thanks in advance
-Zhilin

Oct 24 '06 #2
Thanks, but why can't find reference for these classes within add reference
dialog in VS2005?

"Kevin Spencer" wrote:
The Microsoft.Win32.Registry, Microsoft.Win32.RegistryKey and related
Microsoft.Win32 registry enumerations are used for reading and writing to
and from the System Registry. Regardless of whether this is local or remote,
the same classes are used. For a remote machine, the proper network
credentials are required.

--
HTH,

Kevin Spencer
Microsoft MVP
Short Order Coder
http://unclechutney.blogspot.com

What You Seek Is What You Get

"CAIBird" <CA*****@discussions.microsoft.comwrote in message
news:7F**********************************@microsof t.com...
hi,

i'm wondering how to reader or write registry of a remote host. are there
any classes help?

Thanks in advance
-Zhilin


Oct 25 '06 #3
Oh,sorry, i find it :)

Thanks a lot!

"CAIBird" wrote:
Thanks, but why can't find reference for these classes within add reference
dialog in VS2005?

"Kevin Spencer" wrote:
The Microsoft.Win32.Registry, Microsoft.Win32.RegistryKey and related
Microsoft.Win32 registry enumerations are used for reading and writing to
and from the System Registry. Regardless of whether this is local or remote,
the same classes are used. For a remote machine, the proper network
credentials are required.

--
HTH,

Kevin Spencer
Microsoft MVP
Short Order Coder
http://unclechutney.blogspot.com

What You Seek Is What You Get

"CAIBird" <CA*****@discussions.microsoft.comwrote in message
news:7F**********************************@microsof t.com...
hi,
>
i'm wondering how to reader or write registry of a remote host. are there
any classes help?
>
Thanks in advance
-Zhilin
Oct 25 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2121
by: cwnewbe1 | last post by:
I would like to be able to add environment symbols to the Microsoft XP registry. I tried the example in the Python Cookbook by Orielly by running the script locally and it worked fine. Although I...
1
1664
by: Cherry | last post by:
Hi, can I access the registry of a remote machine using VB.NET? While connecting to the remote machine I would be using the admin login of that machine. Thanks.
3
17527
by: jayanth.vishnuvardhan | last post by:
Hi All, Can any one help me on how to read & write the local machines registry values through scripting language. (vbscript/javscript)? I tried with Wscript.Shell Command & but with this we...
21
10757
by: Kevin Swanson | last post by:
I'm attempting some remote registry manipulation via C#. I've written a test app to simply grab a specified key from a specified hive on a specified machine. The call to OpenSubKey is throwing...
3
4601
by: Steve Montgomery | last post by:
Does anyone have a sample block of code they can share for checking a DWORD value on a remote network machine's registry? For example, to validate a patch deployment. MSDN has a great sample for...
8
5462
by: Al Kaufman | last post by:
I have a simple console app that uses: regSubKey = <some registry key> Dim reg As RegistryKey = Registry.ClassesRoot.OpenSubKey(regSubKey) Dim path As String path = CStr(reg.GetValue(""))
2
12677
by: scorpion53061 | last post by:
hi all, I thought I would give this back and see if anyone could improve on it. I was working with the remote registry class. This code opens the ScreenSaverIsSecure registry setting and changes...
3
8304
by: JB | last post by:
I am trying to access a registry key on computer like so: key = RegistryKey.OpenRemoteBaseKey(RegistryHive.LocalMachine, computerName).OpenSubKey(Subkey); There are two keys I am trying to...
12
5617
by: =?Utf-8?B?YXVsZGg=?= | last post by:
i current have a way to read both local and remote machines registry keys and create a textual view (.txt output). i now looking for ways to do export of local and remote mahcine registry keys...
0
7134
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7180
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6901
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7392
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5479
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4920
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4605
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3101
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1429
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.