[SOLVED] Agent update on a 2003/samba3 server
Published: March 29, 2018 - 3:37 PM
Good morning.
Just in case!
For those still using a 2003 server or a Samba 3 server (yes, it's possible)
), user accounts do not generally have the right to install software.
Following the update to version 1.5, I am using the cpau utility: http://www.joeware.net/freetools/tools/cpau/index.htm
Below is the script that tests the version on a text file and launches an encrypted "job" to prevent the display of credentials:
To create the job:
Just in case!
For those still using a 2003 server or a Samba 3 server (yes, it's possible)
Following the update to version 1.5, I am using the cpau utility: http://www.joeware.net/freetools/tools/cpau/index.htm
Below is the script that tests the version on a text file and launches an encrypted "job" to prevent the display of credentials:
Code: Select all
echo off
WMIC DATAFILE WHERE name="c:\\wapt\\wapt-get.exe" get Version /format:Textvaluelist > c:\versionwapt.txt
find "Version=1.5.1.18" c:\versionwapt.txt
if %errorlevel% equ 1 goto pasbon
goto end
:pasbon
echo off
"\\serveur\netlogon\cpau.exe" -dec -file "\\192.168.1.254\serveur\zwapt.job" -lwp
echo off
:endCode: Select all
- cpau -u domain\user -p pass -ex "\\serveur\netlogon\waptagent" \verysilent -enc -file "\\serveur\netlogon\zwapt.job"