Windows Defender automatically performs background scans during your PC’s idle moments, but doesn’t include an easy way to schedule a full scan. There is a way to do it, though.
Windows Defender在PC空闲时自动执行后台扫描,但是没有包括安排完整扫描的简便方法。 不过,有一种方法可以做到。
Starting with Windows 8, Windows Defender came as a built-in antivirus app, replacing the standalone Microsoft Security Essentials that came before. Security Essentials provided an easy way to schedule a scan through the app’s interface, but that ability went away in Windows Defender. Instead, Windows Defender performs partial scans during times when your PC is idle. If you keep your PC turned off when you’re not using it—or you put it to sleep and have it set to not wake up for regular maintenance—you can still schedule a scan using the Windows Task Scheduler. And you can make that scheduled scan a one-off or regular thing.
从Windows 8开始, Windows Defender作为内置的防病毒应用程序出现,取代了以前的独立Microsoft Security Essentials。 Security Essentials提供了一种通过应用程序界面安排扫描计划的简便方法,但是Windows Defender中的该功能消失了。 而是,Windows Defender在PC空闲时执行部分扫描。 如果您在不使用PC时将其关闭,或者将其置于睡眠状态并设置为不进行定期维护而唤醒,则仍可以使用Windows Task Scheduler计划扫描。 您可以使计划扫描成为一次性或常规的扫描。
In Windows 10, hit Start, type “task scheduler,” and then click the result or hit Enter. In Windows 8, you’ll need to type “schedule tasks” instead.
在Windows 10中,单击“开始”,键入“任务计划程序”,然后单击结果或单击Enter。 在Windows 8中,您需要输入“计划任务”。
In the left hand navigation pane of the Task Scheduler window, drill down to the following location:
在“任务计划程序”窗口的左侧导航窗格中,向下钻取到以下位置:
Task Scheduler (Local) > Task Scheduler Library > Microsoft > Windows > Windows Defender
In the middle pane, in the list of tasks, double-click the “Windows Defender Scheduled Scan” task to open its properties window.
在中间窗格的任务列表中,双击“ Windows Defender预定扫描”任务以打开其属性窗口。
In the properties window, switch to the “Triggers” tab. Notice that there are no triggers by default, since Windows handles background scanning as part of its maintenance routines. Create a new trigger by clicking the “New” button.
在属性窗口中,切换到“触发器”选项卡。 请注意,默认情况下没有触发器,因为Windows将后台扫描作为其维护例程的一部分进行处理。 单击“新建”按钮创建一个新触发器。
In the “New Trigger” window make sure “On a schedule” is selected on the “Begin the task” drop-down menu. You can set the scan to run one time or to recur daily, weekly, or monthly. When you’ve set up the schedule you like, make sure the “Enabled” option at the bottom is checked and then click “OK.”
在“新触发器”窗口中,确保在“开始任务”下拉菜单中选择了“按计划”。 您可以将扫描设置为一次运行,或者每天,每周或每月重复一次。 设置好所需的计划后,请确保已选中底部的“启用”选项,然后单击“确定”。
There are also a couple of other useful options on the “Conditions” tab. If you’re on a laptop, you might want select the “Start the task only if the computer is on AC power” and “Stop if the computer switches to battery power” options to prevent the task from running your battery down unexpectedly. Also, select the “Wake the computer to run this task” if you generally put your PC to sleep when not using it. With this option enabled, Windows can wake the PC, run the scan, and then put the PC back to sleep. When you’re done setting the options you want, click OK.
“条件”选项卡上还有两个其他有用的选项。 如果您使用的是笔记本电脑,则可能需要选择“仅在计算机使用交流电源时才启动任务”和“在计算机切换至电池电源时停止”选项,以防止任务意外耗尽电池电量。 另外,如果您通常在不使用PC时使其进入睡眠状态,请选择“唤醒计算机以运行此任务”。 启用此选项后,Windows可以唤醒PC,运行扫描,然后使PC进入睡眠状态。 完成所需选项的设置后,单击“确定”。
You can now exit Task Scheduler and rely on Windows Defender to run its scans according to the schedule you set.
现在,您可以退出Task Scheduler,并依靠Windows Defender根据您设置的时间表运行其扫描。
翻译自: https://www.howtogeek.com/192874/how-to-setup-windows-8-defender-to-automatically-scan-on-a-schedule/