Home/Office PC policy

Admin guide

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.

Editorial TeamNovember 20267 min readLast verified: November 2026

Quick answer

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 toWindows Pro, Enterprise, Education
NeedsDomain admin or Intune admin
DifficultyModerate
Time neededOne to two weeks with a pilot
CostFree for built-in controls
Last verifiedNovember 2026
Six office monitors with shield icons connected to a policy server panelIllustration of a policy applied to a row of office PCs. one policy, every PC

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.

Machine-wide and per-user registry hives compared for autorun settingsHKLM applies to all users; HKCU to one account. HKEY_LOCAL_MACHINEevery user on this PCneeds an administratoruse for shared PCs HKEY_CURRENT_USERone signed-in accountno admin prompt neededuse for a personal PC
Prompt, process and port controls scoped by department.
Control per layer with where to configure it
LayerControlWhere to set itEffect
PromptTurn off AutoPlay, Set the default behavior for AutoRunGroup Policy or IntuneNo automatic action on insert
ProcessBlock untrusted and unsigned processes that run from USBDefender attack surface reductionUnsigned programs cannot launch from drives
PortRemovable Storage Access: deny all accessGroup Policy or IntuneStorage 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.

PowerShell (administrator)
Add-MpPreference -AttackSurfaceReductionRules_Ids b2b3f03d-6a65-4f7b-a9c7-1c7ef74a9ba4 -AttackSurfaceReductionRules_Actions AuditMode
Get-MpPreference | Select-Object AttackSurfaceReductionRules_Ids, AttackSurfaceReductionRules_Actions

Switch 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.

See USB Block on NewSoftwares.net

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.

Back to the main guide to disabling autorun for USB drives