# Power Option and Management Settings

Be aware that if your computer enters power-saving sleep mode for five minutes or longer, your vision application has a high probability of throwing a SecurityViolationException when it resumes. To prevent security violations related to the power management options for your computer and your USB hub in particular, Cognex recommends you access the Power Options settings in your Windows Control Panel and ensure the following:

- Turn off the Allow hybrid sleep setting and disable the USB selective suspend setting option:

- Under Generic USB Hub properties, disable the Allow the computer to turn off this device to save power option: