The fear that stops most people from blocking USB is simple - if I block USB, my keyboard dies too.そうではありません。 Windows はすべてのデバイスをクラスに分類し、ブロック設定はストレージ クラスのみに適用されます。
USBポートは単なるソケットです。 What matters is what kind of device Windows decides is on the other end of the cable.ペンドライブはそれ自体をストレージとして認識します。キーボードは、それ自体を入力デバイスとして認識します。プリンターはプリンターです。このガイド ファミリのポリシーはデバイス クラスごとにアクセスを拒否するため、同じポート上の他のすべてのデバイスが動作し続けている間、ストレージ ドアをバタンと閉めることができます。 Understanding the classes also shows you the two traps: phones that are not disks, and one blunt setting that really would kill a keyboard.
When any USB device connects, it tells Windows its device class, and Windows applies rules by class. リムーバブル ストレージ アクセス ポリシー ファミリは、リムーバブル ディスク、CD および DVD ドライブ、フロッピー ドライブ、テープ ドライブ、WPD デバイス (メディア モードのポータブル メディア プレーヤーおよび携帯電話) を正確にカバーしています。 Nothing outside that list is affected by these policies - there is no setting inside this family that can block a keyboard even by accident.
ペン ドライブ、外付けハードディスク、メモリ カード リーダー、および Windows がマウントする文字付きのドライブはすべてリムーバブル ディスクであり、読み取り拒否と書き込み拒否の対象となります。 CD ドライブ、DVD ドライブ、およびテープ ドライブをオフィスでまだ使用している場合は、同じフォルダ内に独自の拒否設定があります。実際に心配するクラスを設定します。 there is no prize for blocking a floppy drive in 2026.
キーボードとマウスはヒューマン インターフェイス デバイス クラスに属します。プリンターはプリンター クラスです。ウェブカメラ、USB ヘッドフォン、バーコード スキャナー、署名パッドもそれぞれ独自のクラスに属します。 これらはいずれもストレージではないため、影響を受けません。 ブロックを適用した後は、とにかくテストしてください。これには 10 秒かかります。これは、スタッフがあなたの言うことを信じる前に要求する証拠です。
A modern phone connected by cable usually presents itself in file transfer (MTP) mode as a WPD device, not as a removable disk. That means the Removable Disks settings alone may leave phone transfers open. 2 つの組み込み修正が存在します。すべてのリムーバブル ストレージ クラス: すべてのアクセスを拒否 を有効にして、他のすべての WPD をスイープするか、同じリムーバブル ストレージ アクセス フォルダーで WPD デバイス: 読み取りアクセスを拒否 ポリシーと書き込みアクセスを拒否 ポリシーを設定します。 A phone locked to charging-only mode transfers nothing at all.
There is a second, blunter family - Device Installation Restrictions - which can stop a device from being installed at all. If you ever use it, aim it at the disk drive setup class only: {4d36e967-e325-11ce-bfc1-08002be10318}. USB コントローラ クラス {36fc9e60-c465-11cf-8056-444553540000} を決してブロックしないでください。このクラスはポート ハードウェアそのものであり、これをブロックするとキーボード、マウス、その他すべての USB がダウンしてしまう可能性があります。ほとんどすべての人にとって、コア ガイドのストレージ アクセス ポリシーは適切なツールです。 installation restrictions are for the approved-drive setup described in another page of this guide.
The video applies the built in block and shows exactly which devices are hit - watch it before you roll this out on office PCs.
▶️ Watch Full VideoWindows ポリシーは物理ポートではなくデバイス クラスごとに機能するため、組み込み設定で 1 つのソケットを選択することはできません。 Port-level control needs BIOS options or hardware port blockers, which also affect keyboards on those ports.
Yes, if it presents itself as a keyboard-style input device, which most do.ストレージ カードを取り付けるカード リーダーは異なります。カード スロットはリムーバブル ディスクであり、ブロックされるため、正確なリーダーをテストしてください。
いいえ、充電は電力のみを消費し、動作し続けます。 What the WPD policies stop is file transfer with the phone, not the charging itself.