avhimkov
3/18/2017 - 9:47 AM

Copy_Task_MViOD_LN.bat

\\11.0.0.31
\\11.0.0.32
\\11.0.0.33
\\11.0.0.34
@echo off
set listfile=hostLN.txt
for /f "tokens=1" %%i in (%listfile%) DO (

echo IE Settings  %%i
SCHTASKS /Create /S %%i /SC ONLOGON /TN IE_def /TR "C:\install\IE_def.bat" /RU System /RL HIGHEST

echo IFCPlugin %%i
SCHTASKS /Create /S %%i  /SC ONLOGON /TN IFCPlugin /TR "C:\install\IFCPlugin-x64.msi /quiet" /RU System /RL HIGHEST

echo CProPlugin %%i
SCHTASKS /Create /S %%i /SC ONLOGON /TN CProPlugin /TR "C:\install\cadesplugin.exe -silent" /RU System /RP /RL HIGHEST

echo Sokok %%i 
SCHTASKS /Create /S %%i /SC ONLOGON /TN sokok /TR "C:\install\Sokok.bat" /RU System /RL HIGHEST
)
pause
@echo off
set listfile=hostSR.txt
for /f "tokens=1" %%i in (%listfile%) DO (
echo PVD %%i
copy /y "C:\install\PVD.exe" "%%i \System$\install\"
copy /y "C:\install\PVD_S.bat" "%%i\System$\install"
copy /y "C:\install\hide_PVD.vbs" "%%i\System$\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\"

echo IE Settings  %%i
copy /y "C:\install\IE11-Setup-Branding.msi" "%%i \System$\install\"
copy /y "C:\install\IE11-Setup-Branding.exe" "%%i \System$\install\"
SCHTASKS /Create /S %%i /SC ONLOGON /TN IE_def /TR "C:\install\IE_def.bat" /RU System /RL HIGHEST

echo IFCPlugin %%i
copy /y "C:\install\IFCPlugin-x64.msi" "%%i\System$\install\"
SCHTASKS /Create /S %%i  /SC ONLOGON /TN IFCPlugin /TR "C:\install\IFCPlugin-x64.msi /quiet" /RU System /RL HIGHEST

echo CProPlugin %%i
copy /y "C:\install\cadesplugin.exe" "%%i\System$\install\"
SCHTASKS /Create /S %%i /SC ONLOGON /TN CProPlugin /TR "C:\install\cadesplugin.exe -silent" /RU System /RP /RL HIGHEST

echo SOKOK %%i
copy /y "C:\install\SOKOK.msi" "%%i\System$\install\"
copy /y "C:\install\Sokok.bat" "%%i\System$\install\"
SCHTASKS /Create /S %%i /SC ONLOGON /TN sokok /TR "C:\install\Sokok.bat" /RU System /RL HIGHEST
)
pause
@echo off
set listfile=hostLN.txt
for /f "tokens=1" %%i in (%listfile%) DO (
echo PVD %%i
copy /y "C:\install\PVD.exe" "%%i \System$\install\"
copy /y "C:\install\PVD_S.bat" "%%i\System$\install"
copy /y "C:\install\hide_PVD.vbs" "%%i\System$\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\"

echo IE Settings  %%i
copy /y "C:\install\IE11-Setup-Branding.msi" "%%i \System$\install\"
copy /y "C:\install\IE11-Setup-Branding.exe" "%%i \System$\install\"
SCHTASKS /Create /S %%i /SC ONLOGON /TN IE_Settings /TR "C:\install\IE11-Setup-Branding.msi" /RU System /RL HIGHEST

echo IFCPlugin %%i
copy /y "C:\install\IFCPlugin-x64.msi" "%%i\System$\install\"
SCHTASKS /Create /S %%i  /SC ONLOGON /TN IFCPlugin /TR "C:\install\IFCPlugin-x64.msi /quiet" /RU System /RL HIGHEST

echo CProPlugin %%i
copy /y "C:\install\cadesplugin.exe" "%%i\System$\install\"
SCHTASKS /Create /S %%i /SC ONLOGON /TN CProPlugin /TR "C:\install\cadesplugin.exe -silent" /RU System /RP /RL HIGHEST
)
pause
@echo off
set listfile=hostSR.txt
for /f "tokens=1" %%i in (%listfile%) DO (
echo PVD %%i
copy /y "C:\install\PVD.exe" "%%i \System$\install\"
copy /y "C:\install\PVD_S.bat" "%%i\System$\install"
copy /y "C:\install\hide_PVD.vbs" "%%i\System$\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\"

echo IE Settings %%i
copy /y "C:\install\IE11-Setup-Branding.msi" "%%i \System$\install\"
copy /y "C:\install\IE11-Setup-Branding.exe" "%%i \System$\install\"
SCHTASKS /Create /S %%i /SC ONLOGON /TN IE_def /TR "C:\install\IE11-Setup-Branding.msi" /RU System /RL HIGHEST

echo IFCPlugin %%i
copy /y "C:\install\IFCPlugin-x64.msi" "%%i\System$\install\"
SCHTASKS /Create /S %%i  /SC ONLOGON /TN IFCPlugin /TR "C:\install\IFCPlugin-x64.msi /quiet" /RU System /RL HIGHEST

echo CProPlugin %%i
copy /y "C:\install\cadesplugin.exe" "%%i\System$\install\"
SCHTASKS /Create /S %%i /SC ONLOGON /TN CProPlugin /TR "C:\install\cadesplugin.exe -silent" /RU System /RP /RL HIGHEST

)
pause
@echo off
set listfile=hostLN.txt
for /f "tokens=1" %%i in (%listfile%) DO (
echo PVD %%i
copy /y "C:\install\PVD.exe" "%%i \System$\install\"
copy /y "C:\install\PVD_S.bat" "%%i\System$\install"
copy /y "C:\install\hide_PVD.vbs" "%%i\System$\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\"

echo IE Settings %%i
copy /y "C:\install\IE11-Setup-Branding.msi" "%%i \System$\install\"
copy /y "C:\install\IE11-Setup-Branding.exe" "%%i \System$\install\"
SCHTASKS /Create /S %%i /SC ONLOGON /TN IE_def /TR "C:\install\IE_def.bat" /RU System /RL HIGHEST

echo IFCPlugin %%i
copy /y "C:\install\IFCPlugin-x64.msi" "%%i\System$\install\"
SCHTASKS /Create /S %%i  /SC ONLOGON /TN IFCPlugin /TR "C:\install\IFCPlugin-x64.msi /quiet" /RU System /RL HIGHEST

echo CProPlugin %%i
copy /y "C:\install\cadesplugin.exe" "%%i\System$\install\"
SCHTASKS /Create /S %%i /SC ONLOGON /TN CProPlugin /TR "C:\install\cadesplugin.exe -silent" /RU System /RP /RL HIGHEST

)
pause