How do I replace PowerShell in the context menu with the command line?

Reinstalled Windows and the command line from the context menu disappeared.
SHIFT+Right Button also does not give anything, there is only PowerShell, how to replace it?

enter a description of the image here

Author: Egor Trutnev, 2017-05-16

1 answers

1) Adding cmd to the context menu (original article)

  1. Press the Win keys + R and type regedit to start the registry editor.

  2. Go to the registry key HKEY_CLASSES_ROOT\Directrory\shell\cmd, right-click on the name of the partition, and select the menu item «Разрешения».

enter a description of the image here

  1. In the next window, click Optional.

enter a description of the image here

  1. Click Edit next to «Владелец».

enter a description of the image here

  1. In the «Введите имена выбираемых объектов» field, enter your user name and click Check the names, and then - Ok. Note: If you are using the Майкрософт account, enter your email address instead of your username.

enter a description of the image here

  1. Select «Заменить владельца подконтейнеров и объектов» and «Заменить все записи разрешений дочернего объекта», then click Ok and confirm the action.

enter a description of the image here

  1. You will return to the security settings window of the registry key, select «Администраторы» and check «Полный доступ», click Ok.

enter a description of the image here

  1. When you return to the registry editor, right-click on HideBasedOnVelocityId (on the right side of the registry editor) and select «Удалить».

enter a description of the image here

  1. Repeat steps 2-8 for sections HKEY_CLASSES_ROOT\Directrory\Background\ shell\cmd and HKEY_CLASSES_ROOT\Drive\shell\cmd

Result with shift + right click`:

enter a description of the image here

2) Replacing PowerShell in win + x menu

  1. Open the context menu on the taskbar and select Параметры панели задач

enter a description of the image here

  1. In the menu that appears, disable the option Заменить командную строку оболочкой Windows PowerShell...

enter a description of the image here

Result at win + x:

enter a description of the image here

 11
Author: Egor Trutnev, 2017-05-19 23:52:07