Windows 10 cmd вместо powershell

Windows PowerShell is the new avatar of the Command Prompt with lots of new features and capabilities. With the Windows 10 Creators Update, Microsoft replaced CMD with PowerShell. If you are unable to find the option to launch the Command Prompt from the Power User Menu and the Context menu, there are a couple of ways to make things right. In this tutorial, see how we can replace PowerShell with Command Prompt in Windows 10 and Windows 11.

There are more than 18 ways to open the Command Prompt in Windows 10. However, we’ll discuss only 2 of them here. We’ll check out the easy way to replace PowerShell with Command Prompt from Windows settings. In case you want to learn how to open the Command Prompt instead of PowerShell in a folder, you can make changes to the Registry Editor to replace PowerShell with CMD in the Windows context menu.

Don’t Miss: How to Check MD5 Checksum and SHA Hash of a File in Windows

This tip to replace PowerShell with the Command Prompt in the Power User Menu works only in Windows 10. You can follow the quick steps given below to bring back the Command Prompt in the Power User Menu on your Windows PC.

  1. Click Start (Windows logo icon in the bottom-left corner of the screen) and choose Settings.windows start menu
  2. Next, click Personalization. You can directly access the personalization menu by doing a right-click on the desktop screen and selecting the Personalize option.windows 11 settings
  3. Now click Taskbar on the left panel in the Settings window.
  4. After that, click the toggle button below ‘Replace Command Prompt with Windows PowerShell in the menu when I right-click the start button or press Windows Logo Key + X‘ on the right panel.replace powershell with command prompt in windows

Once you have done that the 2 options to open Powershell in the Power User Menu will be replaced by Command Prompt and Command Prompt (Admin) respectively as shown below.

windows power user menu

2. Replace PowerShell with CMD in File Explorer

If you want to open Command Prompt instead of PowerShell in a folder or File Explorer, you’ll need to replace PowerShell with CMD in the right-click Context Menu on your Windows 10 or 11 PC. We can do some tweaks to the Registry Editor to make this happen. Let’s begin.

  1. Press the Windows Logo key on your keyboard, look for the Notepad++ app in the Start menu and open it.open notepad++ in windows 10
  2. Now, copy the following code and paste it into the empty Notepad file.
    Windows Registry Editor Version 5.00
    [HKEY_CLASSES_ROOT\Directory\shell\cmdprompt]
    @="@shell32.dll,-8506"
    "Extended"=""
    "NoWorkingDirectory"=""
    
    [HKEY_CLASSES_ROOT\Directory\shell\cmdprompt\command]
    @="cmd.exe /s /k pushd \"%V\""
    
    [HKEY_CLASSES_ROOT\Directory\Background\shell\cmdprompt]
    @="@shell32.dll,-8506"
    "Extended"=""
    "NoWorkingDirectory"=""
    
    [HKEY_CLASSES_ROOT\Directory\Background\shell\cmdprompt\command]
    @="cmd.exe /s /k pushd \"%V\""
    
    [HKEY_CLASSES_ROOT\Drive\shell\cmdprompt]
    @="@shell32.dll,-8506"
    "Extended"=""
    "NoWorkingDirectory"=""
    
    [HKEY_CLASSES_ROOT\Drive\shell\cmdprompt\command]
    @="cmd.exe /s /k pushd \"%V\""
  3. Click File and choose the Save As… option.save edited registry file
  4. When you click the Save As… option, you’ll be prompted to assign a file name and type. Click the File name section and type ‘cmdfix.reg‘ as the file name. Then click the drop-down icon in front of the Save as type box and select All Files. Finally, Save the file to your preferred location.save edited registry file in windows
  5. Once you have saved the file, navigate to cmdfix.reg and double-click it. When prompted, choose Yes.
  6. Next, you’ll see a pop-up window asking if you want to add the new configuration to the registry. Choose Yes.registry editor tweak to replace powershell with cmd in windows 11
  7. The newly created cmdfix.reg will be added to the registry.registry editing to replace powershell with cmd in windows 11

You have successfully replaced PowerShell with CMD in the Windows 10 or 11 right-click context menu. Do not forget to check out our detailed tutorial on customizing the Windows context menu. You should now be able to open the Command Prompt instead of PowerShell in a folder.

Anyway, if you want to undo the changes made by this registry editor tweak anytime later, just paste the following text into a new notepad file.

Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\Directory\shell\cmd2]

[-HKEY_CLASSES_ROOT\Directory\Background\shell\cmd2]

[-HKEY_CLASSES_ROOT\Drive\shell\cmd2]

[-HKEY_CLASSES_ROOT\LibraryFolder\Background\shell\cmd2]

Make sure you name this notepad file as ‘Defaultcmd.reg‘ and select ‘All Files‘ as the file type before saving it. Double-click the file, and select Yes. Don’t forget to restart your computer at this point.

Don’t Miss: 250+ Keyboard Shortcuts for Windows 10 and 11

3. Edit Registry Entries to Replace PowerShell with CMD

While the trick we mentioned above should work fine, there’s one more way you can use to replace PowerShell with Command Prompt in Windows 10 and 11. This method involves manually editing the registry entries.

  1. Click the Search icon and type “registry” in the text box and click Registry Editor.open registry editor in windows 10
  2. Alternatively, you can open the Run window by pressing Windows Logo Key + R, and type “regedit” to open Registry Editor.open registry editor via run app
  3. Now, navigate to HKEY_CLASSES_ROOT\Directory\shell\cmd.registry editor cmd directory permission change
  4. Right-click on the cmd folder and choose Permissions from the context menu.
  5. When a small window entitled Permissions for cmd pops up, click the Advanced button.
  6.  The Advanced Security Settings window will appear. Click the Change option to change the permission settings for the Owner.advanced security settings windows 11
  7. In the Select User or Group window, click the Advanced button.
  8. In the window that pops up next, click the Find Now button. Then select your user group from the search results and click OK.select user group for permission change in windows 10
  9. When you return back to the Advanced Security Settings for cmd window, check the Replace owner on subcontainers and objects option. Then click Apply and OK respectively.advanced security settings to change command prompt permission in windows 10
  10. Finally, you’ll return to the Permissions for cmd window from where you initially started. Now, select Administrators under Group or user names, and check the Allow box next to Full Control under Permissions for Administrators. Click the Apply button followed by OK. take full control of cmd registry entry
  11. When you come back to HKEY_CLASSES_ROOT\Directory\shell\cmd path in the Registry Editor, right-click on the HideBasedOnVelocityId entry. Choose the Rename option.rename HideBasedOnVelocityId dword in registry editor windows 10
  12. Rename the entry to ShowBasedOnVelocityId.ShowBasedOnVelocityId-dword in registry editor windows 10
  13. As soon as the name of the DWORD entry is changed, PowerShell will be replaced by CMD in the right-click menu in Windows 10 or 11 but you will have to restart your PC first.

Done! Now, open a folder and press the Shift key + right-click. You should be able to open Command Prompt instead of PowerShell in a folder. Actually, you’ll have the option to open PowerShell and Command Prompt both in the context menu in the File Explorer.open command prompt and powershell window in windows 10

In case you want to remove the Open PowerShell window here option from the File Explorer context menu do as directed below. The steps are almost the same as you went through a while ago to replace PowerShell with the Command Prompt in the right-click menu.

  1. Open Registry Editor and navigate to HKEY_CLASSES_ROOT\Directory\shell\PowerShell.
  2. Right-click on PowerShell and then select Permissions from the context menu.
  3. Now repeat Steps 5-10 from above.
  4. After that, right-click on ShowBasedOnVelocityId and rename it to HideBasedOnVelocityId.
  5. The Open Powershell window here option will be removed from the context menu.
  6. Reboot your Windows computer to make the changes you made take effect.

In case you want to replace the Command Prompt with PowerShell in the File Explorer right-click menu, follow the quick steps described below.

  1. Open the Registry Editor and navigate to HKEY_CLASSES_ROOT\Directory\shell\cmd.
  2. Right-click on ShowBasedOnVelocityld and rename it to HideBasedOnVelocityld.
  3. Now, navigate to HKEY_CLASSES_ROOT\Directory\shell\PowerShell, right-click on HideBasedOnVelocityld, and rename it to ShowBasedOnVelocityld.
  4. Finally, restart your PC.

I hope you were able to replace PowerShell with CMD in Windows 10 or 11 (or vice versa) using this tutorial. In case you get stuck at any step and need help or just have something to share about the topic, feel free to drop us a comment.

Also, if you own an old laptop or PC that doesn’t support the Windows 11 upgrade the official way, read our tutorial about installing Windows 11 on unsupported hardware (CPU or TPM).

Read Next: How to Enable God Mode on Windows 10 & 11

Переустановил Windows и пропала командная строка из контекстного меню.
SHIFT+Right Button тоже ничего не дает, там только PowerShell, как его заменить?

введите сюда описание изображения

Egor Trutnev's user avatar

задан 16 мая 2017 в 23:06

E_K's user avatar

1

1) Добавление cmd в контекстное меню (оригинальная cтатья)

  1. Нажмите клавиши Win + R и введите regedit для запуска редактора реестра.

  2. Перейдите к разделу реестра HKEY_CLASSES_ROOT\Directrory\shell\cmd, нажмите правой кнопкой мыши по имени раздела и выберите пункт меню «Разрешения».

введите сюда описание изображения

  1. В следующем окне нажмите кнопку Дополнительно.

введите сюда описание изображения

  1. Нажмите Изменить рядом с пунктом «Владелец».

введите сюда описание изображения

  1. В поле «Введите имена выбираемых объектов» введите имя вашего пользователя и нажмите Проверить имена, а затем — Ок. Примечание: если используется учетная запись Майкрософт, введите адрес электронной почты вместо имени пользователя.

введите сюда описание изображения

  1. Отметьте пункт «Заменить владельца подконтейнеров и объектов» и «Заменить все записи разрешений дочернего объекта», затем нажмите Ок и подтвердите действие.

введите сюда описание изображения

  1. Вы вернетесь в окно параметров безопасности раздела реестра, в нем выберите пункт «Администраторы» и установите отметку «Полный доступ», нажмите Ок.

введите сюда описание изображения

  1. Вернувшись в редактор реестра, нажмите по значению HideBasedOnVelocityId (в правой части редактора реестра) правой кнопкой мыши и выберите пункт «Удалить».

введите сюда описание изображения

  1. Повторите шаги 2-8 для разделов HKEY_CLASSES_ROOT\Directrory\Background\ shell\cmd и HKEY_CLASSES_ROOT\Drive\shell\cmd

Результат при shift + right click`:

введите сюда описание изображения

2) Замена PowerShell в win + x меню

  1. Откройте контекстное меню на панели задач и выберите пункт Параметры панели задач

введите сюда описание изображения

  1. В появившемся меню отключите пункт Заменить командную строку оболочкой Windows PowerShell...

введите сюда описание изображения

Результат при win + x:

введите сюда описание изображения

ответ дан 17 мая 2017 в 0:46

Egor Trutnev's user avatar

Egor TrutnevEgor Trutnev

1,20915 серебряных знаков32 бронзовых знака

1

Валентина: после последних обновлений почему-то в контекстных меню пропала возможность быстрого доступа и запуска Windows PowerShell (имею в виду Win X). У меня такой вопрос: есть ли какой-то не очень сложный способ поменять командную строку на более привычную для меня PowerShell: Вообще, где отыскать такие настройки, или опции…

Иногда приключаются некоторые закавыки, которые нарушают привычную работу за компьютером. Частенько все это происходит, конечно же, и из-за обновлений, либо (что тоже нередко) по вине самого пользователя (когда тот изменил настройки ОС и подзабыл о них…).

Сегодня доподлинно разберемся, каким образом заменить Windows PowerShell на Командную строку и наоборот?

  • заменить командную строку на PowerShell и наоборот — Windows 10

  • как заменить Windows PowerShell на Командную строку (cmd)

  • заменяем командную строку на PowerShell в Windows 10

Одно из встроенных средств Виндовс (разработка Microsoft) с открытым исходным кодом. Оболочка с интерфейсом командной строки (CMD), работающая по сопутствующему языку сценариев. На конференции разработчиков в сентябре 2003 года язык впервые был представлен общественности.

Аналог Командной строки — более современного формата.

Изначально средство (или командный интерпретатор) разрабатывалось как компонент Windows и мело название Windows PowerShell.

вернуться к оглавлению ↑

заменить командную строку на PowerShell и наоборот — Windows 10

Если у нас активна оболочка PowerShell, тогда дела в контекстных меню будут обстоять так, как показано на картинке ниже, а значит запустить полезную утилиту PowerShell будет очень просто:

а) запустить PowerShell возможно так (НЕ от администратора) — нажимаем кнопку на клавиатуре Shift и на пустом месте рабочего стола вызываем контекстное меню (клик правой клавишей мыши).

PowerShell

либо: кликаем одновременно по кнопкам Win + X (коричневая стрелка на картинке ниже) (полезные горячие клавишигорячие клавиши
В статье будет дан список наиболее распространённых комбинаций клавиш компьютера (так называемых — Горячих клавиш) — те используются для быстрого доступа к определённым инструментам той или другой системной программы, да и самой Виндовс. Также рассмотрим важные запросы (команды) к ОС Windows через Командную строку
для более эффективной работы на компьютере).

PowerShell

Откроется, такое меню (его еще называют Win X). Как видим, в опциях есть два варианта запустить, в данном случае, Windows PowerShell — стандартный запуск, и от имени Администратора, что в большинстве случаев предпочтительнее…

вернуться к оглавлению ↑

как заменить Windows PowerShell на Командную строку (cmd)

Чтоб заменить в контекстном меню рабочего стола (и при горячем клике Win + X) на Командную строку (cmd) поступаем таким нехитрым образом:

а) наводим курсор в трее (панель инструментов) на пустое место /коричневая стрелка/и нажимаем правую клавишу мыши…

…откроется такое вспомогательное меню Панели инструментов):

PowerShell

Переходим в меню Параметры, а именно в этом случае войдем в нужный нам конкретный раздел опций Параметры панели задач.

Запустится консоль Параметры. Что нам в нем нужно поправить…

PowerShell

…только и останется сделать, чтобы изменить оболочку Windows PowerShell на Командную строку (либо наоборот), так это то, что перевести радиокнопку в требуемое состояние: вправо или влево (на картинке выше обведено).

Например, мы хотим, чтоб обновленная оболочка Windows PowerShell в контекстных меню (для быстрого запуска) была заменена на Командную строку (cmd), переводим кнопку Влево (не в активное состояние), т.е. отключаем PowerShell.

Получится такая картинка…

PowerShell

вернуться к оглавлению ↑

заменяем командную строку на PowerShell в Windows 10

…ну и как понимаете, чтобы, соответственно, заменить командную строку на PowerShell в Windows 10 потребуется совершить все описанные шаги выше — как говорится, от обратного.

как эпилог высказанному:

Теперь вы можете работать с Командной строкой прямо из контекстных меню: Win + X или меню рабочего стола. А уж с каким из инструментов ОС Windows (PowerShell или командной строкой) предпочтительнее для вас работать, придется выбирать лично!.. Советы, в данном случае, излишни.

Оба инструмента призваны решать по сути одни и те же задачи. PowerShell считается наиболее продвинутым, современным, а потому несколько обширнее возможности.

Путь до необходимых опций: Win + I / Параметры / Персонализация / Панель задач

Напоминаю, для большинства запросов (команд) правильнее всего запускать Командную строку (да и Windows PowerShell) от имени Администратора! НЕ забывайте..!

Желаю вам всяческих успехов..! и, конечно же, читайте наш сайт Комплитра.

Если что-то не ясно и остались вопросы, делитесь ими в комментариях…

все статьи: Сергей Кролл ATs владелец, автор cайта COMPLITRA.RU
…веб разработчик студии ATs media — запросто с WordPress
занимаюсь с 2007-года веб разработкой — преимущественно работаю с WordPress в студии ATs media

With the Creator’s Update, Microsoft removed CMD from the Start menu and instead introduced PowerShell. PowerShell is a more advanced command shell. Microsoft claims PowerShell is better than CMD as it lets users execute the same commands that ran in CMD and more.

Difference Between The Command Prompt And PowerShell

Command Prompt is a command line interpreter for Microsoft Windows. It is used to automate the system related tasks using script and batch files. It is used to issue commands to the system like Copy, Paste and Delete. CMD has built-in commands to execute various tasks that can be executed if run as Administrator.

  • PowerShell is a more advanced version of Command Prompt. It is used to run external programs like ping or copy. It is also used to automate various system administration tasks that are not accessible from CMD.exe.

PowerShell is a scripting designed with system administrators in mind and is used to perform administrative tasks on multiple Operating Systems. It invokes a rich set of commands within the automation context that enables administration in Windows. It is a more powerful command line interpreter that interprets both Batch commands and PowerShell commands.

How To Bring Back PowerShell In WinX Menu

If you like using CMD over PowerShell, there are different methods available to bring back PowerShell. Here I’ll list the various methods to replace PowerShell with CMD.

 Method 1 (Using Taskbar Properties)

To replace PowerShell with CMD in Windows Menu:

  1. Right-click on Windows 10 Taskbar and select Properties.

Replace Command Prompt With Power Shell

2. The right pane, toggle the button next to Replace Command Prompt with Windows PowerShell in the menu when I right-click the Start button or press Win + X to off.

Windows Power Shell Vs Command Prompt

When you exit the settings window, PowerShell will be replaced with CMD.

How To Bring Back PowerShell In Context Menu

You can also use this second method to bring back Powershell in context menu if you have mistakenly lost it.

 Method 2 (Using Registry Editor)

The Context Menu shows up when you press Shift + Right Click in a directory. Replacing PowerShell in context menu requires a change in the registry. I’ll show the method to replace PowerShell with CMD in the context menu.

  • Note: making changes to the registry can damage your computer if not done correctly. I recommend creating a backup of your registry in case something goes wrong.
  1. Open Notepad as Administrator by right clicking on the search query.
  2. Paste the following text in the editor.


Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\cmdprompt]
@="@shell32.dll,-8506"
"Extended"=""
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\Directory\shell\cmdprompt\command]
@="cmd.exe /s /k pushd \"%V\""

[HKEY_CLASSES_ROOT\Directory\Background\shell\cmdprompt]
@="@shell32.dll,-8506"
"Extended"=""
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\Directory\Background\shell\cmdprompt\command]
@="cmd.exe /s /k pushd \"%V\""

[HKEY_CLASSES_ROOT\Drive\shell\cmdprompt]
@="@shell32.dll,-8506"
"Extended"=""
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\Drive\shell\cmdprompt\command]
@="cmd.exe /s /k pushd \"%V\""

      3. Open the Save Click on Save As. Name the file CMDregedit.reg

      4. Choose the location where you want to save it. Click on save. Remember the extension should be .reg only.

      5. Double click on the .reg file you just created. Click on Yes in the User Account Control prompt.

This will merge the registry file you created with your existing registry. You need to restart the File Explorer from Task Manager.  Following this, in the context menu, CMD will appear instead of PowerShell.

Alternatively, you can manually edit registry values. Next, I’ll show you how to use registry editor manually to replace PowerShell with CMD.

Method 3 (Using Registry Editor- Alternate method) 

  1. Open Registry Editor using Run. Press Win + R and type regedit, press Enter.

regedit

  2. Navigate to the following path, or paste it in the address bar of the registry editor:

Computer\HKEY_CLASSES_ROOT\Directory\Background\shell

 3. Find CMD in the left pane. Right click on the key and select Permissions.

 4. Select Advanced.

 5. Select the Change button next to Owner on top of Advanced.

 6. In the input field, enter your username (or your Microsoft e-mail address). Press Enter.

 7. Back in the Permissions window; select Administrators from the top section, Select Full Control from the bottom section. Select Apply

Permissions For CMD

 8. Delete the DWORD HideBasedOnVelocityId in the CMD pane.

registry_editor

9. Change the same Permissions for PowerShell Follow the same steps as above.

Permissions For POwer Shell

10. After you change Full Control Permissions, create a DWORD (32-bit) Value entry and name it HideBasedOnVelocityId

11. Double click the entry you just created, and change its hexadecimal value to 639bc8

Hidebasedonvelocity12.  Restart the File Explorer from the Task manager.

Following this, you have replaced PowerShell with CMD in the context menu.

Conclusion

Even though Microsoft claims the PowerShell to be more powerful, there is a nostalgia factor associated with the CMD. Using the methods given above, you now know how to bring back CMD instead of PowerShell in the Context menu and the Windows (WinX) Menu in Windows 10. Did you find any of these methods helpful? Comment below if you replaced the PowerShell with CMD.

Replace PowerShell with Command Prompt in Context Menu in Windows 10: If you have recently updated to Windows 10 latest Creators Update then you may have already notice that when you press Shift and right-click on any folder the option “Open command window here” has been replaced by “Open PowerShell window here.” While many people don’t know what powershell is, how Microsoft is expecting them to use this functionality? Well, that’s why we have put together this guide which will show you how to add the option “Open command window here” in the File Explorer context menu again.

Replace PowerShell with Command Prompt in Context Menu in Windows 10

Also, the option for Command Prompt in Start Menu is replaced by PowerShell with the latest Creators Update but thankfully it can be restored via Windows Settings. But sadly there is no option/settings to replace the “open command window here” option from the right-click context menu on Windows 10. So without wasting any time let’s see how to actually Replace PowerShell with Command Prompt in Context Menu in Windows 10 with the help of the below-listed guide.

Table of Contents

Make sure to create a restore point just in case something goes wrong.

Method 1: Use Registry Fix

Note: If you don’t want to use this method then you could try the method 2 which lets you manually edit the Registry entries in order to fix the issue.

1.Open empty Notepad file and then paste the following text as it is:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\cmdprompt]
@="@shell32.dll,-8506"
"Extended"=""
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\Directory\shell\cmdprompt\command]
@="cmd.exe /s /k pushd \"%V\""

[HKEY_CLASSES_ROOT\Directory\Background\shell\cmdprompt]
@="@shell32.dll,-8506"
"Extended"=""
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\Directory\Background\shell\cmdprompt\command]
@="cmd.exe /s /k pushd \"%V\""

[HKEY_CLASSES_ROOT\Drive\shell\cmdprompt]
@="@shell32.dll,-8506"
"Extended"=""
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\Drive\shell\cmdprompt\command]
@="cmd.exe /s /k pushd \"%V\""

2.Click File then Save as from the Notepad menu.

From Notepad menu click File then click on Save As

3.From Save as type drop-down select “All Files.

4.Type the name of the file as cmdfix.reg (.reg extension is very important).

From Save as type drop-down select All Files and then type the name of the file as cmdfix.reg

5.Now navigate to the location where you want to save the file and then click Save.

6.Double-click the file then click Yes to continue and this would add the option “Open command window here” in the context menu.

Double click the reg file to run and then select Yes in order to continue

7.Now if you want to remove the “Open command window here” option from the context menu then open the notepad file and paste the below content in it:

Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\Directory\shell\cmd2]

[-HKEY_CLASSES_ROOT\Directory\Background\shell\cmd2]

[-HKEY_CLASSES_ROOT\Drive\shell\cmd2]

[-HKEY_CLASSES_ROOT\LibraryFolder\Background\shell\cmd2]

8.Select the Save as type as “All Files.” and name the file as Defaultcmd.reg.

9.Click Save and double click on the file in order to remove the option from the context menu. Now, this would Replace PowerShell with Command Prompt in Context Menu if not then continue to the next method.

Method 2: Manually create registries entries

1.Press Windows Key + R then type regedit and hit Enter to open Registry Editor.

Run command regedit

2.Navigate to the following registry path:

HKEY_CLASSES_ROOT\Directory\shell\cmd

3.Right-click on the cmd folder and then click on Permissions.

Right-click on the cmd folder and then click on Permissions

4.Now under the Security tab click the Advanced button.

Now under the Security tab click the Advanced button

5.On Advanced Security Settings window click Change next to Owner.

click Change under Owner

6.From Select User or Group window again click Advanced.

select user or a group advanced

7.Now click Find Now and then select your user account from the list and then click OK.

Click Find Now on the right-hand side and select the username then click OK

8.Once you have added your user account then check mark “Replace owner on subcontainers and objects.

Once you have added your user account then check mark Replace owner on subcontainers and objects

9.Click Apply followed by OK.

10.You will again be taken to the Permissions window, from there select Administrators and then under permissions check mark Full Control.

Select Administrators and then under permissions check mark Full Control

11.Click Apply followed by OK.

12.Now inside the cmd folder, right-click on the HideBasedOnVelocityId DWORD, and select Rename.

Right-click on the HideBasedOnVelocityId DWORD, and select Rename

13.Rename the above DWORD to ShowBasedOnVelocityId, and press Enter.

Rename the above DWORD to ShowBasedOnVelocityId, and press Enter

14.This would enable the “Open command window here” option as soon as you close the Registry Editor.

15.If you want to revert back then simply rename the DWORD again to HideBasedOnVelocityId. Again check and see if you are able to successfully Replace PowerShell with Command Prompt in Context Menu in Windows 10.

How to remove Open PowerShell window here from the context menu in Windows 10

Even though following above steps seems to bring back the “Open command window here” option in the right click context menu but you would still see the “Open PowerShell window here” option and in order to remove it from the context menu follow the below-listed steps.

1.Press Windows Key + R then type regedit and hit Enter.

Run command regedit

2.Navigate to the following registry path:

HKEY_CLASSES_ROOT\Directory\shell\PowerShell

3.Right-click on PowerShell and then select Permissions.

Right-click on PowerShell and then select Permissions

4.Click Advanced button under permission window.

5.On Advanced Security Settings window click Change next to Owner.

click Change under Owner

6.From Select User or Group window again click Advanced.

select user or a group advanced

7.Now click Find Now and then select your user account from the list and then click OK.

Click Find Now on the right-hand side and select the username then click OK

8.Once you have added your user account then check mark “Replace owner on subcontainers and objects.

Once you have added your user account then check mark Replace owner on subcontainers and objects

9.Click Apply followed by OK.

10.You will again be taken to the Permissions window, from there select Administrators and then under permissions check mark Full Control.

Select Administrators and then under permissions check mark Full Control

11.Click Apply followed by OK.

12.Now inside the PowerShell folder, right-click on the ShowBasedOnVelocityId DWORD, and select Rename.

Now inside the PowerShell folder, right-click on the ShowBasedOnVelocityId DWORD, and select Rename

13.Rename the above DWORD to HideBasedOnVelocityId, and press Enter.

Rename the above DWORD to HideBasedOnVelocityId, and press Enter

14.This would disable the “Open PowerShell window here” option as soon as you close the Registry Editor.

15.If you want to revert back then simply rename the DWORD again to ShowBasedOnVelocityId.

Recommended for you:

  • How to Move Windows 10 Apps to Another Drive
  • How to Extend System Drive Partition (C:) in Windows 10
  • Replace Powershell with Command Prompt in the Windows 10 Start Menu
  • How to change the default Installation Directory in Windows 10

That’s it, you have successfully Replace PowerShell with Command Prompt in Context Menu in Windows 10 but if you still have any queries regarding this article then please feel free to ask them in the comment’s section.

  • Windows 10 core 2 duo e8500
  • Windows 10 classic task manager
  • Windows 10 cmd set proxy
  • Windows 10 control parental control
  • Windows 10 contra как удалить