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?
4
Author: Egor Trutnev, 2017-05-16
1 answers
1) Adding cmd
to the context menu (original article)
Press the Win keys + R and type
regedit
to start the registry editor.Go to the registry key
HKEY_CLASSES_ROOT\Directrory\shell\cmd
, right-click on the name of the partition, and select the menu item«Разрешения»
.
- In the next window, click Optional.
- Click Edit next to
«Владелец»
.
- 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.
- Select
«Заменить владельца подконтейнеров и объектов»
and«Заменить все записи разрешений дочернего объекта»
, then click Ok and confirm the action.
- You will return to the security settings window of the registry key, select
«Администраторы»
and check«Полный доступ»
, click Ok.
- When you return to the registry editor, right-click on
HideBasedOnVelocityId
(on the right side of the registry editor) and select«Удалить»
.
- Repeat steps
2-8
for sectionsHKEY_CLASSES_ROOT\Directrory\Background\ shell\cmd
andHKEY_CLASSES_ROOT\Drive\shell\cmd
Result with shift + right click`:
2) Replacing PowerShell
in win + x menu
- Open the context menu on the taskbar and select
Параметры панели задач
- In the menu that appears, disable the option
Заменить командную строку оболочкой Windows PowerShell...
Result at win + x:
11
Author: Egor Trutnev, 2017-05-19 23:52:07