Windows 7中的“游戏(Games)”面板非常棒,但它确实存在一个问题:在安装和卸载一些游戏后,您最终可能会拥有不再有效且无法轻松删除的剩余快捷方式。如果您遇到此问题,本指南将介绍一些删除这些无效快捷方式的方法。
问题(Problem)-游戏面板(Games Panel)中的快捷方式无效(Invalid Shortcuts)
如果您安装和卸载大量游戏,并且还使用Steam等游戏的数字分发服务,您最终可能会在“(Steam)游戏(Games)”面板中弄得一团糟。一些快捷方式看起来不错并且可以正常工作,而另一些则不会,它们看起来好像是无效的快捷方式。
删除无效的快捷方式(Invalid Shortcuts)- 简单的方法(Way)
通常,所有快捷方式都有一个上下文右键单击菜单(right click menu)。如果您右键单击快捷方式,您应该会看到一个类似于下图的菜单,其中还包括从列表中删除(Remove From List)选项。单击(Click)它,快捷方式消失了。
如果右键单击快捷方式时未显示此菜单,则下一步是打开Windows 资源管理器(Windows Explorer)并确保显示隐藏的文件和文件夹。这是从文件夹选项(Folder Options)启用的。这是一个展示如何使用它的指南:如何使用文件夹选项改进 Windows 资源管理器(Windows Explorer Using Folder Options)。
然后,浏览到以下文件夹“C:ProgramDataMicrosoftWindowsStart MenuProgramsGames”并查找要删除的无效快捷方式。如果它们在那里,请删除它们。如果不是……那么您应该阅读下一节中的建议。
删除无效的快捷方式(Invalid Shortcuts)-艰难的方式(Hard Way)
如果上一节中详述的步骤没有帮助,那么只有一种方法可以摆脱无效的快捷方式:使用 regedit.exe编辑Windows 注册表。(Windows Registry)
在你这样做之前,最好做一个系统还原点,(system restore point)以便在遇到问题时可以恢复。我们在此处发布了有关创建还原点(restore point)的完整指南:
什么是系统还原以及如何(System Restore and How)创建还原点(Restore Point)。
最后一个警告:(ONE LAST WARNING:)如果您遵循此程序,请确保您只删除与您的游戏相关的注册表项,不要删除其他任何内容。本指南按“原样”提供,不提供任何保证。如果您删除了错误的密钥并遇到系统问题,我们将不承担任何责任。
现在,在 Windows 7开始菜单(Start Menu)中搜索单词“regedit” ,然后单击regedit.exe搜索结果。
然后,在注册表编辑器(Registry Editor)窗口的左侧,导航到以下位置:“HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionGameUX”。
在那里你会发现一些文件夹:一个名为Games,另一个名为Machine Settings,还有一些以S-1开头的文件夹,后面是一长串随机的数字。
在Games文件夹中,存储了有关您使用Windows 7安装的游戏的信息。最好不要摆弄这个文件夹。
您感兴趣的文件夹是以S-1-(S-1-)开头的文件夹。它们有子文件夹,其中包含有关您在安装Windows后安装的游戏的注册表项。以S-1-(S-1-)开头的文件夹数量等于Windows 7 上现有的用户帐户数量。每个(user account)用户帐户(user account)都有一个这样的文件夹。如果一个无效的快捷方式存在于您的用户帐户(user account)之外,您还应该查找存在于其他用户帐户(user account)的条目。
如果单击每个子文件夹,您将在右侧面板上看到带有信息的键,包括游戏的标题(Title)或其ConfigApplicationPath - 其快捷方式指向的位置。
当您使用要删除的无效快捷方式识别游戏时,右键单击左侧面板上的文件夹,然后单击(panel and click) Delete。在执行此操作之前,请仔细检查您是否删除了正确的文件夹。
删除无效游戏快捷方式(game shortcut)的文件夹后,刷新“游戏(Games)”面板,该快捷方式应该不再可用。
结论
正如您从本指南中看到的那样,从“游戏(Games)”面板中删除无效的快捷方式有时会很痛苦。但是,如果您注意本指南并遵循我们的建议,您应该能够相对快速地删除它们。
How to Delete Troublesome & Invalid Shortcuts from the Games Panel
The Games panel in Windows 7 is pretty awesome but it does have one issue: after you install and uninstall a few games, you can end-up having leftover shortcuts that are no longer valid and cannot be removed with ease. If you encounter this problem, this guide shows a few ways to remove these invalid shortcuts.
The Problem - Invalid Shortcuts in the Games Panel
If you install and uninstall lots of games and you also use digital distribution services for games, such as Steam, you can end-up having a mess in the Games panel. Some shortcuts will look good and work OK while others won't and they look as if they are invalid shortcuts.
Deleting Invalid Shortcuts - The Easy Way
Generally, all shortcuts have a contextual right click menu. If you right click on a shortcut, you should see a menu similar to the one below, which includes also the Remove From List option. Click on it and the shortcut is gone.
If this menu doesn't show up when you right click on a shortcut, the next step is to open Windows Explorer and make sure hidden files and folders are displayed. This is enabled from Folder Options. Here's a guide showing how to use it: How to Improve Windows Explorer Using Folder Options.
Then, browse to the following folder "C:ProgramDataMicrosoftWindowsStart MenuProgramsGames" and look for the invalid shortcuts you want removed. If they are there, delete them. If not... then you should read the advice in the next section.
Deleting Invalid Shortcuts - The Hard Way
If the steps detailed in the previous section don't help, then there's only one way left to get rid of the invalid shortcuts: editing the Windows Registry with regedit.exe.
Before you do it, it is best to make a system restore point so that you can revert back if you encounter problems. We have a complete guide on creating a restore point, published here:
What is System Restore and How to Create a Restore Point.
ONE LAST WARNING: If you follow this procedure make sure you delete only registry keys related to your games and nothing else. This guide is provided "as-is" without any warranties. If you delete the wrong keys and encounter problems with your system, we are not to be held responsible.
Now, search for the word "regedit" in the Windows 7 Start Menu and click on the regedit.exe search result.
Then, on the left side of the Registry Editor window, navigate to the following location: "HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionGameUX".
There you will find a few folders: one named Games, another named Machine Settings and a few others starting with S-1 followed by a long and random string of numbers.
In the Games folder there is information stored about the games you have installed with Windows 7. It is best not to fiddle with this folder.
The folders that interest you are those that start with S-1-. They have subfolders with registry keys about the games you installed after installing Windows. The number of folders that start with S-1- is equal to the number of user accounts existing on your Windows 7. There is one such folder for each user account. If an invalid shortcut exists for more than your user account, you should look also for the entries that exist for other user accounts.
If you click on each subfolder, you will see on the right-side panel keys with information, including the Title of the game or its ConfigApplicationPath - the location where its shortcut points to.
When you identify the game with the invalid shortcut you want to remove, right click on its folder on the left-side panel and click Delete. Before doing this, double check that you are deleting the correct folder.
Once you have deleted the folder for the invalid game shortcut, refresh the Games panel and the shortcut should no longer be available.
Conclusion
As you can see from this guide, deleting invalid shortcuts from the Games panel can be a pain at times. However, if you pay attention to this guide and follow our recommendations, you should be able to remove them relatively fast.