USB Disable Enable

This stress test enables and disables a device multiple times. The test ensures that a device is attached and configured 100 milliseconds after each enable. The attached and configured device state is the equivalent of finding the device in Device Manager.

Test details

Associated requirements


See the device hardware requirements.


Windows 7 (x64) Windows 7 (x86) Windows RT (ARM-based) Windows 8 (x64) Windows 8 (x86) Windows Server 2012 (x64) Windows Server 2008 R2 (x64) Windows RT 8.1 Windows 8.1 x64 Windows 8.1 x86 Windows Server 2012 R2

Expected run time

~2 minutes






Running the test

Before you run the test, complete the test setup as described in the test requirements: USB Device.Connectivity Testing Prerequisites.


For troubleshooting information, see Troubleshooting Device.Connectivity Testing.

More information

This test ensures that a device is attached and configured. The test repeats the following steps 20 times:

  1. Disables the device.

  2. Enables the device.

  3. Waits 100 milliseconds.

  4. Verifies that the device is attached and configured by using the device instance path to search for it.

The test fails if the device is not found.



Send comments about this topic to Microsoft