在Power User菜单上用Powershell替换命令提示符


2

我想将Power User(Winx)菜单上的Command Prompt选项替换为Powershell的and选项。像许多Windows用户一样,我已经逐渐从使用传统的Windows命令提示符过渡到功能更强大的Powershell。

随着Windows 8中高级用户菜单的引入,我更改缓慢的原因之一是从高级用户菜单访问命令提示符的便利:三个键,一只手(Winxc)。

我正在寻找一种方法

  1. 将Powershell添加到菜单(最好使用等效的键盘快捷键)
  2. 从菜单中删除命令提示符

Answers:


3

右键单击任务栏,然后Properties从菜单中选择。

点击Navigation标签:

在此处输入图片说明

想要第三个复选框。

这适用于Windows 8.1,不确定Windows 8.0。

如果您喜欢PowerShell,可以使用:

New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name DontUsePowerShellOnWinX -PropertyType DWord –Value 0 -force

但是更改注册表不会立即更改菜单,您必须注销然后再次登录。


看来我应该学习
亲吻

1

除了诸如如何在Power User(Win-X)菜单中添加更多内容之类的问题中提到的内容之外,还有一种简便的方法专门用Powershell替换了命令提示符。

为此,所有要做的就是将该reg文件与主注册表合并。

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"DontUsePowerShellOnWinX"=dword:00000000

或导航到HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\AdvancedRegedit内部并将密钥设置DontUsePowerShellOnWinX0

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.