Remote control runs on local PC
Remote control runs on local PC
My config:
opsi 4.0.1
local PC: Windows XP or Windows 7, java 1.6.0_24-b07 or 1.6.0_25-b06, browser - any (IE, FF, Opera)
remote PC: Windows XP, opsi client agent 4.0.1
In "Remote Control call" window I select command "ping_windows" and change command string from
cmd.exe /c start ping %host%
to (for example)
cmd.exe /c net user
and run it.
In out part of "Remote Control call" window I view users of local PC. But I want view users of remote PC.
How can I run my command on remote PC?
P.S. Sorry for my English.
Re: Remote control runs on local PC
the %host% part of the command will be substituted by the FQDN of the selected client.
If you omit %host%, no command knows where to go .......
Does this help ?
regards
d.oertel
Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.
Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.
uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de
Re: Remote control runs on local PC
But I not understand

When I write
cmd.exe /c net user %host%
then I get
"User name not found" (translate from Russian).
%host% is parameter for "net user" in this case, is not parameter for "Remote Control".
Please explain to me by giving an example for my command.
Re: Remote control runs on local PC
what do you try to do ?
net user is a command for user handling ....
What information or action do you try to get or activate ?
Code: Alles auswählen
cmd.exe /c start ping %host%
regards
d.oertel
Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.
Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.
uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de
Re: Remote control runs on local PC

I hoped to run any commands on remote PC by opsi client agent like ssh for all selected PC.
Then I will must do it only by opsi packet with script like this:
setup.ins
Code: Alles auswählen
[Actions]
DosBatch_cmd
[DosBatch_cmd]
net user Admin 123456