inno 添加卸载菜单
Windows 10 added an option to uninstall apps with a right-click in the Start menu. If you ever find yourself selecting that option accidentally–or if you share your computer and want to prevent others from uninstalling apps by mistake–here’s how to turn that feature off.
Windows 10添加了一个选项,可以通过右键单击“开始”菜单来卸载应用程序。 如果您发现自己不小心选择了该选项,或者共享计算机并希望防止他人错误地卸载应用程序,请按照以下方法关闭该功能。
The Windows 10 Start menu changed a lot from previous versions, and there are all kinds of new tricks for customizing it. You’ve probably noticed that Windows now lets you right-click an app on the Start menu and select “Uninstall” to remove it from your system. When you uninstall a built-in or other Universal app this way, it uninstalls immediately. When you uninstall a desktop app this way, it gives you a little bit of a buffer by sending you to straight to the Control Panel app where you can uninstall it the old-fashioned way. If you’d rather just not have that “Uninstall” option available from the Start menu at all, you can get rid of it with Registry Editor.
Windows 10的``开始''菜单与以前的版本相比发生了很大变化,并且有各种各样的自定义技巧。 您可能已经注意到,Windows现在允许您右键单击“开始”菜单上的应用程序,然后选择“卸载”以将其从系统中删除。 当您以这种方式卸载内置或其他通用应用程序时 ,它将立即卸载。 当您以这种方式卸载桌面应用程序时,它将直接发送到“控制面板”应用程序,您可以在其中以老式的方式卸载它,从而为您提供了一点缓冲。 如果您根本不想从“开始”菜单中使用该“卸载”选项,则可以使用注册表编辑器摆脱它。
通过编辑注册表删除卸载选项 (Remove the Uninstall Option by Editing the Registry)
To remove the ability to uninstall apps by right-clicking them on the Start menu, you’ll need to make a quick change to the Windows Registry.
要通过右键单击“开始”菜单上的应用程序来删除其功能,您需要对Windows注册表进行快速更改。
Standard warning: Registry Editor is a powerful tool and misusing it can render your system unstable or even inoperable. This is a pretty simple hack and as long as you stick to the instructions, you shouldn’t have any problems. That said, if you’ve never worked with it before, consider reading about how to use the Registry Editor before you get started. And definitely back up the Registry (and your computer!) before making changes.
标准警告:注册表编辑器是一个功能强大的工具,滥用它会使您的系统不稳定甚至无法运行。 这是一个非常简单的技巧,只要您按照说明进行操作,就不会有任何问题。 也就是说,如果您以前从未使用过它,请在开始之前考虑阅读有关如何使用注册表编辑器的信息 。 并在进行更改之前一定要备份注册表 (和您的计算机 !)。
Open the Registry Editor by hitting Start and typing “regedit.” Press Enter to open Registry Editor and then give it permission to make changes to your PC.
通过单击开始并键入“ regedit”来打开注册表编辑器。 按Enter打开注册表编辑器,然后授予其对PC进行更改的权限。
In the Registry Editor, use the left sidebar to navigate to the following key:
在注册表编辑器中,使用左侧边栏导航至以下键:
HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows
First, you’ll need to create a new subkey inside the Windows
key. Right-click the Windows
key and choose New > Key. Name the new key “Explorer.”
首先,您需要在Windows
键中创建一个新的子键。 右键单击Windows
键,然后选择“新建”>“键”。 将新密钥命名为“ Explorer”。
Next, you’re going to create a value inside your new Explorer
key. Right-click Explorer and choose New > DWORD (32-bit) Value. Name your new value “NoUninstallFromStart.”
接下来,您将在新的Explorer
键中创建一个值。 右键单击资源管理器,然后选择“新建”>“ DWORD(32位)值”。 将新值命名为“ NoUninstallFromStart”。
Double-click the new NoUninstallFromStart
value to open it’s properties window. Change the value from 0 to 1 in the “Value Data” box and then click “OK.”
双击新的NoUninstallFromStart
值以打开其属性窗口。 在“数值数据”框中将值从0更改为1,然后单击“确定”。
Restart your computer after making the change (or just sign out and back in). The “Uninstall” option should no longer be available on the context menu for apps on the Start menu.
进行更改(或退出后再登录)后,重新启动计算机。 对于“开始”菜单上的应用程序,上下文菜单上的“卸载”选项将不再可用。
If you ever want to reverse the change, just head back into the Registry and change the NoUninstallFromStart
value back to 0. You don’t need to delete the value or the Explorer
key you created. You can leave them in place to make it easier to change the setting again in the future.
如果您想撤消更改,只需回到注册表并将NoUninstallFromStart
值更改回0。您无需删除该值或您创建的Explorer
键。 您可以将它们保留在原处,以便将来更轻松地再次更改设置。
下载我们的一键式技巧 (Download Our One-Click Hacks)
If you don’t feel like diving into the Registry yourself, we’ve created some registry hacks you can use. Inside, you’ll find two Registry hacks named “Remove Uninstall Option From Start Menu Apps” and “Restore Uninstall Option to Start Menu Apps (Default).” Double-click the hack you want to use and click through the prompts. When you’ve applied the hack you want, the changes will take place immediately. No need to restart Windows.
如果您不想自己进入注册表,我们已经创建了一些可以使用的注册表黑客。 在内部,您会发现两个注册表黑客,分别是“从开始菜单应用程序删除卸载选项”和“将卸载选项恢复到开始菜单应用程序(默认)”。 双击要使用的hack,然后单击提示。 应用所需的技巧后,更改将立即进行。 无需重新启动Windows。
These hacks are really just the individual Explorer
subkey, stripped down to the NoUninstallFromStart
value we talked about in the previous section, and then exported to a .REG file. Running either of the hacks sets that value to the appropriate number, and also creates the Explorer
key and NoUninstallFromStart
value if it doesn’t exist. And if you enjoy fiddling with the Registry, it’s worth taking the time to learn how to make your own Registry hacks.
这些hack实际上只是单独的Explorer
子项,被简化为上一节中讨论的NoUninstallFromStart
值,然后导出到.REG文件。 运行任何一个hack都会将该值设置为适当的数字,并创建Explorer
密钥和NoUninstallFromStart
值(如果不存在)。 而且,如果您喜欢使用注册表,则值得花时间学习如何制作自己的注册表黑客 。
翻译自: https://www.howtogeek.com/274233/how-to-remove-the-uninstall-option-from-the-windows-10-start-menu/
inno 添加卸载菜单