La recherche a retourné 79 résultats

par empbilly
27 mars 2018 - 14:40
Forum : WAPT usage (Console, Agent) / Utilisation WAPT (Console, Agent)
Sujet : [RESOLVED] EWaptUnavailablePackage: Missing dependencies:
Réponses : 2
Vues : 2683

Re: EWaptUnavailablePackage: Missing dependencies:

htouvet a écrit : 27 mars 2018 - 14:24 You should remove the missing package from the host dependencies (double click on the host in waptconsole) and then trigger an update of packages index for this host.
Cool!! Works!!! :D

Thanks htouvet!!
par empbilly
27 mars 2018 - 14:19
Forum : WAPT usage (Console, Agent) / Utilisation WAPT (Console, Agent)
Sujet : [RESOLVED] EWaptUnavailablePackage: Missing dependencies:
Réponses : 2
Vues : 2683

[RESOLVED] EWaptUnavailablePackage: Missing dependencies:

Hi folks,

I deleted a software from our repository and now a computer that I had not removed this software is reporting error on your UUID. The error is "EWaptUnavailablePackage: Missing dependencies: xxxxxx"

How can I force the computer to forget this package?
par empbilly
27 mars 2018 - 02:14
Forum : WAPT usage (Console, Agent) / Utilisation WAPT (Console, Agent)
Sujet : [RESOLVED] wmi_info & remote commands
Réponses : 7
Vues : 3472

Re: [RESOLVED] wmi_info & remote commands

I see portuguese comments in your script to disable wifi connexions, are you writing from Brazil ? Yes. I live in Brazil and work in an education institution. If that's the case, that would be just cool to start having WAPT in South America. :D If your language is Portuguese, do you feel it would b...
par empbilly
26 mars 2018 - 21:30
Forum : WAPT usage (Console, Agent) / Utilisation WAPT (Console, Agent)
Sujet : [RESOLVED] run remote commands
Réponses : 7
Vues : 4606

Re: run remote commands

The answer is in the topic of the link below.

viewtopic.php?f=10&t=1083
par empbilly
26 mars 2018 - 21:27
Forum : WAPT usage (Console, Agent) / Utilisation WAPT (Console, Agent)
Sujet : [RESOLVED] wmi_info & remote commands
Réponses : 7
Vues : 3472

Re: wmi_info

Now, it's works!!! :D # -*- coding: UTF-8 -*- from setuphelpers import * import subprocess import locale uninstallkey = [] con = u'Conexão de Rede sem Fio' def install(): print u"Exercutando Wi-fi card disable" try: x = subprocess.Popen(["cmd.exe", "/c", "wmic path...
par empbilly
26 mars 2018 - 19:46
Forum : WAPT usage (Console, Agent) / Utilisation WAPT (Console, Agent)
Sujet : [RESOLVED] wmi_info & remote commands
Réponses : 7
Vues : 3472

Re: wmi_info

Okay. I'm trying to make the script below work. The problem is the accent on the text "Conex ã o local 2" that the "con" variable receives. I tried several ways to decode and encode to utf-8, but without success. >>> con = 'Conexão local 2'.decode('utf-8') >>> print con Conexão l...
par empbilly
26 mars 2018 - 14:41
Forum : WAPT usage (Console, Agent) / Utilisation WAPT (Console, Agent)
Sujet : [RESOLVED] run remote commands
Réponses : 7
Vues : 4606

Re: run remote commands

Theoritically, run(r'wapt-get generete-uuid') would be enough as the run command starts a sub shell (cmd) by default. generate-uuid could eventually work but a lot of other "wapt-get" would not work properly because only one wapt process must be running at a time (and the waptservice is a...
par empbilly
23 mars 2018 - 21:27
Forum : WAPT usage (Console, Agent) / Utilisation WAPT (Console, Agent)
Sujet : [RESOLVED] run remote commands
Réponses : 7
Vues : 4606

Re: run remote commands

sfonteneau,

Regarding my example,

Code : Tout sélectionner

run(r'c:\windows\system32\cmd.exe /c wapt-get generete-uuid')
This would work via WAPT?
par empbilly
23 mars 2018 - 20:45
Forum : WAPT usage (Console, Agent) / Utilisation WAPT (Console, Agent)
Sujet : [RESOLVED] wmi_info & remote commands
Réponses : 7
Vues : 3472

Re: wmi_info

From the example above, I could make a script that disable via wapt, for example a computer wireless card?
par empbilly
23 mars 2018 - 17:56
Forum : WAPT usage (Console, Agent) / Utilisation WAPT (Console, Agent)
Sujet : [RESOLVED] wmi_info & remote commands
Réponses : 7
Vues : 3472

[RESOLVED] wmi_info & remote commands

Hi folks,

How can I declare the wmi_filter option? Can it be as below?

Code : Tout sélectionner

wmi_info(keys=['Win32_NetworkAdapter'])['name']['index']