您的位置:首页 > 其它

Win10 Backup&Restore Start Menu(备份还原开始菜单)

2015-09-16 12:48 267 查看
Win10 的开始菜单,不是很稳定!系统装完4天,开始乱了3次,要知道我的开始菜单全屏并且进过尽心布局的,很是心酸!
连着找了几天备份开始菜单的方法,无果!后来发现了下边两个PowerShell命令,试了一下 Very Good!

PowerShell-》Export-StartLayout & Import-StartLayout

名称
Export-StartLayout

摘要
Exports the layout of the Start screen.

语法
Export-StartLayout [-Path] <String> [-InformationAction {SilentlyContinue | Stop | Continue | Inquire | Ignore | Su
spend}] [-InformationVariable [<System.String>]] [-Confirm] [-WhatIf] [<CommonParameters>]

Export-StartLayout [-LiteralPath] <String> [-InformationAction {SilentlyContinue | Stop | Continue | Inquire | Igno
re | Suspend}] [-InformationVariable [<System.String>]] [-Confirm] [-WhatIf] [<CommonParameters>]

说明
The Export-StartLayout cmdlet exports the layout of the tiles on Start of the current user. You can export layout a
nd use Import-StartLayout as well as other management policies for the Start layout. Specify the .xml file extensio
n in the name of the file.

相关链接
Online Version: http://go.microsoft.com/fwlink/?LinkID=294168

名称
Import-StartLayout

摘要
Imports the layout of the Start into a mounted Windows image.

语法
Import-StartLayout [-LayoutPath] <String> [-MountPath] <String> [-InformationAction {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend}] [-InformationVariable [<System.String>]] [-Confirm] [-WhatIf] [<CommonParameters>
]

Import-StartLayout [-LayoutLiteralPath] <String> [-MountLiteralPath] <String> [-InformationAction {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend}] [-InformationVariable [<System.String>]] [-Confirm] [-WhatIf] [<Com
monParameters>]

说明
The Import-StartLayout cmdlet imports the specified layout of Start into a mounted Windows image. When you import a layout, it replaces the existing layout of Start. Before you use this cmdlet, mount the Windows image file to import
the layout into.

You must have administrator rights to import a layout.

The Export-StartLayout cmdlet exports layouts as .xml files, and the Import-StartLayout cmdlet imports only .xml files.

相关链接
Online Version: http://go.microsoft.com/fwlink/?LinkID=294167
Export-StartLayout
Start Layout Cmdlets

说明:导入时需要指定-MountPath参数,个人理解这个应该就是系统盘的盘符
同时,需要指定开始菜单使用配置文件:
gpedit.msc-》计算机配置-》管理模板-》“开始”菜单和任务栏-》“开始”屏幕布局;
将值设置为已配置,并指定“开始”屏幕布局文件为需要恢复文件,应用;
这样才有效果,之后可以直接编辑访该布局文件,只不过这样设置之后不能手动在开始屏幕上用鼠标编辑了,只要将上边配置的值恢复即可;

原:/article/5364307.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: