1. win10 shift鼠标右键 cmd变成powershell,改回显示cmd第一步:打开注册表编辑器 win+R 输入 regedit
第二步:找到“计算机\HKEY_CLASSES_ROOT\Directory\Background\shell”
第三步:找到cmd,右键权限,管理员权限设置为“完全控制”
“HideBasedOnVelocityId”重命名“ShowBasedOnVelocityId”,即显示在shift右键菜单中
同理:找到Powershell,右键权限,管理员权限设置为“完全控制”
“ShowBasedOnVelocityId”重命名“HideBasedOnVelocityId”,即隐藏在shift右键菜单中
1.1 显示cmd.regWindows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\cmd]
@="@shell32.dll,-8506"
"Extended"=""
"NoWorkingDirectory"=""
"HideBasedOnVelocityId"=-
"ShowBasedOnVelocityId"=dword:00639bc8
1.2 隐藏PowershellWindows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\Powershell]
&#