We help IT Professionals succeed at work.
Get Started

Script to intall software (Sophos Antivirus)

498 Views
Last Modified: 2016-03-09
hi i got the below script from this link, i need to know how i can install sophos AV on a machine without admin rights? basically can someone edit this script for a logon user that i can use to install with admin rights please?
 

https://www.sophos.com/en-us/support/knowledgebase/13090.aspx


@ECHO OFF
 REM --- Check for an existing installation of Sophos AutoUpdate on 32-bit (the 'Sophos AutoUpdate Service' process)
 IF EXIST "C:\Program Files\Sophos\AutoUpdate\ALsvc.exe" goto _End
 REM --- Check for an existing installation of Sophos AutoUpdate on 64-bit (the 'Sophos AutoUpdate Service' process)
 IF EXIST "C:\Program Files (x86)\Sophos\AutoUpdate\ALSVC.exe" goto _End
 REM --- Check for an existing installation of Sophos Anti-Virus on 2003/XP (the SAV adapter config file)
 IF EXIST "C:\Documents and Settings\All Users\Application Data\Sophos\Remote Management System\3\Agent\AdapterStorage\SAV\SAVAdapterConfig" goto _End
 REM --- Check for an existing installation of Sophos Anti-Virus on Vista+ (the SAV adapter config file)
 IF EXIST "C:\ProgramData\Sophos\Remote Management System\3\Agent\AdapterStorage\SAV\SAVAdapterConfig" goto _End
 REM --- Deploy to Windows 2000/XP/2003/Vista/Windows7/2008/2008-R2
 \\SERVER\SophosUpdate\CIDs\Sxxx\SAVSCFXP\Setup.exe -updp "\\SERVER\SophosUpdate\CIDs\Sxxx\SAVSCFXP" -user USER -pwd PWD -mng yes
 REM --- End of the script
 :_End


Thanks
Comment
Watch Question
Tech Lead (Windows), Endpoint Device Management Services
CERTIFIED EXPERT
Commented:
This problem has been solved!
Unlock 1 Answer and 7 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE