Why doesn't the computer turn off on its own? The laptop does not turn off completely. Solution to the problem. Shutdown script

Why doesn't the computer turn off on its own? The laptop does not turn off completely. Solution to the problem. Shutdown script

Some users sometimes encounter a situation in which they are unable to turn off their laptop using the Start panel. After going to the Start panel and clicking the Shutdown button, the computer screen goes dark, but the computer itself continues to work.


Solving this problem may require some knowledge and skills. A similar situation can occur on any operating system. This review will focus on this problem and how to fix it.

Problems in the software part

The most common cause of this situation is hardware or software failures. Problems with the operation of the hardware may occur if new drivers or updates are installed. A similar situation may also arise when connecting a new device. It is possible that it is associated with the functioning of special programs that use special services and prevent the personal computer from turning off. These are the ones we will be talking about today.

We fix the problem in the shortest possible time

If you need to turn off your laptop immediately, but you can't do it using the Start panel, you can try turning it off manually. To carry out this operation, just hold down the power button of the device until it turns off. Typically this period of time is between 5 and 10 seconds. However, it is not recommended to use this shutdown method very often. This may be dangerous for your computer. But if there are no other options, this is the only method left. There may be situations in which a personal computer is turned off through “Start”, but this takes a lot of time. This may be due to the activity of programs that slow down the laptop shutdown.

Main menu

Now let's move on to action. What can you do if you cannot turn off your laptop using the Start menu? First of all, you need to understand the issue of power supply to the device. This option is suitable not only for a portable device, but also for a personal computer that refuses to turn off via the Start menu.

This method can be used for all types of operating systems. The first thing to do is go to the device manager of your computer. It is better to use a quick method to go to the dispatcher. To do this, use the key combination “Win” + “R”. As a result, a window will appear in which you will need to enter the following: “devmgmt.msc”. After that, just press “Enter”.

Once you are in Device Manager, select the “USB Controllers” section. In this section, special attention should be paid to devices of the “Generic USB Hub” or “USB Root Hub” type. In most cases, there are several such devices on the computer. For each such device, you must perform the steps described below. Left-click on the device you selected, then right-click and select “Properties”.

Usually it is at the very bottom. As a result, a new window will appear in front of you, in which you will need to find the “Power Management” item. There will most likely be a checkmark next to “Allow the computer to turn off this device to save energy.” You will need to remove it. After you uncheck the box, save your changes.

Now you can try turning off your laptop again using the Start menu. If the laptop still does not turn off, try restarting it and try this operation again using the Start menu. This solution to the problem is effective in most cases, provided that you did everything correctly. But if you still cannot turn off your laptop using the Start menu, then perhaps you should try other options to resolve this problem.

Some services and programs that simply do not turn off automatically can prevent you from turning off your laptop through the Start menu. This problem can be solved.

Application failure

If you are unable to turn off your laptop through the Start menu, then this may be due to the shutdown of all program processes, one of which does not respond to user commands. As a result, the computer simply freezes. The most effective and simple way that can be used to solve this problem is to identify the most problematic programs and services.

In order to identify problematic programs, you need to go to the system stability monitor. This is quite easy to do. You need to go to the “Control Panel” and open the support center. In the window that opens, select the “Maintenance” tab and view the stability monitor. In this section, you can see system failures that have occurred and correct certain parameters if necessary.

When working on a computer, various glitches and problems often arise - from simple freezes to serious problems with the system. The PC may not boot or may not turn on at all; sometimes the hardware or necessary programs refuse to work. Today we will talk about one of these very common problems - the inability to turn off the computer.

The symptoms of this “disease” are different. The most common ones are the lack of response to pressing the shutdown button in the Start menu, as well as the process freezing at the stage of showing the window with the inscription “Shut down”. In such cases, only turning off the power to the PC, using “Reset” or pressing the power button for a few seconds helps. First, let's determine what causes the computer to turn off for a long time, and how to fix them.

  • Freezing or crashing applications and services.
  • Incorrect operation of device drivers.
  • High timeout for closing background programs.
  • Hardware that does not allow shutdown.
  • BIOS parameters responsible for power supply or sleep mode.

Reason 1: Applications and services

Identifying faulty programs and services can be done in two ways: using the Windows event log or the so-called clean boot.

Method 1: Journal

  1. IN "Control Panels" go to the applet "Administration".

  2. Here we open the necessary equipment.

  3. Go to the section "Windows Logs". We are interested in two tabs - "Application" And "System".

  4. The built-in filter will help us simplify the search.

  5. In the settings window, check the box next to "Error" and click OK.

  6. A large number of errors occur in any system. We are interested in those in which programs and services are to blame. Next to them there will be a mark like "Application error" or "Service control manager". In addition, it must be software and services from third-party developers. The description will clearly indicate which application or service is faulty.

This method is based on completely disabling all services installed by programs from third-party developers.

  1. Launching the menu "Run" keyboard shortcut Win+R and write the command

  2. Here we switch to selective launch and check the box next to the item "Load system services".

  3. Next we go to the tab "Services", activate the checkbox with the name "Do not display Microsoft services", and disable those that remain in the list by clicking on the corresponding button.

  4. Click "Apply", after which the system will prompt you to reboot. If this does not happen, then we perform a manual reboot.

  5. Now comes the fun part. To identify a “bad” service, you need to check the boxes next to half of them, for example, the top one. Then click OK and try turning off the computer.

  6. If you have problems turning it off, it means that our “bully” is among those highlighted with jackdaws. Now we remove them from half of the suspects and try to turn off the PC again.

    Not working again? We repeat the steps - uncheck another half of the services and so on, until the faulty one is identified.

  7. If everything went well (after the very first operation), then go to "System configuration", uncheck the first half of the services and place them next to the second. Further everything follows the scenario described above. This approach is the most effective.

With programs everything is also quite simple:


Reason 2: Drivers

Drivers are programs that control the operation of devices, including virtual ones. By the way, the system doesn’t care whether a real device is connected to it or a software one - it “sees” only its driver. Therefore, the failure of such a program can lead to errors in the operation of the OS. The same event log (see above) will help us identify errors of this kind, as well as "Device Manager". We'll talk about it further.

  1. Opening "Control Panel" and find the required applet.

  2. IN "Dispatcher" We check all branches (sections) one by one. We are interested in devices that have an icon with a yellow triangle or a red circle with a white cross next to them. The most common cause of the computer behavior discussed in this article is video card and virtual network adapter drivers.

  3. If such a device is found, then first you should simply disable it (RMB - "Disable") and try turning off the PC.

  4. Please note that you cannot disconnect disks, since the system, system devices, and processors are installed on one of them. Of course, you shouldn't turn off your mouse and keyboard either.

  5. If the computer shuts down normally, you need to update or reinstall the driver of the problematic device.

    If this is a video card, then the update should be performed using the official installer.

  6. Another way is to completely remove the driver.

    Then click on the update hardware configuration icon, after which the OS will automatically detect the device and install software for it.

Recently installed programs and drivers may also be to blame for shutdown problems. This often occurs after a system or software update. In this case, it is worth trying to restore the OS to the state it was in before the update.

Read more: How to restore Windows XP, Windows 8, Windows 10

Reason 3: Timeout

The root of this reason lies in the fact that Windows, when shutting down, waits for all applications to close and services to stop. If the program freezes “tightly”, then we can endlessly look at the screen with the well-known inscription, but still cannot wait for it to turn off. A small edit of the system registry will help solve the problem.

  1. Call the registry editor. This is done in the menu "Run"(Win+R) using the command

  2. Next we go to the branch

    HKEY_CURRENT_USER\Control Panel\Desktop

  3. Here you need to find three keys:

    AutoEndTasks
    HungAppTimeout
    WailToKiliAppTimeout

    It’s worth noting right away that we won’t find the first two keys, since by default only the third is present in the registry, and the rest will have to be created independently. This is what we will do.

  4. Right-click on an empty space in the parameters window and select the only item with the name "Create", and in the context menu that opens – "String parameter".

    Rename to "AutoEndTasks".

    Double-click on it in the field "Meaning" we write "1" without quotes and click OK.

    Let's give him a name "HungAppTimeout", switch to the decimal system and assign the value "5000".

    If there is still no third key in your registry, then we will also create one for it DWORD with meaning "5000".

  5. Now Windows, guided by the first parameter, will forcefully terminate applications, and the values ​​of the second two determine the time in milliseconds that the system will wait for a response from the program and close it.

Reason 4: USB ports in laptop

The laptop’s USB ports, which are simply automatically blocked to save power and “force” the system to maintain a working state, can also prevent normal shutdown.


Reason 5: BIOS

The last resort to solve our problem today is to reset the BIOS settings, since it can configure some parameters that are responsible for shutdown modes and power supply.

Conclusion

The problem that we discussed in this article is one of the most annoying problems when working on a PC. The information given above will, in most cases, help resolve it. If nothing helps you, then it’s time to update your computer or contact a service center to diagnose and repair the hardware.

Today we will look at a problem that not only “dummies”, but also quite experienced users often encounter. So! You worked on the computer and decided to give it a rest. You carry out the usual shutdown algorithm, but... nothing happens: the computer does not turn off! Strange, isn't it? And most importantly, why did this happen today if everything was fine yesterday?

Let's consider. Without further ado, I’ll say right away: the cause of the problem is a system failure. Just don’t ask why the failure occurred: there can be many reasons! We don’t so much need to find out the cause as eliminate the effect, right? And then: if you are a typical “dummie”, you still won’t understand the technical expressions that will describe the cause of the failure. Therefore, do not bother yourself with what is not necessary! Now let’s move on to ways to fix the problem that prevents your computer from turning off.

This method is addressed to users of both computers and laptops with Windows XP or Windows 7 on board and it involves turning off the power to the USB hub. This is done like this:


  • 1) Right-click on the icon " My computer "and select the line" Properties " - tab " Equipment " - button " device Manager ".
  • 2) We find an element in the menu called " Universal Serial Bus Controllers " and open it by clicking on the cross.
  • 3) In the tab that opens, find the item " USB root hub ", hover the cursor over it, right-click and go to the item " Properties ".
  • 4) You will find yourself in a window called " Properties: USB Root Hub ". There is a tab " Power management "We open it.
  • 5) We see the line " Allow this device to turn off to save power ", next to it there is a window in which there is a "bird". Remove the "bird" and click " OK ".
  • 6) Repeat this procedure for each USB root hub on your computer.

If your computer still won't turn off

In this case, we move on to Method No. 2, which, like the first method, is addressed to owners of computers with Windows XP or
Windows 7.

Method No. 2


This method is based on disabling services or applications that the system was unable to terminate.

1) First you should check " The event log ".
To do this, follow the algorithm: " Start " - "Control Panel " - "Administration " - "Event Viewer ". We are interested in the items " System " And " Applications ": look at them for errors (you will see errors immediately, since they are marked in red).

2) If necessary, conflicting services can be disabled.
This is done simply: " Start " - "Control Panel " - "Administration " - "Services ". In the list " Services " all lists of services are displayed, with a detailed description of how they work. You can disable a service like this: hover over the service you want to disable, double-click on it. A window will open " Startup type ", you choose " Disable " and click on " Apply ". Everything is very simple, so you can figure it out yourself.

After these manipulations, the reason why the computer did not turn off will most likely be eliminated.

Method No. 3


This is a reduction in the waiting time for programs to close when the system shuts down. To do this, you need to apply this registry tweak.

Windows Registry Editor Version 5.00


"AutoEndTasks"="1″


"WaitToKillServiceTimeout"="5000″


“HungAppTimeout”=”5000″
"WaitToKillAppTimeout"="5000″

First parameter AutoEndTasks means that hung programs will be closed without any warning. The remaining parameters set the timeout for closing services and applications to 5 seconds, instead of the default 20 seconds.

Some PC and laptop users encounter one problem - their Windows device does not turn off completely. Often, after calling the Start menu and clicking the Shutdown button, the computer continues to work.

For some users, the screen goes blank, but the coolers continue to spin. And for others, the operating room freezes when exiting, and no matter how long you wait, the “Complete work” inscription does not disappear.

Photo: shutdown window

The reasons for this can be very different. These could be hardware errors, hardware conflicts, incorrect operation of drivers, or individual programs and services that may freeze and prevent the operating system from shutting down normally.

Four ways to speed up PC shutdown

For the most part, finding out the true causes of a problem can be compared to detective work. When you have to figure out step by step what exactly prevents the device from turning off correctly. But first, a few standard solutions that will help speed up the shutdown of the Windows operating system.

Video: PC won't turn off

Managing the power of a USB hub

Mainly, this method is relevant for laptop owners. To save battery power, some USB devices are turned off by default, meaning they no longer receive power. But not all of them are able to work correctly with this function and “inform” Windows about their status.

A situation arises that when turned off, the operating system contacts the device, but since it is de facto disabled, it does not receive a response. And as a result, the completion of work is slow and freezing. To stop this situation, you should disable the power management of the USB hub.

To do this you need:


You can also:


Most likely, there will be several of them, and for each you will need to do the following sequence of actions:

You should be prepared that this measure may lead to a decrease in the battery life of the laptop. But, as a rule, most users hardly notice this. If this method does not help you, then you can always return the settings to their original state.

Disabling services or applications

During a normal shutdown, Windows terminates all programs, including those running in the background. Naturally, the more services were started while the operating system was running, the longer it took to complete them. But if one of them freezes periodically, then this interferes with the normal shutdown.

To fix this problem, you first need to identify its source.

To do this, you need to look at the logs for a description of the errors that occurred. Windows stores such information in special logs.

To access them you need:


In them we look for messages marked Error and Warning, they are marked in red and yellow, respectively. If they constantly mention the same service or application, then perhaps it should be disabled.

For this:

  1. in the Administration menu, select the Services shortcut;
  2. in the window that appears, we find an incorrectly working service;
  3. click on it with the mouse;
  4. in the new window, select the General tab;
  5. changes the Startup Type to Disabled.

There are two options for applications:

  • remove them from the Startup list;
  • manually, disable the executing process using the Task Manager (to call it, you need to simultaneously press Ctrl + Alt + Delete on the keyboard).

Open the startup list:


Reducing program closing time

The third method requires making changes to the Windows registry. To do this, you can make entries yourself. All actions with the registry can only be performed by a user with administrator rights. To open the Registry Editor in the Run window, you need to type the command regedit. In the window that appears, we need a section HKEY_CURRENT_USER, then select Control Panel from the drop-down list and then Desktop.

Here you will need to change the value of three parameters:


If the reason for the "Shutdown" slowdown is the service - WaitToKillServiceTimeout, which is located in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control. Then its value can also be changed to 5000 ms. The structure of the registry depends on the assembly version. If you do not find the described parameters at their addresses, then use the Search, which is available through the Edit menu at the top of the window.

Enable ACPI

Sometimes the computer does not turn off because the connection between the operating system and the motherboard BIOS, which in normal condition should transfer hardware power management functions to it, is not established. On modern motherboards, ACPI is enabled by default, but you simply cannot disable it.

But on older models there were cases when the ACPI mode crashed, this happened especially often after flashing the BIOS. If you have a fairly old computer, and when you turn it off, the message “You can now turn off the computer’s power” appears on the screen, then you need to enable ACPI.

To do this you need:

    1. to restart a computer;
    2. without waiting for Windows to load, call the Boot BIOS setup menu (press the function key, for some models it is F8, F6 or F4, but there were also more exotic options Tab or Delet);

  1. then find the ACPI item in the BIOS and change its value to enable.

Other reasons and their solutions

In modern computers equipped with a FireWire card, the IEEE 1394 bus is often the cause of incorrect shutdown. But it can be disabled through Device Manager. Another common problem is that Windows shuts down and the screen goes blank. But the coolers continue to spin and the LEDs continue to blink. Most likely, the power supply or one of the motherboard capacitors is failing.

Only a visual inspection and an attempt to replace the power supply will help here. It’s quite easy to determine whether you’re stuck or whether it’s just taking a little longer to complete the job than it would normally take. Often the mouse cursor remains active even when frozen. Although if it is “stuck”, then this is one hundred percent freezing.

Photo: Black screen with error

But in most cases it is better to check as follows: try pressing one of the keys or . The fact is that the LED signals of the keyboard must respond to their pressing. If this does not happen, then there is no need to wait for the normal shutdown.

Unfortunately, complete shutdown of the device in the event of an incorrect shutdown can only be achieved by completely turning off the power. For the system unit, just unplug it from the outlet. The laptop will require a long press (about 10 seconds) of the Power button, unplugging the power cord and removing the battery.

If none of the measures described above helped, then we can only sympathize with you. You have an interesting search ahead for the device or driver that is not working correctly. In some cases, when a hardware conflict occurs, the problem cannot be solved without updating drivers or operating systems by the manufacturers themselves.

All you have to do is contact support, give a description of your equipment, tell us what troubleshooting methods you have tried, and wait for the updates to be released.

I am sure that if you have been using your computer for quite a long time, then you have encountered such a problem as its reluctance to turn on. It is much less common to encounter a problem when the PC, after being turned off, does not want to go out and continues to work. After you press the on/off button, programs will begin shutting down, but the computer will not turn off. There are other behaviors with the same problem. For example, when the screen has long gone dark, but the coolers continue to work or the power button and indicators are off. Naturally, it becomes clear that the computer continues to operate even when the screen is off.

Today we will find out what are the reasons for this behavior of your computer, find out how to solve this problem and what you need to do to avoid such a problem.

The main reasons why your computer freezes when you turn it off

There are many reasons that can affect the occurrence of this problem. The main one is a conflict of programs or too many running programs, games or applications. If, before shutting down, you have a large number of programs running, then they will complete their work one by one, while maintaining the original data at the time of shutdown. In this case, the PC may take a very long time to turn off. But if an application is actively working with the system, and you turn off the computer at that moment, then a conflict will occur and the system will not be able to shut down this application, accordingly, the computer will continue to work, but the screen should not go dark, and you will see a message about that the computer cannot shut down programs or that some files may need to be saved. Therefore, before turning off the PC, I recommend closing all programs in use and files that were open.

Failures of this kind may also be caused by viruses that your security programs could not cope with and allowed onto your computer. Some viruses are configured to infect a system file and block system operation. There is a possibility that the process that terminates when the computer is turned off is infected. Therefore, the computer continues to work after pressing the off button.I described a working method for removing all viruses from a PC, and I also have a video on this topic:

Maximum cleaning of your computer from viruses


If you've recently updated your operating system or updated drivers for any of your devices, your computer may behave this way - it won't turn off when it needs to. The fact is that after updating the system, conflicts sometimes arise between old and new drivers. Such a conflict will certainly lead to computer failures and system freezes. If you installed a driver, even an old one, but it became crooked, some devices on the computer will not work correctly. With this problem, the PC may also not turn off the first time. I recommend installing drivers only from the equipment manufacturer’s website, as I showed how to do this in my video:

Correct installation of drivers


When the computer overheats, and some of its elements have been heating above the maximum temperature for a long time, these elements will begin to work incorrectly. This may cause problems when turning off.I showed how to clean your computer from dust and eliminate overheating in this video:

Cleaning from dust

Correct replacement of thermal paste


PC froze - how to turn it off?

If, when you turn off your PC, it freezes and does not want to shut down, you need to help it do this. There are several ways to do this. The first method is the simplest, but it is also the most radical. We simply hold down the power button and hold it until the computer completely goes out. For laptops this may not help, then disconnect the power supply cord and remove the battery. But, still, I do not recommend using this method and leaving it as a last resort. By doing this, you risk damaging your hard drive, but if you have an SSD you don’t have to worry. Also, this method of turning off the computer may result in the loss of unsaved data.

In order to carry out a softer and more correct shutdown of the computer, if it does not hang, you need to open the device manager and find the item “USB Controllers” in the left menu, where for each device named “USB Root Hub” set the properties to In the “Power Management” tab, check the box next to the option “Allow the computer to turn off this device to save power.” You can do the same with other devices in Device Manager.



If your computer starts to fail when you turn it off after updating the system, driver, or installing any program, then it’s time to use something called the “Windows Recovery Tool.” To do this, you need to do the following: Open “Start” and type “in the search field” System Restore". After the utility has been found, run it. The Restore Previous State Wizard will prompt you to select a restore point. You need to select the one in which the laptop is working properly and stably. After this, the Restore Wizard will start its work, and your problem should be resolved solved. You can find out more about system recovery. There is also an excellent video on this topic:

Windows Recovery


The computer does not turn off due to a malfunction

The PC may not turn off if one or more computer nodes are working incorrectly or malfunctioning. Most often this happens due to a faulty power supply or motherboard. It will be difficult for you to diagnose your PC equipment and identify the faulty part; it is better to send your computer to a service center for diagnostics. But if you still want to check the equipment yourself, you can do it like this:

Self-diagnosis of PC

PC won't turn off due to BIOS settings

Not all power plans that can be configured in the BIOS are equally useful. Sometimes, if these BIOS settings are incorrectly configured, the computer may not turn off or enter sleep mode, and hibernation may not work. In different BIOSes, power supply settings are performed differently and I cannot give a clear algorithm of actions for all types of BIOSes, but I have a good one, where you can find the information you need.

We optimize free space and processes

After you solve the problem with your laptop turning off, you will need to clean your computer. It will consist of freeing the disk space of the system disk from temporary and unnecessary files. To do this, you will need to remove applications that you do not use. Do it like this:

Maximum Disk Cleanup


It is also worth optimizing Windows startup by excluding from it service utilities and applications that are not regularly used.In order to clear space and startups, I recommend using the program. In addition, you can speed up Windows:

Speeding up Windows


Only after you have completed all of the above procedures will the computer stop crashing and turn off normally.

It must be remembered that taking care of your PC is an integral part of its use. Many people wonder why computers begin to work unstable after six months or a year. It's all about care and proper use. All the best to you and a fast computer.

views