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-》計算機配置-》管理模板-》“開始”菜單和任務欄-》“開始”屏幕布局;
將值設置為已配置,並指定“開始”屏幕布局文件為需要恢復文件,應用;
這樣才有效果,之后可以直接編輯訪該布局文件,只不過這樣設置之后不能手動在開始屏幕上用鼠標編輯了,只要將上邊配置的值恢復即可;