- How to return the ‘Open command window here’ option to Windows 10’s context menu
- How to add ‘Open command window here’ to the context menu
- Adding ‘Open command window here’ to the folder context menu
- Adding ‘Open command window here’ to the background context menu
- How to remove ‘Open PowerShell window here’ from the context menu
- Wrapping things up
- More Windows 10 resources
- The Dell XPS 15 is our choice for best 15-inch laptop
- Halo: MCC’s live service elements make it better, not worse
- Microsoft’s Surface Duo is not ‘failing up’
- These are the best PC sticks when you’re on the move
- Как вернуть «Открыть окно команд» в проводнике Windows 10
- Возвращаем пункт «Открыть окно команд» с помощью редактора реестра
- Дополнительная информация
How to return the ‘Open command window here’ option to Windows 10’s context menu
On Windows 10, Microsoft continues to fade out Command Prompt in favor of PowerShell. Although you can still use the console, you’ll notice that the option is no longer available on the Power User menu (Windows key + X), on the File menu for File Explorer, or in the extended context menu (Shift + Right-click).
While there is an option in the Settings app to add Command Prompt to the Power User menu, you won’t find an option to bring it back to the extended context menu. However, it’s still possible to re-incorporate the option in Windows 10, if you’re comfortable modifying the Registry.
In this Windows 10 guide, we walk you through the steps to bring back the «Open command window here» option to the context menu.
How to add ‘Open command window here’ to the context menu
Adding the «Open command window here» to the extended-folder context menu is a two-step process. First, you need to bring back the option when you open the menu when right-clicking a folder, and second, using similar steps, you need to return the option when right-clicking the background of a folder.
Adding ‘Open command window here’ to the folder context menu
In order to re-incorporate the option to launch Command Prompt on the extended context menu, you’ll need to modify the Registry using the following steps:
Warning: This is a friendly reminder that editing the registry is risky, and it can cause irreversible damage to your installation if you don’t do it correctly. We recommend making a full backup of your PC before proceeding.
If you’re ready, follow these steps:
- Use the Windows key + R keyboard shortcut to open the Run command.
- Type regedit, and click OK to open the Registry.
Browse the following path:
Right-click the cmd (folder) key, and click Permissions.
Click the Advanced button.
On «Advanced Security Settings,» click the Change link next to «Owner.»
Type your account name in the provided field, click Check Names to verify you’re typing the account name correctly, and click OK.
Check the Replace owner on subcontainers and objects option.
Under «Permissions for Administrators,» select Allow for the Full Control option.
Change the DWORD name from HideBasedOnVelocityId to ShowBasedOnVelocityId, and press Enter.
Once you complete these steps, using the Shift + Right-click combo on a folder will display the «Open command window here» option.
At any time, you can revert the changes following the same instructions, but on step No. 16, make sure to rename the DWORD from from ShowBasedOnVelocityId to HideBasedOnVelocityId, and press Enter.
Adding ‘Open command window here’ to the background context menu
The instructions mentioned above add the option to open Command Prompt on the folder context menu, but not when you Shift + right-click the background of the folder that is currently open.
If you want to Shift + right-click a background to open the location using Command Prompt, you need to follow these extra steps:
- Use the Windows key + R keyboard shortcut to open the Run command.
- Type regedit, and click OK to open the Registry.
Browse the following path:
Right-click the cmd (folder) key, and click Permissions.
Click the Advanced button.
On «Advanced Security Settings,» click the Change link next to «Owner.»
Type your account name in the provided field, click Check Names to verify you’re typing the account name correctly, and click OK.
Check the Replace owner on subcontainers and objects option.
Under «Permissions for Administrators,» select Allow for the Full Control option.
Change the DWORD name from HideBasedOnVelocityId to ShowBasedOnVelocityId, and press Enter.
Once you complete these steps, when using the Shift + right-click combo on a folder background you will see the «Open command window here» option.
You can revert the changes following the same instructions, but on step No. 16, make sure to rename the DWORD from from ShowBasedOnVelocityId to HideBasedOnVelocityId, and press Enter.
How to remove ‘Open PowerShell window here’ from the context menu
You’ll also notice that using the above steps will bring back the «Open command window here,» but it’ll keep the «Open PowerShell window here» too.
If you want to remove the PowerShell entry from the extended context menu, do the following:
- Use the Windows key + R keyboard shortcut to open the Run command.
- Type regedit, and click OK to open the Registry.
Browse the following path:
Right-click the PowerShell (folder) key, and click Permissions.
Click the Advanced button.
On «Advanced Security Settings,» click the Change link next to «Owner».
Type your account name in the provided field, click Check Names to verify you’re typing the account name correctly, and click OK.
Check the Replace owner on subcontainers and objects option.
Under «Permissions for Administrators,» select Allow for the Full Control option.
Change the DWORD name from ShowBasedOnVelocityId to HideBasedOnVelocityId, and press Enter.
After completing these steps, using Shift + Right-click will only show the «Open command window here» option.
To bring back the PowerShell option, follow the same instructions, but on step No. 16, make sure to rename the DWORD from HideBasedOnVelocityId to ShowBasedOnVelocityId, and press Enter.
Wrapping things up
While you can run the majority of the commands using PowerShell, a lot of people still prefer Command Prompt, and the context menu option provides a quick way to open the utility in a specific location without having to type a long command to navigate to a folder path. But now, thanks to a hidden option in the Registry, you can bring that experience back to Windows 10.
More Windows 10 resources
For more help articles, coverage, and answers to common questions about Windows 10, visit the following resources:
The Dell XPS 15 is our choice for best 15-inch laptop
For a lot of people, a 15-inch laptop is a perfect size that offers enough screen for multitasking, and in a lot of cases, some extra performance from powerful hardware. We’ve rounded up the best of the best at this size.
Halo: MCC’s live service elements make it better, not worse
Halo: The Master Chief Collection is more popular than ever, but some fans don’t agree with the live service approach 343 Industries has taken with it. Here’s why those elements are, at the end of the day, great for the game and for Halo overall.
Microsoft’s Surface Duo is not ‘failing up’
Microsoft announced this week that it was expanding Surface Duo availability to nine new commercial markets. While Surface Duo is undoubtedly a work in progress, this is not a sign of a disaster. It’s also doesn’t mean that Surface Duo is selling a ton either. Instead, the reason for the expansion is a lot more straightforward.
These are the best PC sticks when you’re on the move
Instant computer — just add a screen. That’s the general idea behind the ultra-portable PC, but it can be hard to know which one you want. Relax, we have you covered!
Как вернуть «Открыть окно команд» в проводнике Windows 10
В Windows 10 версии 1703 пункт «Командная строка» в контекстном меню «Пуск» изменился на PowerShell, а пункт контекстного меню проводника (который появляется, если удерживать Shift при нажатии правой кнопки мыши) «Открыть окно команд» — на «Открыть окно PowerShell здесь». И если первое легко меняется в Параметры — Персонализация — Панель задач (пункт «Заменить командную строку оболочкой Windows PowerShell»), то второе при изменении данной настройки не изменяется.
В этой инструкции — пошагово о том, как вернуть пункт «Открыть окно команд» Windows 10, вызываемое в Проводнике при вызове контекстного меню с удерживанием клавиши Shift и служащий для запуска командной строки в текущей папке (если вызывать меню в пустом месте окна проводника) или в выбранной папке. См. также: Как вернуть панель управления в контекстное меню Пуск Windows 10.
Возвращаем пункт «Открыть окно команд» с помощью редактора реестра
Для того, чтобы вернуть указанный пункт контекстного меню в Windows 10, проделайте следующие действия:
- Нажмите клавиши Win+R и введите regedit для запуска редактора реестра.
- Перейдите к разделу реестра HKEY_CLASSES_ROOT\Directory\shell\cmd, нажмите правой кнопкой мыши по имени раздела и выберите пункт меню «Разрешения».
- В следующем окне нажмите кнопку «Дополнительно».
- Нажмите «Изменить» рядом с пунктом «Владелец».
- В поле «Введите имена выбираемых объектов» введите имя вашего пользователя и нажмите «Проверить имена», а затем — «Ок». Примечание: если используется учетная запись Майкрософт, введите адрес электронной почты вместо имени пользователя.
- Отметьте пункт «Заменить владельца подконтейнеров и объектов» и «Заменить все записи разрешений дочернего объекта», затем нажмите «Ок» и подтвердите действие.
- Вы вернетесь в окно параметров безопасности раздела реестра, в нем выберите пункт «Администраторы» и установите отметку «Полный доступ», нажмите «Ок».
- Вернувшись в редактор реестра, нажмите по значению HideBasedOnVelocityId (в правой части редактора реестра) правой кнопкой мыши и выберите пункт «Удалить».
- Повторите шаги 2-8 для разделов HKEY_CLASSES_ROOT\Directory\Background shell\cmd и HKEY_CLASSES_ROOT\Drive\shell\cmd
По завершении указанных действий, пункт «Открыть окно команд» вернется в том виде, в котором ранее присутствовал в контекстном меню проводника (даже без перезапуска explorer.exe или перезагрузки компьютера).
Дополнительная информация
- Существует дополнительная возможность открыть командную строку в текущей папке в проводнике Windows 10: находясь в нужной папке, введите в адресную строку проводника cmd и нажмите Enter.
Окно команд можно открывать и на рабочем столе: Shift + правый клик мышью — выбор соответствующего пункта меню.
А вдруг и это будет интересно:
Почему бы не подписаться?
Рассылка новых, иногда интересных и полезных, материалов сайта remontka.pro. Никакой рекламы и бесплатная компьютерная помощь подписчикам от автора. Другие способы подписки (ВК, Одноклассники, Телеграм, Facebook, Twitter, Youtube, Яндекс.Дзен)
04.01.2021 в 03:28
Создаем текстовый файл:
Сохраняем с расширением .reg и запускаем. Соглашаемся на внесение изменений в реестр. И готово. Теперь, щелкнув правой кнопкой в любой папке, можно вызвать консоль.
Командная строка из любого места Windows, Твики, Консоли
28.01.2021 в 12:31
привет.. сделал рег файл.. все работает.. только в контекстном меню кракозяры!!