Well, the format I got working was as follows:

/opt/zenoss/bin/winexe -U "${dev/zWinUser}%${dev/zWinPassword}" //${dev/manageIp} 'notepad.exe'

Of course, point to winexe. Don't forget to quote the user account name, and put the password after it if on the command line. so:

winexe -U "juampi\administrator%password" //192.168.100.2 'cmd.exe'

The reason I use single quotes for the command is if I have to quote things for the windows command like:

net start "Service Name"

also, I've noticed on my install anyway that interactive programs just don't start with 2.x. You can do

ipconfig /all

or a

net start "service"

but

calc.exe

will time out. Hope this helps a little anyway. Your problem looks like you're not providing the password so windows doesn't let you run the service installer.

--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University



nsolop wrote:
Hi all, I'm a newbie on this. I've been trying to use winexe but always get the 
error :
# ./winexe -U juampi/administrador //192.168.100.2 "cmd.exe"
ERROR: Failed to install service winexesvc - NT_STATUS_NET_WRITE_FAULT

I downloaded the precompiled version of the file, then downloaded the sources 
and compiled it but always get the same error message.

Also tried it on other os (centos and debian).

Any ideas of what I'm doing wrong?

Thanks and sorry about my English.

Nicolas Solop

------------------------
 Nicolas Solop




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=9288#9288

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to