Files
windows-scripts/AutomaticallyInstallDefenderUpdates/InstallAutomaticallyInstallDefenderUpdatesScripts.bat
2023-12-05 19:39:38 -06:00

7 lines
283 B
Batchfile
Executable File

pushd %~dp0
if not exist "C:\Scripts" mkdir "C:\Scripts"
copy /y AutomaticallyInstallDefenderUpdates.bat "C:\Scripts"
schtasks /ru "SYSTEM" /create /sc hourly /mo 1 /st 23:00 /tn "Install Windows Defender Updates" /tr C:\Scripts\AutomaticallyInstallDefenderUpdates.bat /f
popd
pause