Prevent USB devices from being disconnected while Windows is idle. The USB port of a computer or laptop does not work, what should I do? Parameters to temporarily disable the usb port windows 7

In fact, this feature has been available since the days of Windows 7, and by and large the procedure has not changed since then. Let's look at it with an example current version Windows 10: As a rule, by default, the USB port suspend function is enabled for at least the power saving mode. Actually, in order to save power, the system suspends USB ports during idle times, so the appropriate settings can be found in the "Power Options" section of the system Control Panel.

About how to open the control panel in Windows 10 Creators Update, we already, it is most convenient to use the search bar on the taskbar, where you just need to type “Control Panel”, in which go to the “Power Options” section (if the category display mode is on, then first click on Hardware and Sound. In the window that opens, go to the settings for the desired power scheme.

On the next screen, you need to click on the item "Change Extra options nutrition".

A new window will open with complete list additional parameters in which you need to find the item USB Settings > USB Pause Option and set the value "Forbidden", then click OK to save the changes. Similarly, the function is turned back on.

It should be noted that the above example is not a panacea for all possible problems related to the operation of USB devices, the reasons can be very different, but nevertheless it can help in situations where the problem is related to the operation of this function.

If you encounter a situation where the computer stops responding to commands you enter using the connected USB keyboards or mice, check options USB in settings power plan. Sometimes Windows Maybe turn offUSB devices during downtime, which contributes computer power saving, but not always justified and convenient in terms of work.
prevent temporary shutdown USB ports if you are faced with a similar situation, power plan should be changed power options. To do this, click the "Start" button and in the "Search programs and files" field, enter the word "Power Options", press "Enter". The "Power Options" icon will appear, click on it with the left mouse button.

Open power plans you can also from the control panel, by going to it in a way convenient for you and, if necessary, switching to the "Small Icons" view mode, select the "Power Options" item.

The "Select a power plan" window will open, in which opposite current energy saving plan click "Setting up a power plan".

In the next step, click "Change advanced power settings".

In the window that opens, find the "USB Settings" item and open it first, and then the "Pause USB Port Parameter" by clicking on +.

Click on the value "Allowed", and a drop-down panel with a choice of options will appear. There are only two, select "Forbidden".

If you encounter a situation where the computer stops responding to commands you enter using the connected USB keyboards or mice, check options USB in settings power plan. Sometimes Windows Maybe turn offUSB devices during downtime, which contributes computer power saving, but not always justified and convenient in terms of work.
prevent temporary shutdown USB ports if you are faced with a similar situation, power plan should be changed power options. To do this, click the "Start" button and in the "Search programs and files" field, enter the word "Power Options", press "Enter". The "Power Options" icon will appear, click on it with the left mouse button.

Open power plans you can also from, by going into it in a way convenient for you and, if necessary, switching to the "Small Icons" view mode, select the "Power Options" item.

The "Select a power plan" window will open, in which opposite current energy saving plan click "Setting up a power plan".

In the next step, click "Change advanced power settings".

In the window that opens, find the "USB Settings" item and open it first, and then the "Pause USB Port Parameter" by clicking on +.

Click on the value "Allowed", and a drop-down panel with a choice of options will appear. There are only two, select "Forbidden".

Answer from GENNADY GURIN[guru]
Option 1: Change BIOS settings: 1) At boot time, enter the BIOS (to do this, press the Delete key after the computer starts to boot) 2) In the BIOS, go to the Power tab 3) Try changing the value of the Suspend Mode parameter (Auto, S1 (POS) Only, S3 Only) names can differ, look for similar ones with S1, S3 values. 4) Also try to enable/disable ACPI 2.0 Support → EnabledDisabled Option 2. Disable wakeup using USB mouse or USB keyboard. Some USB devices do not properly support sleep windows mode. The two main devices with which you can wake up from sleep mode are the keyboard and mouse. One of them may block your exit, in which case he should simply be forbidden to do so. Attention: Do not disable the keyboard and mouse at the same time, otherwise you will not be able to exit it. 1) Launch Device Manager. To do this, go to Start → Run (or Win + R) → devmgmt.msc → OK 2) In Device Manager, expand Mice and other pointing devices or Keyboards 3) Right-click on the USB mouse or USB keyboard and select Properties . 4) Click the Power Management tab. 5) Clear the Allow this device to wake the computer from sleep check box, and then click OK. Option 3: Disable hibernation/standby. 1) Go to Start → Run (Win + R) → powercfg.cpl → OK 2) Click on the left item Sleep settings 3) Assign both options: Turn off the display and Put the computer to sleep, the value is Never. You can also turn off the sleep function. Select "Change advanced power settings". Find the Sleep mode in the window, expand Sleep after and set the value of the parameters there to Never If, despite the above, the computer still continues to turn off, then you need to perform some more actions: 4) Download the PowerSettings.reg reg file and apply it. 5) Open the Sleep tab 6) Set the following values ​​for the parameters by opening their tabs: 6.1) Sleep after - the value is 0, it is identical to the value Never wake-up timers - Enable (allows you to automatically wake the computer from sleep mode using specified events) 7) If you have one of USB devices for example, a mouse, and the second is a PS / 2 keyboard, then you can turn off the USB port while the sleep mode is running. Open the USB Settings tab, and in it the USB Port Pause Setting tab and set the value to Allowed. 8) Click OK