Disable forced shutdown. Shutting down the computer via the command line

I have already written about other errors that Windows 7 likes to throw out more than once. Today I want to write about how to disable automatic system reboot in case of error.

Windows (not just Windows 7) has it so that during some more or less serious error, the system automatically reboots. Well, this is not bad, especially when such an error is caused by some kind of program. The computer will reboot, the program will close and everything will work, or should work :).

But it’s another matter when the computer reboots through the same blue screens, or other serious system errors. It’s just that such errors are usually a permanent phenomenon, or until the cause is removed. So, if some kind of error appears and the computer immediately reboots, then we do not have time to look at the inscription that is on the same blue screen. And if you read what is written there and also rewrite the error code, you can look for a way to eliminate it.

So it’s worth disabling automatic reboot, and now I’ll write how to do it. Moreover, the computer can always be restarted by pressing a special button.

Disable automatic system reboot

Click right click mouse to “Computer” and select “Properties”.

In the new window on the right, select .

A small window will open in which we click on “Options” in the section.

Another window will open in which we uncheck the box. Click “Ok” and close all windows.

Sooner or later, many users have a question about how to close a program if it does not close. In fact, the topic is not so simple. After all, frozen applications are a huge problem for users. They not only load the operating system and processor, but also interfere with normal operation of the computer. The following will provide the best tips and recommendations for what to do if you cannot close an application.

How to determine if a program is frozen

Before racking their brains for an answer to the question of how to close a program if it won't close, the user must understand whether the application is truly frozen. It is likely that the computer's performance leaves much to be desired, and the "close" command simply takes a long time to process.

Typically, if an application is frozen, it will stop responding to user input, the cursor will turn into either an hourglass or a small circle (depending on the operating system), and the application title will read “Not responding.” In this case, all attempts to complete work with the program in the usual way (by clicking on the cross in the right top corner screen) do not give results. Also, when you click on the working area of ​​the program, the screen becomes “covered in fog.” All these are signs of freezing. How can I close a program if it won't close? Top tips and recommendations will be presented below.

Expectation

The first advice is to wait a little. Don't forget that a computer has a certain power. When the processor is loaded and random access memory OS speed decreases. And it takes longer to process the transaction.

Accordingly, you will have to wait a little. When the computer takes a long time to respond to actions performed in the program, all signs of freezing are observed. The waiting period should not exceed 5-10 minutes. If after this time there are no responses to user actions, you can proceed to other shutdown methods.

Method 1: Hotkeys

So, it turned out that the program is not responding. How to close a frozen program? If waiting does not produce results, the user must choose one course of action or another. You can press some keys on the keyboard, as well as their combinations.

When the program freezes, you are prompted to click on:

  • Ctrl + W.
  • Alt + F4.

These combinations contribute to the emergency closure of many frozen programs. Not the most effective, but a valid method. But this is just the beginning. There are several more options.

Method 2: through the menu

How can I close a program if it won't close? The following trick works more often than a keyboard shortcut. Users use it in practice with noticeable success. To close a frozen application, you can call up the program action menu, and then select the appropriate function there.

To do this you need:

  1. Place the cursor over the program window on the taskbar.
  2. Right-click on the appropriate application.
  3. In the menu that appears, select "Close window". If the system issues a warning, agree with it.
  4. Wait a while.

As a rule, after the actions taken, the program closes on its own after 10-15 seconds. If this method does not help, no need to panic. You can try using other methods. Luckily, Windows provides quite a few ways to close applications.

Method 3: Task Manager

Which ones exactly? How can you close a program if it freezes? When the listed methods do not produce results, the user is asked to act somewhat differently. For example, call the task manager, and then end the process launched by a particular program.

This method is the most effective. It allows you to urgently close almost any program. Doesn't work only in some cases. Therefore, users often prefer it.

How to close a program that is frozen or unresponsive? This requires:

  1. Press the key combination Ctrl + Alt + Del. Or Ctrl + Shift + Esc will do.
  2. Select "Task Manager" in the window that appears. If you used a combination with "Shift", you can skip this step. The corresponding service will open immediately.
  3. Go to the "Applications" tab.
  4. Select the frozen program and click on the “End task” or “End task” button.
  5. Accept the operating system warning (if it is issued), and then wait a bit.

As a rule, after 5-15 seconds the program will be closed urgently. In some cases, it is suggested to send a message about the error of the corresponding application. This method can be improved a little. To do this, go to the "Processes" tab in the "Task Manager", then select the name of the process that is being executed by the frozen program, and click on "End". This will close the application approximately 99% of the time.

Method 4: additional programs

In some situations, additional software helps. Some processes are terminated forcibly only with their help. Not the most common, but an effective solution to the problem. How to close a program that has frozen? The user must download and install a special additional application to search for processes running on your computer, and then repeat the same steps as in the Task Manager. Process Explorer is perfect for this idea.

How can I close a program if it won't close? The user will have to:

  1. Download Process Explorer for yourself.
  2. Run the program. The application does not require installation, which makes users very happy.
  3. Find the desired program/process in the list on the left side of the screen.
  4. Select it by right-clicking on the corresponding line.
  5. In the menu that appears, perform the “Kill” operation.

After this, the application will be closed on an emergency basis. The advantage of using the program is that it displays processes and programs hidden from the standard Task Manager.

Method 5: radical approach

How can you close a program if it freezes? The next method is radical. There is no need to rush with it, even though it is considered the simplest. The thing is that to successfully complete programs, you need... a reboot of the operating system.

Skype won't close? How to close it? Exactly the same as all other applications. First, try all the methods listed earlier. If they do not help, then the user has no choice but to restart the computer.

It is not recommended to use Start. After all, frozen programs sometimes interfere with the corresponding operation. Instead, you need to find the Reset button on your computer and click on it. This is an emergency reboot. This option works on desktop computers. It is recommended to save all data in other applications before using it. In addition, it is worth considering that constant reboot computer does not have the best effect on the performance of the device.

Method 6: for laptops

Now it’s clear how to close a program that has frozen. The user could easily familiarize himself with examples of actions in a particular case. Detailed instructions will help solve the problem.

What to do if all the previously listed methods do not help, and the person is working not at a desktop computer, but at a laptop? Or if for a number of reasons the operating system refuses to reboot even after pressing Reset?

In this case, you need to urgently shut down the operating system. But before that, save all the data on your computer. Next, press the power button on the laptop (or computer) and hold it for about 5-10 seconds. The operating system will shut down. Then you can turn on the computer and continue working with it.

The disadvantage of this method of action is its danger to the device. Frequent emergency shutdowns lead to operating system failures and hardware malfunctions. This step will not solve the problem with programs freezing. Therefore, you can use it only as a last resort.

The reader should already understand how to force close a program on Windows. All of the above methods help to bring your idea to life without much difficulty. What tips will help you avoid app freezing next time?

The most common recommendations among them are:

  1. Make sure that it is the program that has frozen, and not the computer. The list of actions in one case or another will be different. Most often, when your computer freezes, an emergency reboot or shutdown helps.
  2. Scan your computer for viruses. Treat it if necessary.
  3. Reinstall a frozen program. Sometimes this method helps very effectively.
  4. Do not open many programs and applications when working with problematic software. The less the processor is loaded, the faster certain operations will be performed on it.
  5. Learn to wait. As already mentioned, sometimes processes simply take a long time to process. And so it begins to seem that the computer program has frozen.
  6. Try all the listed methods. It is recommended to postpone rebooting and shutting down the computer as a last resort.

That's all. In fact, there is nothing difficult about ending a stuck program. All of these methods are successfully used by PC users to varying degrees.

Our article is devoted to situations when computer games for PC or smartphones freeze. Surely each of our readers has encountered a similar unpleasant situation and it was not always possible to close a frozen game without rebooting. Let's look at ways to solve such problems!

How can you tell if the game is frozen?

In fact, this is quite simple, since computer games often freeze. They do this at the moment of start, at the moment of loading the main menu, at the moment of loading the game world, and during the gameplay too - the screen darkens, the sound in the game disappears or loops, it simply does not respond to clicks or other actions of yours. Let's see how to get out of this situation.

How to close the game if it freezes?

For starters, two simple rules about what not to do. Firstly, you should not immediately press the “reboot” button or turn off the power to the PC - more on this below. Secondly, there is no need to run this game again or launch other programs - this will only make the situation worse.

What you need to do is try to close the frozen game and save the computer's working state in order to save possible data from other programs and calmly restart the computer. Modern operating rooms Windows systems have already learned to recognize the game freezing and can close it independently, displaying the following message:

However, sometimes it does not pop up on top of the “failed” application, so you will have to switch to it using the Alt+Tab combination. In other cases, you will have to close the game yourself

In most situations, the tips we have outlined below will allow you to safely close any game. In some cases, the freeze is so severe that the mouse and/or keyboard operate with a long delay. In this case, you will have to take into account the system reaction time and act patiently.

If they don’t work at all and you can’t “get through” to the computer, you’ll have to act tough - the most last method, which can only be used in cases where the computer does not respond to your commands at all.

This method will allow you to close a frozen game - you need to click on the “Restart” button system unit your computer or turn off the power and then turn it on again. Restarting your computer this hard can be harmful. hardware, operating system stability and other programs, however, it is not always possible to close the game using the methods described below.

How to close the game using the keyboard and key combinations

If you determine that the keyboard is working, then there are several possible options closing the game. First, try doing this using the Alt+F4 key combination. In a number of older games (pre-2005 release), the Ctrl+Break combination will help.

You can try switching to the desktop using the Win+D combination (minimize all windows) or switching to another application using Alt+Tab. Now you need to see if the taskbar is visible at the bottom of the screen (or where the “Start” button is) and try to close the application by right-clicking on the corresponding icon in the taskbar and selecting “Close window”.

This method allows you to close the game without the “Task Manager”, but it only works in 30% of cases. If this does not help, you will have to call the “Task Manager”. In Windows XP, the key combination Ctrl+Alt+Delete is intended for this; in newer versions of Windows, like Windows 7 / 8.1 or 10, you need to use the combination Ctrl+Shift+Esc.

How to close a game using task manager

The Task Manager window that appears will usually offer the Applications menu first. A frozen game can be removed in this menu, but it is better to immediately remove the process through the next “Processes” menu. In some cases, the mouse will not work, so use Tab switching to select a line of work menus (the current active menu will be highlighted with a square), and then use the arrows to first go to the desired menu, and then select the process you are looking for.

Now you need to click the Delete button, or select the desired process with the right mouse button and click “End process”. After these actions, 1 to 10 seconds will pass, after which the system should remove the frozen application or game.

Occasionally, to obtain a list of all involved processes, you may need to activate the “Display processes of all users” menu.

Similar actions can be carried out using alternative program standard "Task Manager", which is called Process Explorer. You will have to perform similar actions.

How to close a game on Steam

Fans are facing this problem. network games, launched through specialized launchers and distributed through Steam. The situation can be paradoxical - Steam shows that you are still in the game, while you left it a long time ago and have already forgotten to think. Because of this, it is impossible to either close Steam or launch another game. What should I do?

First, you need to see if the launcher of this game is closed, and you need to check not only in the “Taskbar”, but also in the “Task Manager”. Look to see if the process of the game or its launcher is hanging; if you find anything, close it immediately.

In addition, this problem occurs due to the fault of the Steam client, for example, it may occur after the next update. Try to wait for the next update - they come out almost weekly. Check to see if the overlay mode (SteamOverlay.exe) is enabled, which may also be responsible for causing this crash.

If all else fails, you will have to kill the Steam.exe process in the Task Manager.

How to close a game on Windows 8/8.1/10

Latest Windows versions focused on the touch capabilities of new computers. Therefore, Windows 8 owners often cannot understand how to close this or that application.

To do this, you need to “hook” the upper part of it with the mouse and drag it to the lower part of the screen. This action can also be done with your finger by “dragging” the application down, and it will first decrease in size, and if you continue to move your finger to the bottom of the screen, then it will close.

In addition to the standard and described above options, there is one more. You need to call up the application panel, which opens in Windows 8 from the upper left corner by moving the mouse down. You need to right-click on desired application and select the “Close” menu item.

How to close a game while multitasking

Owners face this problem latest smartphones from Apple. The iPhone 5S and the iOS 7 operating system introduced full multitasking, allowing the smartphone to keep more than one application in memory without stopping those applications that are in the background. However, with this innovation, users Apple devices found that iPhone battery quickly discharges due to the heavy load on the smartphone, since the OS does not try to free up memory and processor.

Despite the “swipe up” gesture, which should close unnecessary applications or games, these could remain working in background. Therefore, for owners of “jailbroken” iPhones that have updated to new version, several different ones came out unofficial applications for cleaning RAM and closing games in multitasking mode. Such applications include Clear Background Apps, SwitchSpring, Slide2kill, KillApp7 and others.

Developers from Apple declare that the iOS operating system independently monitors the consumption of RAM and closes inactive applications and games as these resources are needed for other applications and games, so use the applications we have indicated at your own peril and risk!

One of the most common problems when using a computer running Windows OS is that even after shutting down the computer continues to work. The only option to turn off the computer in this case is to force it to shut down by holding the power button for a long time. But this cannot be used on permanent basis, which means it is necessary to look for a solution to the problem.

With the problem of not being able to turn off the computer in a standard way, it turns out, collides a large number of users, but there can be many reasons for this problem: installed drivers, software, blocking computer shutdown, incorrect power settings, etc.

Ways to solve the problem

Method 1: Setting up the USB hub

This method can help laptop users, users desktop computers you can skip it. The fact is that the system can block the operation of some USB devices to save battery power, but sometimes laptops may not work correctly with this function, which makes it impossible to turn off the computer.

IN in this case you will need to call up the menu "Control Panel" , set viewing mode for convenience "Small Icons" , and then navigate to the section "System" .

In the left area of ​​the window that pops up, go to the section "Device Manager" .

The window we need will appear on the screen, in which you will need to expand the item « USB controllers» , right click on "USB Root Hub" and in the displayed context menu choose "Properties" .

In the new window, go to the tab "Power Management" and remove the bird from the point "Allow this device to turn off to save power" . Save your changes. Perform similar actions for all “USB Root Hub” items.

After completing these steps, try turning off the computer through the Start menu.

Method 2: System Restore

If the problem with shutting down the computer appeared suddenly and recently, for example, after installing some program or drivers for a connected device, then the system restore function will help solve the problem, which will allow you to roll back the computer to the moment when there were no problems with shutdown.

To do this, go to the menu "Control Panel" , and then go to the section "Recovery" .

In the new window, select "Run System Restore" .

After a few moments, a window will appear on the screen showing the available restore points. Select the rollback point that dates back to the period when the computer, in your opinion, was working normally. Start the recovery procedure.

Please note that the system restore procedure may take quite a long time - everything will depend on how many changes have been made to the operating system since the date of the rollback point you selected.

Method 3: Disable incorrect services and applications

Most often, the cause of problems with turning off the computer is an incorrectly working service, which, as a result of a failure, cannot complete its work, which means the computer cannot turn off.

First of all, you need to look Windows log for errors. To do this, open the menu "Control Panel" and go to the section "Administration" .

In the window that appears, open the shortcut twice "Event View" .

In the left area of ​​the window that opens, expand the item "Windows Logs". In it you will need to open two magazines: "Application" and "System" .

Check out these two magazines. You are interested in events marked with "Error" . If the same service or application is flagged in these events each time, then it or it needs to be disabled.

To disable a malfunctioning service, return to the window "Administration" and then open the shortcut "Services" .

In the list that opens, find the service you need, and then open it by double-clicking on it. In the tab "Are common" near the column "Startup type" set value "Disabled" , and then save the changes.

If a problem is found in the operation of the application, then it is recommended to remove such incorrectly working application from the computer through the menu “Control Panel” – “Uninstall Programs” . If you cannot remove an application from your computer, you can remove it from startup. To do this, open it "Task Manager" keyboard shortcut Ctrl+Shift+Del . In the window that opens, go to the tab. Right-click on the application and select "Delete" . Save your changes.

Method 4: Reducing the duration of closing programs

IN this method You can try to reduce the closing time of programs by making changes to Windows registry. To do this, open a window "Run" key combination Win+R , in the window that appears you need to run the command regedit .

Having launched the Windows registry, you will need to make changes to the operation of three parameters that are located in the branch HKEY_CURRENT_USERControl PanelDesktop:

1. AutoEndTasks. For this parameter, you will need to set the value to 1. Activating this parameter will mean that Windows will forcefully terminate hung programs when the computer shuts down;

2. HungAppTimeout. This parameter should be set to a value from 1000 to 5000. In this case, you specify exact time, after which Windows will forcefully terminate the program if it does not respond;

3. WailToKiliAppTimeoul. It is recommended to set this parameter to a value between 5000 and 7000. This parameter determines how many milliseconds Windows will wait for the program to respond.

If you do not find the required parameter at the specified address, you will need to create it. You can create the “AutoEndTasks” parameter by right-clicking on any free area of ​​the existing parameters and in the context menu that appears, going to the item “Create” – “String parameter” . Set the parameter to the exact name and required value. Save the change.

For the "HungAppTimeout" and "WailToKiliAppTimeoul" options, right-click on an empty area, and then navigate to “New” – “DWORD value (32 bits)” .

After making the necessary changes, close the Windows registry and try to shut down your computer.

To ensure long-term uninterrupted operation of any computer, be it a home desktop PC or laptop, it is necessary to shut it down correctly. Many novice users neglect this point, not knowing or forgetting that incorrect actions at this stage can lead to the loss of working information. And over time, it threatens to require reinstalling the operating system. Not to mention the hardware failure of your PC. This happens quite rarely, but such a risk cannot be completely eliminated.

The shutdown procedure is very simple and can be done in several ways. Let's look into the details.


Do I need to turn off my computer?

You may think: why doesn’t someone turn it off? Yes, and there may be several reasons:

  • the computer is sent to sleep or hibernation mode rather than turned off;
  • the computer is simply not turned off so as not to waste time turning it on;
  • The computer is not turned off at night so that movies or other files can be downloaded at night.

However, objective reasons shutdowns abound. Below are just a few of them:

  • Working modern computer A rather “gluttonous” device in terms of electricity consumption. Therefore, its aimless operation leads to a significant increase in the monthly electricity bill.
  • The slight noise of the coolers of a working system unit, as well as the burning indicators of the system blog at night can interfere with restful sleep (if the computer is in the bedroom). Therefore, it is better not to download large files (torrents, movies) at night.
  • It is undesirable to leave electrical appliances turned on in a house, apartment or office when no one is there.
  • Long-term continuous operation of the computer reduces the service life of the equipment.
  • All components of the system unit located in it are installed only with the power off. These are RAM modules, sound cards, processor, majority hard drives etc. We understood the detailed structure of the system unit. Therefore, if you need to install an additional module in the system unit, the computer will need to be turned off.

Forced shutdown of the computer

Constantly using the methods described below to turn off the computer is extremely contraindicated for the “health” of the computer. However, many novice users, due to ignorance of the correct ways to handle computer equipment, abuse this method of turning off the computer, and then wonder why their computer does not start.

Unplug the cord from the outlet... Caution!!!

The usual action of pulling the plug of an electrical appliance from the socket is not applicable to a computer. No, of course, you can experiment...

But I can’t vouch for the continued normal functioning of the device!

The fact is that during operation, all the necessary data from operating system programs (you can find out what an operating system is and why it is needed at all) and documents are stored in the computer’s RAM. Primarily used for permanent storage HDD, and to write data to it when turned off, you must follow the correct steps.

And suddenly turning off “from the socket” is an emergency option for stopping the computer, in which system files may be damaged, preventing your computer from starting the next time.

Imagine that you are thinking about an important task and suddenly fall asleep! About the same effect will happen with a computer.

Similar consequences can occur if the source suddenly turns off uninterruptible power supply. If you are not yet “familiar” with this life-saving device, then let’s briefly understand its purpose.

An uninterruptible power supply (aka UPS) can provide continuous power to your computer in the event of a sudden power failure. electric current online. Usually, it is not intended for long-term work, but only allows you to correctly save all open documents, close programs and turn off the computer within a few minutes. All working data will not be lost.

By the way, often in tests on computer literacy there is a question: “When you turn off the computer, all information is erased in...”

Answer: in RAM. Everything is saved on the hard drive.

Forcing the computer to shut down using the shutdown button

You can turn off a frozen computer (which does not respond to keyboard or mouse presses) by pressing the power button (also known as the power button) on the system unit and holding it down. Shutdown will occur after approximately 3-4 seconds of holding the button pressed.

It is also undesirable to abuse this method, since this shutdown option is an emergency and can damage system files and lead to the loss of information important to you.

I use it only when the computer is really hopelessly frozen and does not respond to any actions for 15-20 minutes.

Therefore, I once again draw your attention!

Turning off the computer by unplugging the power cord from the socket, the button on the extension cord, or the uninterruptible power supply (UPS) button without shutting down the operating system correctly will result in the loss of all unsaved data, and eventually in the termination of normal operation operating system.

Modern OS will warn you about open programs before shutting down your computer.

Properly shutting down your computer

Preparation before shutdown

To ensure safety open documents and files that you directly worked with, before turning off the computer you need to perform a number of actions:

  • save the results of your work in open source software Oh;
  • remove the disk from the drive, if it is there;
  • close running applications/programs;
  • give a command to turn off the computer using one of the methods that we will discuss below.

How to turn off your computer in Windows 7 via the Start menu.

Click on the button. It's located in the Start menu:

If there are open programs and unsaved documents, after clicking the button, the system will issue a warning asking you to close the programs.

If unsaved documents are not important to you, then you can speed up the shutdown process by clicking on the “Force shutdown” button.

If the documents are important, click the “Cancel” button, save the documents and close the programs and again click on “Shut down” in the “Start” menu

Next, wait until the system unit turns off (the screen will go dark, the system unit will stop buzzing, and the system unit’s power indicator will go out). After which you can turn off the UPS (uninterruptible power supply), if available, or the power strip key.
By the way, to protect your computer, another useful acquisition can be a surge protector (), just don’t confuse it with a simple extension cord!

How to turn off your computer in Windows 8 via the Start menu

To turn off your computer in Windows 8, just click on the start button (usually in the lower left corner of the Desktop). And then click on the computer shutdown icon in the upper right corner of the window.

From the menu that opens, select “Shut down.”

We wait for the system unit to turn off and turn off the power by unplugging it from the outlet or using the surge protector button or on the UPS.

Alternative options

Method 1 - start shutdown by briefly pressing the shutdown button

Switch off desktop computer You can do this by briefly pressing the power button on the system unit. Further actions in the case of open programs are similar to the steps described above.

If there are none, the computer will turn off automatically.

A short press on the computer's power button will begin the shutdown process (equivalent to selecting the Shutdown option in Windows, as described above).

Method 2 - How to turn off your computer using the keyboard

While on the Desktop, press the key combination “Alt+F4”. A shutdown window appears.

Click the “Ok” button. We wait for the system unit to turn off and turn it off

Turn off the laptop

When turning off the laptop, the methods discussed above are available, but there is an easier way. You simply close its lid. It automatically goes into “sleep” mode, and in case of further prolonged “rest” it will automatically turn off, saving everything stored in RAM to the hard drive. When you turn on the computer again, all data will be restored to the state it was when you closed the laptop lid. This is the default behavior of the laptop, however, it can be changed.

Be careful, your laptop may behave differently when closing the lid!

The behavior of the laptop when the lid is closed can be customized and we will talk about this in a separate article.

Automatic computer shutdown according to schedule (timer)

In your daily interactions with your computer, you may need to turn it off while you are away. For example, the process of copying a CD or hard defragmentation disk, or processing a video file takes a long time, and you need to leave or just go to bed. How to optimally organize the computer shutdown in this case?

There are several options:

  • Some programs have a well-thought-out function automatic shutdown computer after completing the assigned tasks (for example, in uTorrent, Download Master);
  • standard Windows tools allow you to set the shutdown automatically according to time;
  • exist third party programs to automatically turn off the computer.

If you are still wondering what is computer programs, read .

As part of our “dialogue”, we will only consider using the standard “Task Scheduler” of the Windows system to organize the daily shutdown of the computer at a certain time of day. This is convenient, for example, for turning off the computer in the evening or at the end of the working day without your participation.

To start working with this program, go to the “Start” menu -> “Accessories” -> “Utilities”, select “Task Scheduler”.

We left-click on it and in the window that appears, select “Create a simple task...”

We call it arbitrarily, but it is clear to us, the planned action. Click the “Next” button...

We define the task trigger, that is, we set the mode of its execution.

Let's specify the time parameters.

In the next window we determine the required action. We are interested in “Running programs”.

We indicate the command to be executed and its additional parameters.

In the next window, after checking the entered data and clicking the “Finish” button, we will create a new task for the system.

Double-clicking with the left mouse button on it will open the task properties for editing.

We are very sorry that you did not like the article!

Help us improve it!

Send reply

Thanks for your feedback!