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

SophosInstall.exe Deployment through Active Directory

Hello!

Lately we have been attempting to deploy the SophosInstall.exe through AD. We have a shared folder that is accessible by everyone and we are attempting to utilize the switches to remove the old AV (Mcafee Agent w/ VSE 8.8) and install Sophos.

Here is the .bat we have made:

CLS
@ECHO OFF
COLOR 0C
TITLE Anti-Virus Uninstaller/Installer

::Map Drive
ECHO Mapping Drive
net use Z: "\\Servername\Share\Share\Sophos"

:: Install Sophos Central
ECHO Installing Sophos Central

"Z:\SophosInstall.exe" -q -tps remove

net use Z: /delete

 

The script is simple and works when run on any of the machines that we use to test, but for some reason it is not working correctly when AD is set up to run the script at startup.

Note:The script is in the same location as the executable.

So I am wondering if you all have any tips or tricks for deployment through AD?

We have to deploy Sophos to about 500 computers without SCCM. If you deploy through a different tool and have seen success I am more than happy to consider using it! 

 

Thanks,

Garrett



This thread was automatically locked due to age.
Parents
  • Have you tried the version here:

    I assume that your script works as the logged on user but when run as a startup script and therefore running as system the mapped drive work is maybe failing?

    Regards,

    Jak

  • Jak,

    The script works for me but it is requiring the user to enter in the administrator password which they do not have. We have 500 computers at different locations to deploy and really need it to be a silent install without end user interaction. Your recommendation would be greatly appreciated. 

     

    Thanks,

     

    Rodney

  • Make sure the script is running on system boot so that it runs with the local system account instead of an account with credentials. 

     

    "Z:\SophosInstall.exe" -q -tps remove

     

    is all you need, but make sure the stuff before the .exe is pointing to the file. If you need any assistance feel free to shoot me a PM. We are also deploying to about 500 computers.

     

    Have a good one!

Reply
  • Make sure the script is running on system boot so that it runs with the local system account instead of an account with credentials. 

     

    "Z:\SophosInstall.exe" -q -tps remove

     

    is all you need, but make sure the stuff before the .exe is pointing to the file. If you need any assistance feel free to shoot me a PM. We are also deploying to about 500 computers.

     

    Have a good one!

Children
No Data