Command prompt in Windows 10 can be closed with Alt + F4

16.57
Command prompt in Windows 10 can be closed with Alt + F4 -

Many users know that in Windows 10, Microsoft's latest operating system, the command prompt got updated. The command prompt window in Windows 10 supports the free resizing and copy and paste using familiar keyboard shortcuts like Ctrl + C / V . But do you know that you can finally close the command prompt window using Alt + F4 , like any regular window? In this article, we will examine this behavior and see a way to disable it.

Windows 10 is the first operating system that Microsoft has helped close the command prompt window using the common shortcut Alt + F4 . In all previous versions of Windows such as Windows XP, Windows Vista, Windows 7 or Windows 8, you had to type "exit" to close the command prompt or click on the "X" button with the mouse or touch.

This improvement is really nice. There is no reason for anyone disabling this feature. However, if you really need to disable the ability of the command prompt to be closed with Alt + F4 , Microsoft provides a registry tweak.

This is how it can be done

  1. Close all open instances rapid control
  2. Open the Registry Editor
  3. Go to the following path: .. .
     HKEY_CURRENT_USER  Console 

    Tip :. See how to move to the desired Registry key in one click

  4. Create a new 32-bit DWORD value named AllowAltF4Close . Note: If using 64-bit Windows 10, you still need to create a 32-bit DWORD value. Set its value data to 0. Windows 10 disable Alt F4 command prompt

Now, if you open a command prompt, it will not be possible to close it using the Alt + F4 hotkey

Note :. In the command prompt options, it is possible to activate the "legacy" mode of the console: Windows 10 legacy console

When enabled, it disables the free resizing function and Ctrl + C V Alt + F4 keyboard shortcuts at once. Using the described tweak, you'll be able to disable Alt + F4 separately, but keep all other occupations.

As I said earlier, there is really no reason to disable this additional functionality. It is incredibly useful. The purpose of this article was to make you aware that you can finally close the command prompt using Alt + F4 and show you a way to control this behavior.

There.

Previous
Next Post »
0 Komentar