Manually clicking "Scan now" on twelve office computers every Monday means nine of them never get scanned at all. Set up a scheduled task that fires Microsoft Defender at startup instead, and every machine on the network checks itself before an employee opens a single email.
- Task Scheduler can trigger a Microsoft Defender quick scan at every Windows startup with zero employee action required.
- Schedule automatic virus scans on business computers using the built-in Task Scheduler app — no extra software needed for single locations.
- Group Policy pushes the same startup scan to every PC on a domain at once, which is the workflow to use past 5-10 machines.
- Quick scans check the spots malware actually hides and finish in minutes; full scans should stay on a weekly overnight schedule instead of startup.
- A scan that fires the instant Windows loads can add 30-60 seconds to boot time on older hardware — set it to trigger a few minutes after logon instead.
Why this matters
Antivirus software that only scans when someone remembers to click a button isn't protection, it's a suggestion. Malware that lands via a phishing email on a Friday afternoon sits undetected until whoever manually runs a scan gets around to it — sometimes days later.
A startup-triggered scan closes that gap automatically. Every reboot becomes a checkpoint, which matters most on shared office machines that get restarted daily and on remote laptops that reconnect to different networks. In 2026, most ransomware incidents TechConnect sees in North Carolina offices trace back to a machine that hadn't been scanned in weeks, not a failure of the antivirus product itself.
This isn't a replacement for real-time protection or a paid antivirus platform built for small businesses — it's the layer that catches what real-time protection missed the first time.
Before you start
- Administrator access on each computer, or domain admin rights if you're rolling this out via Group Policy across an office.
- Microsoft Defender enabled (or your third-party antivirus's scheduled-scan feature, if you're not running Defender as the primary engine).
- The gotcha: a task set to trigger "At log on" fires the instant a user signs in, before background services finish loading. On a five-year-old office desktop that can stretch boot time by 30-60 seconds and generate help desk complaints. Set a 2-5 minute delay on the trigger before you ever deploy this, not after employees start asking why their computer feels slower.
Set up your Task Scheduler trigger
- Press Windows key + S, type Task Scheduler, and open it.
- In the right-hand Actions pane, click Create Task (not "Create Basic Task" — the basic wizard hides the delay setting you need).
- Under the General tab, name it something identifiable like "Startup Defender Scan" and select Run whether user is logged on or not.
- Check Run with highest privileges.
- Switch to the Triggers tab and click New.
- Set Begin the task to At startup.
- Check Delay task for and set it to 5 minutes — this is the fix for the boot-slowdown gotcha above.
- Click OK.
Expected result: the Triggers tab now shows "At startup" with a 5-minute delay listed underneath it.
Configure the scan action in Microsoft Defender
- Still in your new task, go to the Actions tab and click New.
- Set Action to Start a program.
- In Program/script, enter:
"%ProgramFiles%\Windows Defender\MpCmdRun.exe" - In Add arguments, enter:
-Scan -ScanType 1 - Click OK, then OK again to save the task.
Expected result: the task now appears in the Task Scheduler Library with Status: Ready and Triggers: At startup.
Set scan type and schedule priority
ScanType 1 runs a quick scan, which checks the memory, startup items, and registry locations where malware actually hides. That's the right choice for a startup trigger — it typically finishes in a matter of minutes and won't monopolize the CPU while someone's trying to open Outlook.
Reserve full scans (ScanType 2) for an overnight weekly trigger instead, when no one's waiting on the machine. A full scan checks every file on every drive and can run for an hour or more depending on drive size, which is exactly why it doesn't belong on a startup trigger.
| Scan type | Trigger | Typical duration | Best for |
|---|---|---|---|
| Quick scan (ScanType 1) | At startup, delayed 5 min | Minutes | Daily catch-all on every reboot |
| Full scan (ScanType 2) | Weekly, overnight | An hour or more | Deep check when the PC is idle |
Verdict: run the quick scan at every startup and a full scan once a week overnight — running only one or the other leaves a gap.
Schedule scans across multiple computers with Group Policy
Setting this up machine-by-machine works for a home office or a two-person shop. Past 5-10 computers on a domain, do it once through Group Policy instead of repeating these steps on every machine.
- Open Group Policy Management on the domain controller.
- Create or edit a GPO scoped to the OU containing your office computers.
- Navigate to Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Scan.
- Enable Specify the scan type to use for a scheduled scan and set it to Quick scan.
- Enable Specify the time for a daily quick scan and set a time shortly after your typical morning login window, not the exact login time.
- Link the GPO to the OU and run
gpupdate /forceon a test machine to confirm it applies.
Expected result: the scheduled scan policy shows as Enabled under rsop.msc on the test machine within one login cycle.
Troubleshooting
- Task shows "Ready" but never runs. Check that Run whether user is logged on or not is selected — tasks set to run only when logged on skip machines that reboot overnight with no one signed in.
- Scan slows the computer down noticeably. Bump the delay from 5 to 10 minutes, or move the trigger to "idle" instead of "at startup" if the machine sits unused for stretches during the day.
- Group Policy scan setting isn't applying. Confirm the GPO is linked to the correct OU and that the computer object, not just the user object, sits inside it — Defender scan policies are computer-side settings.
- MpCmdRun.exe path errors out. Confirm Microsoft Defender is the active antivirus engine — if a third-party product like the ones covered in endpoint protection comparisons for small businesses has taken over as primary, Defender's command-line scanner won't run and you'll need that product's equivalent scheduler instead.
- Scan runs but nothing shows in logs. Check Event Viewer > Applications and Services Logs > Microsoft > Windows > Windows Defender > Operational for event ID 1001, which confirms a completed scan.
Customize your workflow
A startup quick scan handles the daily baseline. Businesses running point-of-sale systems, shared file servers, or remote employee laptops usually layer in additional protection rather than relying on scheduled scans alone — dedicated anti-ransomware tools built for small business environments catch behavior-based threats that a signature scan misses between scheduled runs.
If you manage more than a handful of machines, pair this scheduled scan with centralized reporting so you're not checking Event Viewer on each PC individually — that's the difference between a workflow that scales to 5 computers and one that scales to 50.
Get scheduled scans set up across your office
TechConnect configures startup scans and Group Policy rollouts for NC businesses.
FAQ
How do I schedule automatic virus scans on business computers?
Create a Task Scheduler task set to trigger at startup with a 5-minute delay, then point the action at MpCmdRun.exe with the -Scan -ScanType 1 argument for a quick scan. For multiple computers on a domain, push the same setting through Group Policy instead of configuring each machine individually.
Does a startup virus scan slow down boot time?
Yes, if it fires immediately at login before background services finish loading. Setting a 5-minute delay on the Task Scheduler trigger avoids the slowdown while still scanning before the workday starts.
Is a quick scan enough, or do I need a full scan too?
Run both. A quick scan at every startup checks the locations malware typically hides in minutes, while a weekly overnight full scan checks every file on every drive for anything the quick scan missed.
Can I schedule scans without Task Scheduler?
Most third-party antivirus products, including several covered in comparisons of small business antivirus software, include a built-in scheduler in their settings menu. Task Scheduler is the method for Microsoft Defender specifically.
How do I roll this out to every computer in my office at once?
Use Group Policy scoped to the organizational unit containing your office machines, enabling the scheduled scan policy under Administrative Templates for Microsoft Defender Antivirus. This applies the same schedule to every domain-joined computer without touching each one manually.
What happens if a computer is off during the scheduled scan time?
An "At startup" trigger runs the next time the machine boots, so it never misses a scan entirely — it just runs later than a fixed daily time would. A Group Policy daily scan set for a fixed time will simply skip that day if the machine stays off.
Do I still need managed IT support if scans are automated?
Automated scans catch what they're designed to catch, but someone still needs to review the results, update policies, and respond when a scan flags something. Managed IT support covers that ongoing monitoring layer.
One last thing
Most businesses that set up a startup scan never revisit the schedule again — and that's usually the mistake. A quick scan configured in 2026 with default settings will still run in 2027, but the threats it's checking against change constantly, which is why the scan definitions (not just the schedule) need to stay on automatic update.



