Page 1 of 1 1
Topic Options
#141277 - 2005-06-08 01:20 PM Start regedit to remote client
Schuliebug Offline
Hey THIS is FUN
*****

Registered: 2002-01-18
Posts: 379
Loc: Netherlands
Hi,

Does anybody know of a way to start regedit from a command line and automatically connect to a remote client (connect network registry)? I want to use that functionality in our Helpdesk application, something like:
Code:
Shell '%comspec% /c regedit "\\1.2.3.4"'


If i shoud use other coding methods, no problem.
_________________________
Kind regards,

Top
#141278 - 2005-06-08 02:21 PM Re: Start regedit to remote client
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
no, regedit has zero amount of automation available.
you can still use other applications or code your own, but regedit, no.
_________________________
!

download KiXnet

Top
#141279 - 2005-06-08 02:42 PM Re: Start regedit to remote client
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
lol, this stretches the definition of automation a little bit - works on English machines:

Code:

break on

$hostname = "ABC123"

run "regedit"

sleep 0.5

sendkeys("~FC"+$HOSTNAME+"{ENTER}")

exit 0



-Shawn

Top
#141280 - 2005-06-08 02:51 PM Re: Start regedit to remote client
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Given these command line switches:

Regedit Command Line Switches

Was thinking maybe the /L: switch could be pointed to the remote folder (containing the system.dat,etc) of the remote machine, a quick test yielded ziltch for me though.

-Shawn

Top
#141281 - 2005-06-08 05:18 PM Re: Start regedit to remote client
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
I've tried for a while as well for the inquistor/SIM tool as well, no luck
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#141282 - 2005-06-08 05:35 PM Re: Start regedit to remote client
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
There may be some sort of automation available cuz the freeware tool RegMon is able to open RegEdit and navigate to a specific key or value unless of course they do some sort of SendKeys.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#141283 - 2005-06-08 09:11 PM Re: Start regedit to remote client
Night Hawk Offline
Fresh Scripter

Registered: 2002-10-09
Posts: 33
Loc: NC, USA
What are you tring to do on the remote machine?
Top
#141284 - 2005-06-14 08:18 AM Re: Start regedit to remote client
Schuliebug Offline
Hey THIS is FUN
*****

Registered: 2002-01-18
Posts: 379
Loc: Netherlands
Thankz guys, i was also thinking of using sendkeys instead of keep staring at some sort of command line switch

I was looking for this to be able to edit/view remote registries whithout connecting by yourself. I have written some sort of inventory app: one part at the client collects the machine, user & application data and logs them in a SQL DB, another part queries the DB and presents the data. The app also contains some actions, like remote control, explore system drive, remote eventvwr or restage WS. Now i can add remote registry
_________________________
Kind regards,

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Allen) and 382 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.055 seconds in which 0.023 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org