Home/Office PC policy
USB Autorun Policy for Office PCs: A Rollout Plan
An office needs the autorun setting applied the same way on every PC, with a plan for exceptions and a way to prove it worked. This guide gives a rollout order, the policy choices at each layer, a Defender rule to run in audit mode first, and a short written policy you can adapt.
Roll out USB autorun control in four stages: record current values, pilot on two or three PCs, deploy through Group Policy or Intune, and confirm each PC with the same PowerShell check. Run the Defender USB rule in audit mode before enforcing it.
At a glance
| Applies to | Windows Pro, Enterprise, Education |
|---|---|
| Needs | Domain admin or Intune admin |
| Difficulty | Moderate |
| Time needed | One to two weeks with a pilot |
| Cost | Free for built-in controls |
| Last verified | November 2026 |
Choose the Controls for Each Layer
An office policy usually stacks three controls: autorun and AutoPlay off for the prompt, the Defender USB rule for execution, and the removable-storage policy for connection. Each layer is optional, and sensitive departments such as finance justify all three while a front desk may need only the first.
| Layer | Control | Where to set it | Effect |
|---|---|---|---|
| Prompt | Turn off AutoPlay, Set the default behavior for AutoRun | Group Policy or Intune | No automatic action on insert |
| Process | Block untrusted and unsigned processes that run from USB | Defender attack surface reduction | Unsigned programs cannot launch from drives |
| Port | Removable Storage Access: deny all access | Group Policy or Intune | Storage drives do not mount |
Run the Defender USB Rule in Audit Mode First
Audit mode records what the rule would block without blocking anything, which shows you the effect on real workflows. Review the events for a week, add exceptions for legitimate tools, then switch the rule to block. This avoids surprises on payroll day.
Add-MpPreference -AttackSurfaceReductionRules_Ids b2b3f03d-6a65-4f7b-a9c7-1c7ef74a9ba4 -AttackSurfaceReductionRules_Actions AuditMode
Get-MpPreference | Select-Object AttackSurfaceReductionRules_Ids, AttackSurfaceReductionRules_ActionsSwitch AuditMode to Enabled when the review is clean. The rule works only while Microsoft Defender Antivirus is the active scanner, so check that before relying on it.
Pilot, Deploy and Confirm
A pilot of two or three PCs per department catches problems at low cost. Apply the policy there, run the verification check, collect feedback for a few days, then deploy to the rest. The same check on every PC afterwards gives you evidence of coverage.
Rollout tracker
0 of 6 completed
Write a One-Page USB Policy
A written policy makes the technical setting enforceable and fair. It should state what is blocked, who approves exceptions, how lost drives are reported and when the rules are reviewed. One page that staff actually read beats a long policy nobody opens.
- Scope: company PCs and the drives connected to them
- Rule: storage drives are denied unless approved
- Exceptions: requested in writing, tied to a named drive and owner
- Incidents: lost or found drives reported the same day
- Review: the policy is read again every six months
Logging and Auditing Connections
Logs turn a policy into something you can review. Windows records device installation events, and blocking software can add its own access log. Decide who reads the logs, how often, and what happens when a pattern shows up, otherwise the log is storage and nothing more.
For PCs where drives from outsiders should never connect, a dedicated tool adds a password and its own log. USB Block is one option, and its product page lists the current features. It is not antivirus, so it complements the scanner and does not replace it.
Rollout Questions From Admins
Four questions come from admins planning this rollout: Intune, the Defender rule, staff who genuinely need drives, and how policy relates to antivirus. Each answer points back to the section above that covers the detail.
Can Intune manage the autorun settings?
Yes. Intune can deliver the same AutoPlay and removable-storage policies through its settings catalog or administrative templates. Pick the equivalents of Turn off AutoPlay and Set the default behavior for AutoRun, assign them to a pilot group first, and confirm the registry values on a test device.
What is the Defender USB rule?
It is an attack surface reduction rule named Block untrusted and unsigned processes that run from USB. It stops unsigned programs launching from a drive. It needs Microsoft Defender Antivirus as the active scanner, and an audit mode lets you see the impact before enforcing it.
How do we handle staff who need USB drives?
Create a written exception process. Approve a named drive by its device ID, record who owns it and set a review date for the approval. Avoid blanket exceptions for whole teams, because one unmanaged drive that moves between PCs can undo the protection you built for every machine in the office.
Do these policies replace antivirus?
No. Policies reduce how drives can interact with a PC, while antivirus detects known malware on whatever does get through. Keep both running, because an approved drive can still carry an infection, and a drive that is blocked never reaches the scanner at all, which is the point of the block.
Related Admin Guides
Each guide in this series owns one question and links to the others for the rest. Pick the next one that matches what you are trying to do, and return to the main guide whenever you need the full overview.