PC Review


Reply
Thread Tools Rate Thread

Automate connecting to a remote computer in regedit

 
 
airwot4
Guest
Posts: n/a
 
      30th May 2008
I have a small toolbox application which is designed to automate
common tasks. I would like to add a function that will send a host
name string to regedit in order to open up the remote registry.

Is there anyway to do this? I've been unable to find a command-line
switch to accept host names and I would prefer not to resort to
clunky
keystrokes.


The app is written in VB.NET 2.0.


Thanks
 
Reply With Quote
 
 
 
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      30th May 2008

"airwot4" <(E-Mail Removed)> wrote in message
news:aa114f55-1dde-42cb-8be7-(E-Mail Removed)...
>I have a small toolbox application which is designed to automate
> common tasks. I would like to add a function that will send a host
> name string to regedit in order to open up the remote registry.
>
> Is there anyway to do this? I've been unable to find a command-line
> switch to accept host names and I would prefer not to resort to
> clunky
> keystrokes.
>
>
> The app is written in VB.NET 2.0.
>
>
> Thanks


I don't think that you can do this with regedit.exe and you
probably shouldn't, seeing that your application is written
in VB.Net. Using WMI, you can do anything to the registry
of any PC - see this example:
http://www.microsoft.com/technet/scr...6/hey1116.mspx


 
Reply With Quote
 
airwot4
Guest
Posts: n/a
 
      3rd Jun 2008
I don't want to carry out any functions from my app, simply open
regedit with the remote machine's hive displayed instead of my local
machine.
 
Reply With Quote
 
Bob I
Guest
Posts: n/a
 
      3rd Jun 2008
Looks to me like the /L switch would be what you are after.

http://www.google.com/search?hl=en&q...=Google+Search

airwot4 wrote:

> I don't want to carry out any functions from my app, simply open
> regedit with the remote machine's hive displayed instead of my local
> machine.


 
Reply With Quote
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      3rd Jun 2008

"airwot4" <(E-Mail Removed)> wrote in message
news:1ce76c11-a991-4d3e-a209-(E-Mail Removed)...
>I don't want to carry out any functions from my app, simply open
> regedit with the remote machine's hive displayed instead of my local
> machine.


If so then you could write a macro that issues the appropriate
keystrokes for you.


 
Reply With Quote
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      3rd Jun 2008

"Bob I" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Looks to me like the /L switch would be what you are after.
>
> http://www.google.com/search?hl=en&q...=Google+Search
>


Can you get this to work? If so, please supply the
command line you use.


 
Reply With Quote
 
Bob I
Guest
Posts: n/a
 
      3rd Jun 2008


Pegasus (MVP) wrote:
> "Bob I" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>
>>Looks to me like the /L switch would be what you are after.
>>
>>http://www.google.com/search?hl=en&q...=Google+Search
>>

>
>
> Can you get this to work? If so, please supply the
> command line you use.
>
>


Can't mess with it here. But I would try it with
/L://servername/windows/system.dat

or

/L://servername/c$/windows/system.dat

 
Reply With Quote
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      3rd Jun 2008

"Bob I" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
>
>
> Pegasus (MVP) wrote:
>> "Bob I" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>
>>>Looks to me like the /L switch would be what you are after.
>>>
>>>http://www.google.com/search?hl=en&q...=Google+Search
>>>

>>
>>
>> Can you get this to work? If so, please supply the
>> command line you use.

>
> Can't mess with it here. But I would try it with
> /L://servername/windows/system.dat
>
> or
>
> /L://servername/c$/windows/system.dat


Nope, does not work, note even after fixing up the
incorrect slashes. I always test my commands before
posting them in a reply.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Connecting via Remote Desktop to another computer Will Windows XP Work Remotely 1 1st Apr 2008 12:12 PM
The specified remote computer could not be found. Verify that you have typed the correct computer name or ip address, and then try connecting again. =?Utf-8?B?U3RhY2V5?= Windows XP Work Remotely 3 20th Mar 2004 08:16 PM
Connecting to a remote computer W.E. Herr Windows XP Work Remotely 1 6th Feb 2004 10:29 PM
Connecting to a remote computer wyk Windows XP General 0 25th Sep 2003 06:23 AM
Connecting to a remote computer wyk Windows XP General 0 24th Sep 2003 12:46 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:56 AM.