Open remote registry

tjkalb

Registered User.
Local time
Today, 12:39
Joined
Jan 30, 2013
Messages
15
Hi! I can't figure out how to open a remote computer's registry in vb. My database keeps track of all our IPs. I have buttons to ping, open shares, open computer management, etc. for the computer with that IP. I want to open the registry for a certain IP for viewing and possible manual editing. The code that I'm finding is for editing the registry, not for opening regedit and connecting to a network computer. I want to be able to open regedit for the IP by clicking on a button. Any ideas?
 
Have you spoken to your network or technical security people? Seems they should have existing procedures for such activity.

You might wish to investigate the SHELL command
 
Here is a MS article about performing such interactively, not via code:
http://technet.microsoft.com/en-us/library/cc785793(v=ws.10).aspx

Perhaps come up with a way to communicate between computers separate from touching the registry, send a request to the remote machine to have it look up values from its own registry, then that remote process return the value it found.

In the Linux world, you would be looking for RExec / SSH capabilities. Like has already been mentioned, you will need to consider the security implications for opening such services on your computers.
 
Thanks for your reply! I am a network person, and I can access all computers on our network.

As far as shell command goes, I'm only seeing the shell command for the current computer, not a remote computer.

I want to open up the registry on a remote computer using Access vb code just like I would going to regedit and then connecting to a remote computer. I have the IP Address and/or computer name. I'm trying to make our ICT Department's life easier.

Thanks!
 
As far as shell command goes, I'm only seeing the shell command for the current computer, not a remote computer.

That would be correct based on the VBA language.

BTW: A better version which 1) waits for the started command line to complete and 2) returns the exit code from said program may be found here:

ShellAndWait which actually works, returns the program's Exit Code, WindowStyle spec
http://www.access-programmers.co.uk/forums/showthread.php?t=237688

There is not something already wrapped up in the VBA language to do this sort of thing. You will need to go outside of the VBA language to accomplish what you are after.

In my mind you are better off sending some sort of message between computers, and receiving a reply / answer back. For that you will need some sort of daemon running on all of the remote computers, at the same time you deploy that daemon, also deploy a tool to perform the check you need based on running on the local remote computer. So:

1) Secure back door
2) Tool to query what you are interested in
 

Users who are viewing this thread

Back
Top Bottom