Quantcast
Channel: THWACK: Popular Discussions - DameWare DRS
Viewing all articles
Browse latest Browse all 14036

host command line

$
0
0

Note: This is a topic brought over from DameWare Forums which has been closed. If you wish to engage in this discussion, just comment here.


host command line

by xxBaSToSxx on Sat Sep 29, 2007 8:10 am


I did'nt find any reference to a command line argument for the client agent.What I would like to do is a shortcut that lauch a reverse connection from the host (like the "connect to client" command when you righ click on systray icon)

We are using this solution with VNC but we have in project to use Miniremote instead.

Today we have several hotliners behind a NAT router : each hotliner's computer has an open port and our clients use preset icons wich launch a reverse connection to the port of the hotliner.

So is there a way to specify something like

DWRCS.EXE -c: -x: -h: -m:hotliners.mycompany.com -u:username -p:password -o:6130 -a:1

or is there an other solution.
________________________________________
Re: host command line
by xxBaSToSxx on Thu Oct 04, 2007 10:38 am


Sorry to distrub you again...
Is my question too difficult to answer ???
________________________________________
Re: host command line
by bryan on Thu Oct 04, 2007 10:53 am


Unfortunately, the current implementation is not directly geared for this type of use. We do plan on adding additional functionality into a future version of the software, but I just cannot make any promises when this may be available.

However, perhaps this may help you out:

Beginning back in version 6.2.0.1 and above, we added a new command line option for the MRC CLient Agent (DWRCS -carc), which will have the MRC Client Agent's "Reverse Connect" dialog automatically displayed. However, it will require user interaction on the remote machine to provide (or select) the correct IP-Address and Port and then press Enter to initiate this Reverse Connection attempt. This is by design.

There is also a way to have the Reverse Connection (i.e Right-Click on the MRC SysTray icon and select Connect to Client) pre-populated with a set of IP-Addresses & ports as well (i.e. your public IP-Address, etc....). To automatically add entries (HostNames, or IP-Addresses) to the "Connect to Client" Drop-Down list, you can use the following Registry keys (this is stored profile specific, for each different user). The values are in groups of two (Host & Port), and then Last/Port is the one that is currently selected within the list.

[HKEY_CURRENT_USER\Software\DameWare Development\NT Utilities\DNTU\DWRCC Settings\Connect To Client]
"Last"="192.168.1.100" (ip-address)
"Port"=dword:000017f2 (hex for 6130)
"Host0"="192.168.1.1"
"Port0"=dword:000017f2
Host1"="192.168.1.2"
"Port1"=dword:000017f2
.......
.......
"Hostx"="192.168.1.100"
"Portx"=dword:000017f2


This functionality is included in the current version of the software & client agent service on our website.

I hope this helps.
Bryan Brinkman
Support Engineer
DameWare Development, LLC.
http://www.dameware.com

________________________________________
Re: host command line
by xxBaSToSxx on Sun Oct 07, 2007 2:51 am


Thanks Bryan

The "pre-populated" is a good alternative for us, we could easily tell the client to specify the port only.
________________________________________

Re: host command line
by bryan on Wed Oct 17, 2007 1:07 pm


Hi xxBaSToSxx,

You're welcome. I'm glad I was able to help out, and thanks for your feedback.

Best Regards,
Bryan Brinkman
Support Engineer
DameWare Development, LLC.
http://www.dameware.com

________________________________________
Re: host command line
by xxBaSToSxx on Wed Jan 23, 2008 5:50 am


hi,
I just bought my full licence & now experiencing in real.
pre-populated set of IP-Addresses & ports doesnt work for me, only the "Last" entry is ok
others "host0...host1..etc" are not displayed when used -carc switch

Here's my reg file :
Code: Select all
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\DameWare Development\NT Utilities\DNTU\DWRCC Settings\Connect To Client]
"Last"="sebastien.mydomain"
"Port"=dword:000017f2
"Host0"="sebastien.mydomain"
"Port0"=dword:000017f3
"Host1"="denis.mydomain"
"Port1"=dword:000017f4
"Host2"="thierry.mydomain"
"Port2"=dword:000017f5
"Host3"="hubert.mydomain"
"Port3"=dword:000017f6
"Host4"="aurelien.mydomain"
"Port4"=dword:000017f7
"Host5"="nathalie.mydomain"
"Port5"=dword:000017f8
"Host6"="sebmaison.mydomain"
"Port6"=dword:000017f2
________________________________________
Re: host command line
by xxBaSToSxx on Wed Jan 23, 2008 5:54 am


I found it
in fact you must have a [space] between Host & the number
so correct regfile is :
Code: Select all
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\DameWare Development\NT Utilities\DNTU\DWRCC Settings\Connect To Client]
"Last"="sebastien.mydomain"
"Port"=dword:000017f2
"Host 0"="sebastien.mydomain"
"Port 0"=dword:000017f3
"Host 1"="denis.mydomain"
"Port 1"=dword:000017f4
"Host 2"="thierry.mydomain"
"Port 2"=dword:000017f5
"Host 3"="hubert.mydomain"
"Port 3"=dword:000017f6
"Host 4"="aurelien.mydomain"
"Port 4"=dword:000017f7
"Host 5"="nathalie.mydomain"
"Port 5"=dword:000017f8
"Host 6"="sebmaison.mydomain"
"Port 6"=dword:000017f2
________________________________________
Re: host command line
by bryan on Mon Jan 28, 2008 11:44 am


Hi xxBaSToSxx,

Many thanks for your additional information.

Best Regards,
Bryan Brinkman
Support Engineer
DameWare Development, LLC.
http://www.dameware.com


________________________________________
Re: host command line
by AngusSF on Thu May 13, 2010 1:30 pm


xxBaSToSxx wrote:I found it
in fact you must have a [space] between Host & the number
so correct regfile is :
[snip]


Well, it would be a Good Thing [TM] if DameWare would fix the KB article The Reverse Connection that explains this, because in the KB article it shows the REG entries with NO SPACE between "Host" and the number    .
________________________________________
Re: host command line
by Marty on Fri May 14, 2010 10:14 am


The Reverse Connection knowledgebase article has been updated to reflect this information.

Thanks,
Marty Bonvillain
Support Staff
DameWare Development, LLC.
http://www.dameware.com
Re: host command line
by AngusSF on Fri May 21, 2010 12:42 pm
Marty wrote:The Reverse Connection knowledgebase article has been updated to reflect this information.

Thanks,

Thank YOU.

Now what we need is a way to roll out the Mini Remote client service in one simple operation, like the UltraVNC SingleClick client. If the remote service accepted command-line arguments or used an INI file in addition to the registry settings this would be very helpful.
________________________________________
Re: host command line
by jdave1372 on Sun Aug 21, 2011 12:57 pm


I use software rather than using command line.
________________________________________
Re: host command line
by spyder1372 on Tue Sep 13, 2011 8:48 am


And that's the way smart people do.



Viewing all articles
Browse latest Browse all 14036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>