在Windows 10上,您可以自定义开始菜单(Start menu)。自定义非常容易且多种多样,可帮助您设计最适合您的布局。如果您不喜欢摆弄他的工作设置,您可以锁定开始菜单(Start Menu)的项目和布局,这样其他用户就无法更改它。在本文中,我们将准确地解释这一点。今天,我们将向您展示如何锁定开始菜单(Start Menu)的布局。
让我先谈谈这些定制实际上可能是什么样子。如果您不经常使用默认磁贴或固定您使用的磁贴,您可以取消固定开始菜单上的默认磁贴。(Start Menu)您还可以调整大小和更改其位置以适合您的喜好。
如何在Windows 10/11开始菜单(Start Menu)布局
Windows 10 允许用户锁定开始菜单(Start Menu)布局,因此这些自定义项都不会生效。Start Menu的磁贴只会对调整磁贴大小或固定/取消固定磁贴可能采取的任何操作无响应。取消固定磁贴的选项将消失。此更改可以通过注册表编辑器(Registry Editor)或组策略编辑器(Group Policy Editor)来实现。
阅读(Read):如何使用 PowerShell 在 Windows 10 中导入、导出开始菜单布局(Import, Export Start Menu layout in Windows 10 using PowerShell)。
使用组策略编辑器
使用组策略编辑器(Group Policy Editor)锁定Windows 开始菜单(Windows Start Menu)布局:
- 打开组策略编辑器
- 展开用户配置
- 选择任务菜单和任务栏
- 在右侧,双击Stary Layout
- 选择启用
- 上传 XML 文件
- 单击应用并退出。
This setting lets you specify the Start layout for users and prevents them from changing its configuration. The Start layout you specify must be stored in an XML file that was generated by the Export-StartLayout PowerShell cmdlet. To use this setting, you must first manually configure a device’s Start layout to the desired look and feel. Once you are done, run the Export-StartLayout PowerShell cmdlet on that same device. The cmdlet will generate an XML file representing the layout you configured.
Once the XML file is generated and moved to the desired file path, type the fully qualified path and name of the XML file. You can type a local path, such as C:\StartLayouts\myLayout.xml or a UNC path, such as \\Server\Share\Layout.xml. If the specified file is not available when the user logs on, the layout won’t be changed. Users cannot customize their Start screen while this setting is enabled.
If you disable this setting or do not configure it, the Start screen layout won’t be changed and users will be able to customize it.
就是这样。
阅读(Read):如何通过替换 .xml 文件来自定义 Windows 10 开始布局(customize Windows 10 Start layout by replacing the .xml file)。
使用注册表编辑器
以下是使用注册表(Registry)编辑器锁定Windows 开始菜单(Windows Start Menu)布局所需的步骤:
- 通过运行(Run)命令打开注册表编辑器(Registry Editor)
- 访问Windows文件夹并创建资源管理器(Explorer)键和DWORD值
- 将值大小(Value Size)从 0更改为 1 以激活它
- 重新启动您的 PC 以使更改生效
与往常一样,由于我们在这里对注册表(Registry)进行了更改,因此建议您非常小心并备份您现有的注册表(Registry),以防出现问题。这是你必须做的:
(Press)同时按下Windows和“R”键以打开“运行”(Run)命令,然后在空白字段中输入“Regedit”。这将打开注册表(Registry)编辑器。现在,导航到以下键。
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer
您的注册表可能没有Explorer键,在这种情况下,您可以打开父Windows键并在那里创建一个Explorer键。如果您只想为当前用户帐户锁定开始布局,请复制并粘贴以下位置
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows
但是,如果您希望为所有用户帐户锁定开始菜单,请访问以下键:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\
到达那里后,右键单击空白区域的任意位置以打开上下文菜单,选择New并单击以创建新的Value。将此值命名为Explorer。当您在Explorer键中时,再次选择新建(New)并创建一个DWORD(32 位)值。将此值命名为LockedStartLayout。
现在,右键单击此D-WORD值并选择Modify。将值数据从 0 更改为1并保存这些更改。
要使这些更改生效,您必须重新启动设备或注销并重新登录设备。或者,您也可以重新启动资源管理器(Explorer)或开始菜单(Start Menu)。
一旦你这样做了,所有固定/取消固定或移动应用程序磁贴的选项都将消失。更改相当严格,因为一旦实施,您就无法进行任何修改。如您所见,从好的方面来说,它可以轻松恢复为默认设置。为此,您只需将值数据更改回 0 并重新启动 explorer.exe。
这就是您的磁贴在您右键单击它们、创建和修改“锁定开始菜单(Lock Start Menu)”键后的样子。
我们希望本文对您有所帮助,并且您现在可以在需要时锁定开始菜单(Start Menu)。
相关(Related):如何备份、恢复、重置开始菜单布局。
How to lock Start Menu layout in Windows 10/11
On Windows 10, you haνe the ability to customize your Start menu. The customizations come very easily and variedly, helping you design the layout most suitable for you. If you are someone who doesn’t like to have his work setup played around with, you can lock the items and layout of your Start Menu so that no other user can change it. In this article, we will be explaining exactly that. Today, we’ll show you how you can lock the layout of your Start Menu.
Let me talk a bit about what these customizations may actually look like first. You can unpin the default tiles on your Start Menu if you don’t use them often enough or pin the ones that you do. You can also resize and change their positions to suit your preferences.
How to lock the Start Menu layout in Windows 10/11
Windows 10 allows users to lock the Start Menu layout so none of these customizations can take effect. The Start Menu’s tiles will simply be unresponsive to any actions that one may take to resize or pin/unpin a tile. The options to unpin a tile will vanish. This change can be implemented via the Registry Editor or Group Policy Editor.
Read: How to Import, Export Start Menu layout in Windows 10 using PowerShell.
Using Group Policy Editor
To lock the Windows Start Menu layout using the Group Policy Editor:
- Open Group Policy Editor
- Expand User Configuration
- Select Task Menu and Taskbar
- On the right side, double-click on Stary Layout
- Select Enabled
- Upload the XML file
- Click Apply and exit.
This setting lets you specify the Start layout for users and prevents them from changing its configuration. The Start layout you specify must be stored in an XML file that was generated by the Export-StartLayout PowerShell cmdlet. To use this setting, you must first manually configure a device’s Start layout to the desired look and feel. Once you are done, run the Export-StartLayout PowerShell cmdlet on that same device. The cmdlet will generate an XML file representing the layout you configured.
Once the XML file is generated and moved to the desired file path, type the fully qualified path and name of the XML file. You can type a local path, such as C:\StartLayouts\myLayout.xml or a UNC path, such as \\Server\Share\Layout.xml. If the specified file is not available when the user logs on, the layout won’t be changed. Users cannot customize their Start screen while this setting is enabled.
If you disable this setting or do not configure it, the Start screen layout won’t be changed and users will be able to customize it.
That’s it.
Read: How to customize Windows 10 Start layout by replacing the .xml file.
Using Registry Editor
Here are the steps you need to lock the Windows Start Menu layout using the Registry Editor:
- Open the Registry Editor via the Run command
- Visit the Windows folder and create an Explorer key & DWORD value
- Change the Value Size from 0 to 1 to activate it
- Restart your PC to effect the change
As always, since we’re making changes to the Registry here, you’re advised to be very careful and back up your existing Registry in case something goes wrong. Here’s what you have to do:
Press the Windows and ‘R’ key together to open the Run command and in the blank field type ‘Regedit’. This will open the Registry editor. Now, navigate to the following key.
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer
It is possible that your Registry may not have an Explorer key, in which case you can open the parent Windows key and create an Explorer key there. If you want to lock your start layout only for the current user account, copy and paste the following location
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows
But if you want the start menu to be locked for all user accounts, visit the following key:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\
Once you’re there, right-click anywhere on the blank space to open the context menu, select New and click to create a new Value. Name this value as Explorer. When you’re in the Explorer key, select New again and create a DWORD (32-bit) value. Name this value as LockedStartLayout.
Now, right-click on this D-WORD value and select Modify. Change the value data from 0 to 1 and save these changes.
To make these changes take effect you will have to either restart your device or log off and on to your device. Alternatively, you can restart the Explorer or the Start Menu too.
Once you do so, all the options to pin/unpin or move app tiles will be gone. The change is fairly strict since once implemented, you can’t make any modifications whatsoever. On the bright side, as you can see, it can be easily reverted to its default setting. All you have to do for that is change the value data back to 0 and restart the explorer.exe.
This is what your tiles will look like after you right-click on them, post creating and modifying the Lock Start Menu key.
We hope that this article was of help to you and that you are now able to lock your Start Menu as and when you want to.
Related: How to Backup, Restore, Reset Start Menu layout.