[zenoss-users] Re: winexe

2009-01-06 Thread MAGnUm
mwcotton: i saw the -A option, but I would rather keep the password one place (in zenoss) thanks though. ewall: i am not using this as a active response to an event, i am running it manually via the run command menu... winexe //${device/id} 'net stop Windows Management Instrumentation /y'

[zenoss-users] Re: winexe

2009-01-05 Thread mwcotton
there is a option to winexe to pull the auth info from a file -A, --authentication-file=FILE Get the credentials from a file it uses the same format as smbmount username=mylogin password=secret m2f Read this topic online here:

[zenoss-users] Re: winexe

2009-01-05 Thread ewall
The command I use for this purpose uses the zProperty variables which should already be set for the device, so you don't see the password either... Dunno if that helps. Code: winexe -U '${dev/zWinUser}%${dev/zWinPassword}' //${dev/manageIp} 'net start ${evt/component}'

Re: [zenoss-users] Re: winexe ï¼ï¼ï¼ï ¼

2008-05-16 Thread James Pulver
What version of Windows? Doesn't work with Vista or Server 2008 IIRC. -- James Pulver Information Technology Area Supervisor LEPP Computer Group Cornell University roy wrote: I hava try ipconfig /all' but the errors still , and I shundown both the firewall on the windows server and the linux

[zenoss-users] Re: winexe ????

2008-05-15 Thread roy
I hava try ipconfig /all' but the errors still , and I shundown both the firewall on the windows server and the linux server , still it didn't work ? any ideas? jmp242 wrote: IIRC, I don't think I got interactive programs to work - have you tried, say, ipconfig /all as a test feedback

[zenoss-users] Re: winexe and commands

2007-02-21 Thread mcadmin
Don't know if I can be of any help, but I am using the latest VM as of today and have been able to successfully monitor Windows Services and restart them on a failed event. For instance I am using the following to restart the Print Spooler when it fails. Command: /usr/bin/winexe -U