diff --git a/TCSE-Computer-Deploy.bat b/TCSE-Computer-Deploy.bat index 060a136..b59f633 100644 --- a/TCSE-Computer-Deploy.bat +++ b/TCSE-Computer-Deploy.bat @@ -86,6 +86,11 @@ echo Copying Login Scripts to All Users... powershell Copy-Item 'C:\Scripts\TCSE-Login.vbs' 'C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup' echo Successfully Copied Login Scripts... +:: Add Scheduled Tasks +echo Adding Scheduled Tasks to the System... +powershell -ExecutionPolicy Bypass -File "C:\Scripts\Windows\Add-System-Sched-Task.ps1" +echo Successfully Added System Scheduled Task at Login for All Users... + :: Remove Leftovers powershell Remove-Item -Path 'C:\Scripts\Software\Office2016' -Recurse -Force powershell Remove-Item -Path 'C:\Scripts\Software\RemoteAgent64-TCSE.exe'