# Cognex Security Dongle Configuration

Certain computer power settings and Windows power plan options can affect the operation of the Cognex Security Dongle, resulting in issues while using VisionPro Deep Learning. To avoid these potential issues, configure the power settings of Windows and your PC as described in the following sub-topics.

## Disable Turning Off the USB Hub

Perform the following steps to prevent Windows from turning off the USB hub that the Cognex Security Dongle is plugged into.

1. Open the Windows Device Manager.

2. Expand the Universal Serial Bus controllers node (A), and right-click on the USB hub you are using. Click the Properties option (B).

3. Click the Power Management tab of the dialog that opens, and uncheck the Allow the computer to turn off this device to save power option. Then, click OK to apply the change.

Tip: If your computer has multiple USB hubs listed in the Universal Serial Bus controllers node of the Device Manager, perform the above steps for all of them.

## Disable Selective Suspension of USB Devices

Disable the selective suspension of USB devices in Windows to prevent the Cognex Security Dongle being suspended by the OS by performing the following steps:

1. Open the Edit Power Plan Settings window through Control Panel > Hardware and Sound > Power Options > Edit Plan Settings. Alternatively, open the Windows Search window with the button, and type Edit power plan into the dialog to get a shortcut to the window.

2. Click the Change advanced power settings link.

3. The Power Options dialog appears. Scroll to the USB settings node.

4. Expand the USB settings node, and then expand the USB selective suspend setting node as well.

5. Set the Setting to Disabled. Click the Apply button and then the OK button to apply the change.

Tip:

- In case you are regularly using multiple Windows power plans, perform the above steps for all configured plans.

- When using a notebook or a laptop, the USB selective suspend setting has separate On battery and Plugged in settings. Set both to Disabled.

## Disable Turning Off the Network Adapter

If you are using a Cognex 8724e GigE Vision Frame Grabber, perform the following steps to prevent Windows from turning off the network adapters of the PC, and thereby ensure uninterrupted communication with the Cognex Security Dongle installed on the card.

1. Open the Windows Device Manager.

2. Expand the Network adapters node (A), and right-click on the network adapter you are using. Click the Properties option (B).

3. Click the Power Management tab of the dialog that opens, and uncheck the Allow the computer to turn off this device to save power option. Then, click OK to apply the change.