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,

    Checked this morning and the script that I used in the code section of my post worked! Thank you for taking the time to review this. I was going to try the pushd popd thing next if it didn't push through AD. 

    Appreciate your help!

    Garrett

Reply
  • Jak,

    Checked this morning and the script that I used in the code section of my post worked! Thank you for taking the time to review this. I was going to try the pushd popd thing next if it didn't push through AD. 

    Appreciate your help!

    Garrett

Children
No Data