{"id":3987,"date":"2026-06-08T18:06:19","date_gmt":"2026-06-08T15:06:19","guid":{"rendered":"https:\/\/support.withsecure.com\/en\/?post_type=support_article&#038;p=3987"},"modified":"2026-06-08T18:06:19","modified_gmt":"2026-06-08T15:06:19","slug":"how-to-configure-device-control-where-all-of-usb-devices-are-blocked-unless-whitelisted-by-its-hardware-id","status":"publish","type":"support_article","link":"https:\/\/support.withsecure.com\/fi\/support-articles\/how-to-configure-device-control-where-all-of-usb-devices-are-blocked-unless-whitelisted-by-its-hardware-id\/","title":{"rendered":"How to configure Device control where all of USB devices are blocked unless whitelisted by its hardware ID."},"content":{"rendered":"<h3>Issue:<\/h3>\n<p>How to configure Device control where all the USB devices are blocked unless whitelisted by its hardware ID or InstanceID?\u00a0<\/p>\n<h3>Resolution:<\/h3>\n<p>You can make rules of various USB Classes where you can set the access level to Block and than make a whitelist rule to allow the specific USB devices by the Instance ID.\u00a0<\/p>\n<p>To know various Class please check this page,\u00a0<\/p>\n<p><a href=\"https:\/\/en.wikipedia.org\/wiki\/USB\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/en.wikipedia.org\/wiki\/USB<\/a>\u00a0(Scroll down and find Device Classes)\u00a0<\/p>\n<p>Once you have blocked it make another rule to whitelist the specific devices with the instance ID and Hardware ID.\u00a0<\/p>\n<p>\u00a0<\/p>\n<p><strong><u>For Elements Endpoint Protection for Computers and Servers<\/u><\/strong> you can set restrictions on how users can access USB devices (for example, web cams and hard disks) and whether removable mass storage devices are allowed to execute installers.<\/p>\n<p>To set up Elements Endpoint Protection Device control to disallow all USB mass storage devices:<\/p>\n<ol>\n<li>Log in to the Elements Security Center portal: https:\/\/elements.withsecure.com<\/li>\n<li>Navigate to the <strong>Security configurations &gt; Profiles <\/strong>page<\/li>\n<li>Select the profile that is in use on the devices<\/li>\n<li>Go to the <strong>Device control<\/strong> settings page<\/li>\n<li>Turn Device control on.\n<ul>\n<li><strong>Note<\/strong>: If Device control is on, all devices that are connected to the computer are visible on the device page under <strong>Connected devices <\/strong>on the <strong>Environment &gt; Devices <\/strong>page<\/li>\n<\/ul>\n<\/li>\n<li>Scroll down to the <strong>Device access rules <\/strong>table and on the <strong>USB Mass Storage Devices <\/strong>row, click on the <strong>Access to device <\/strong>column and set it as <strong>Block\u00a0<\/strong><\/li>\n<li>Scroll up to the <strong>Device filtering rules <\/strong>table and click <strong>Add rule <\/strong>and add the <strong>Instance ID <\/strong>of the USB storage device you want to allow.\u00a0\n<ol>\n<li>You can run with Powershell <strong>Get-PnpDevice -class USB | Select name, InstanceID, HardwareID <\/strong>command<strong> <\/strong>to get the necessary IDs what you can allow.<\/li>\n<\/ol>\n<\/li>\n<li>Click <strong>Save profile<\/strong><\/li>\n<\/ol>\n<p>If you only want to block write or executable access for USB mass storage devices, in the <strong>Removable mass storage devices <\/strong>section in the profile settings you can turn off one of the following options:<\/p>\n<ul>\n<li><strong>Allow write access<\/strong> &#8211; when this option is off, users cannot copy files to a removable mass storage device. Removable mass storage devices can only read data.<\/li>\n<li><strong>Allow executables to run<\/strong> &#8211; when this option is off, executing files from removable mass storage devices is prevented.<\/li>\n<\/ul>\n<p><strong>Note<\/strong>: For USB devices, Device ID can also be viewed with the Windows Device Manager:<\/p>\n<p style=\"margin-left: 40px;\">Device Manager &gt; Disk Drives &gt; USB partition<\/p>\n<p>The reason for checking USB partition because is when you insert USB device into a PC it is not necessarily detected as as a single device in Windows, because of the possibility of partitions. So, if some flash drive has several partitions on it, it will be detected as both &quot;USB Mass Storage Device&quot;, with every partition presented as a separate &#39;device&#39; under Disk Drive. This is reflected in Policy Manager alerts and Elements Security Events.\u00a0<\/p>\n<p>\u00a0<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>For Business Suite Client Security and Server Security:<\/strong><\/span><\/p>\n<p>\u00a0<\/p>\n<p>To block USB mass storage devices:<\/p>\n<ol>\n<li>Log in to the Policy Manager Console<\/li>\n<li>Select a host or policy domain from the domain tree<\/li>\n<li>Go to the <strong>Settings <\/strong>tab<\/li>\n<li>Go to the <strong>Windows &gt; Device control <\/strong>settings page<\/li>\n<li>Enable Device Control by checking the box for <strong>Device control enabled<\/strong><\/li>\n<li>Scroll down to the <strong>Device access rules <\/strong>table\u00a0<\/li>\n<li>In the <strong>USB Mass Storage Devices <\/strong>row, change the <strong>Access level <\/strong>column to be <strong>Blocked<\/strong><\/li>\n<\/ol>\n<p>To allow a specific USB device:<\/p>\n<ol>\n<li>Click <strong>Add <\/strong>on the right side of the <strong>Device access rules <\/strong>table<\/li>\n<li>Set the rule as <strong>Active<\/strong><\/li>\n<li>Enter a Display name for the rule<\/li>\n<li>Enter the InstanceID of the USB device to the\u00a0<strong>Hardware ID <\/strong>column\n<ol>\n<li>You can run with Powershell <strong>Get-PnpDevice -class USB | Select name, InstanceID, HardwareID <\/strong>to get the necessary IDs.<\/li>\n<\/ol>\n<\/li>\n<li>Set the <strong>Access<\/strong>\u00a0<strong>level <\/strong>for the rule to be <strong>Full access<\/strong><\/li>\n<li>Distribute the policy (Ctrl+D)<\/li>\n<\/ol>\n<p>Devices can also report device IDs to the Policy Manager:<\/p>\n<ol>\n<li>Log in to the Policy Manager Console<\/li>\n<li>Select a host or policy domain from the domain tree<\/li>\n<li>Go to the <strong>Settings <\/strong>tab<\/li>\n<li>Go to the <strong>Windows &gt; Device control <\/strong>settings page<\/li>\n<li>Enable <strong>Report installed devices\u00a0<\/strong><\/li>\n<li>Distribute the policy (Ctrl+D)<\/li>\n<\/ol>\n<p>Now when you select the specific host from the policy domain tree, you can click on the <strong>View devices <\/strong>link in the <strong>Windows &gt; Device control <\/strong>settings page to view a list of devices.\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0How to configure Device control where all the USB devices are blocked unless white-listed by its hardware ID.\u00a0<\/p>\n","protected":false},"template":"","support_article_product":[99],"class_list":["post-3987","support_article","type-support_article","status-publish","hentry"],"acf":{"source_foreign_id":"000012859","source_version":2,"source_system":"salesforce","source_date_updated":"2026-06-08 15:06:19","import_hash":"8fe45b0684147fbdabb7a93374af6baeaf8cc190","vanilla_article_id":32710,"vanilla_url":"https:\/\/community.withsecure.com\/en\/kb\/articles\/32710-how-to-configure-device-control-where-all-of-usb-devices-are-blocked-unless-whitelisted-by-its-hardware-id","vanilla_kb_id":30,"vanilla_category_id":102,"machine_translated":false,"reactions_helpful_yes":0,"reactions_helpful_no":0},"_links":{"self":[{"href":"https:\/\/support.withsecure.com\/fi\/wp-json\/wp\/v2\/support_article\/3987","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/support.withsecure.com\/fi\/wp-json\/wp\/v2\/support_article"}],"about":[{"href":"https:\/\/support.withsecure.com\/fi\/wp-json\/wp\/v2\/types\/support_article"}],"wp:attachment":[{"href":"https:\/\/support.withsecure.com\/fi\/wp-json\/wp\/v2\/media?parent=3987"}],"wp:term":[{"taxonomy":"support_article_product","embeddable":true,"href":"https:\/\/support.withsecure.com\/fi\/wp-json\/wp\/v2\/support_article_product?post=3987"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}