This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SHH / Control Center Console / Live protection

Hi everbody !

With Control Center Console we cannot activate to our clients "Live Proctection". This option isn't avaible

I have write a base script to activate "Live Protection" for Windows 7, it can be upgrade ;)

This script don't check if "Live Protection" is "on" or "off" it just an automation for active or desactivate this option.

Be careful for using this script I'm not responsible if you have any problem.

I'm not a programmer and my code is very simple ^^. Hope it can help other people in the same case.

Boris M.

Salut à tous !

Avec Control Center Console nous ne pouvons pas activer "Live Protection" pour nos clients. Cette option n'est pas disponible.

J'ai donc écrit une base d'un script pour activer "Live protection" pour Windows 7, il peut être amélioré ;)

Ce script ne vérifie pas si "Live Protection" est activé ou non, c'est juste une automatisation de l'activation/désactivation de l'option.

Soyez vigilant à l'utilisation de ce script, je ne serai tenu responsable d'une mauvaise manipulation.

Je ne suis pas un programmeur donc mon code est très simple voire archaïque ^^. J'espère que ça pourra aider d'autres personnes dans le même cas.

Boris M.

code

---------------------------------------------------

dim exe_sophos
set OuvertureSophos = WScript.CreateObject("WScript.Shell")

exe_sophos = "%programfiles(x86)%\Sophos\Sophos Anti-Virus\savmain.exe"

' Launch savmain.exe | lancement de savmain.exe

OuvertureSophos.Run "cmd /C CD " & "%programfiles(x86)%" & "\sophos\sophos anti-virus\ & " & "savmain.exe"
Wscript.Sleep 1000

msgbox "Après ok lancement modification", vbokonly, "Modif Live Protection"
OuvertureSophos.AppActivate "Modif Live Protection"

' Here msgbox is normaly visible, if not see task bar and click ok | Normalement un Message box est visible sinon cliquer dessus sur la barre des tâches puis sur ok
Wscript.Sleep 500

' When ok is activate modification for Live Protection is made | quand on clique sur ok la modification pour Live Protection est effectuée
set Envoi_cles = WScript.CreateObject("Wscript.Shell")
OuvertureSophos.AppActivate "Sophos Endpoint Security and Control"
Envoi_cles.SendKeys "%"
wscript.sleep 200
Envoi_cles.Sendkeys "cvsa"
wscript.sleep 200
Envoi_cles.Sendkeys "{enter}"
Wscript.sleep 500
Envoi_cles.Sendkeys "%"
Envoi_cles.Sendkeys "ff"
msgbox "Modification apportée"

' Be careful : there are not a check if Live Protection is already activate | Attention il n'y a pas de vérification si Live Protection est déjà activé

---------------------------

:32725


This thread was automatically locked due to age.