Skip to content

USB Controls

⚠ Note: SenseOn does not support the enforcement of a USB device policy in the SenseOn platform. This does not affect the ability of SenseOn to detect malware or suspicious activity from USB devices. You can use Active Directory to restrict USB removable media. This task is simple, and this guide helps you to configure it.

💡 Do you use Device Installation Restrictions? This guide uses the Removable Storage Access settings. Some Device Installation Restrictions policies also block the SenseOn driver, for example a policy that blocks all devices that are not on an allow list. If your policy blocks the driver, allow the driver before you deploy the Universal Sensor. If you do not, the installation fails with error 1603 (0x643). Refer to Windows Installer Error 1603 (0x643) and Device Installation Restrictions.

Configuring USB Controls Using Active Directory (AD) Group Policy Objects (GPO)

This guide gives step-by-step instructions to configure USB controls with Group Policy in Active Directory.

Prerequisites

Before you start, make sure that you have:

  • Administrative privileges on the domain controller.
  • Access to the Group Policy Management Console (GPMC).

Step 1: Open Group Policy Management

  1. Log in to your domain controller.
  2. Open the Run dialog (Win + R).
  3. Type gpmc.msc.
  4. Press Enter. The Group Policy Management window opens.

Run

Step 2: Create a New Group Policy Object (GPO)

  1. In the Group Policy Management window, go to the organisational unit (OU) where you want to apply the policy.
  2. Right-click the Organisational Unit (OU) and select Create a GPO in this domain, and Link it here….
  3. Name the new Group Policy Object (GPO), for example, USB Control Policy.
  4. Click OK.

Edit GPO

Step 3: Edit the GPO

  1. Right-click the new GPO and select Edit.
  2. The Group Policy Management Editor opens.

Create GPO

Step 4: Configure USB Device Restrictions

Option 1: Disable All Removable Storage Devices

To prevent all use of USB storage devices:

  1. Go to Computer Configuration > Policies > Administrative Templates > System > Removable Storage Access.
  2. In the right pane, double-click All Removable Storage classes: Deny all access.
  3. Set the policy to Enabled.
  4. Click OK.

Create GPO

Option 2: Disable specific read/write/execute functions for USB devices.

To disable specific read/write/execute functions for USB devices:

  1. Go to Computer Configuration > Policies > Administrative Templates > System > Removable Storage Access.
  2. In the right pane, double-click the Removable Disks: Deny (read/write/execute) policy for the function that you want to restrict.
  3. Set the policy to Enabled.
  4. Click OK.

Create GPO

Step 5: Apply the GPO

  1. Close the Group Policy Management Editor.
  2. Make sure that the new GPO is linked to the correct OU.
  3. To apply the policy immediately, you can run this command on the target machines:
    gpupdate /force
    

Step 6: Verify the Policy

  1. Log in to a machine in the OU where you applied the policy.
  2. Use the gpresult /r command to make sure that the policy applies on the target machine.
  3. Test the USB devices to make sure that the policy works as expected.

Check GP

Troubleshooting

  • Make sure that the GPO is correctly linked to the OU that contains the target computers.
  • Look for policies that conflict with the USB control settings and can override them.