Win10 Backup&Restore Start Menu(備份還原開始菜單)


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.
 
 
相關鏈接
 
名稱
    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.
 
 
相關鏈接
    Export-StartLayout
    Start Layout Cmdlets
 
說明:導入時需要指定-MountPath參數,個人理解這個應該就是系統盤的盤符      
           同時,需要指定開始菜單使用配置文件:
                 gpedit.msc-》計算機配置-》管理模板-》“開始”菜單和任務欄-》“開始”屏幕布局;
                將值設置為已配置,並指定“開始”屏幕布局文件為需要恢復文件,應用;                             
           這樣才有效果,之后可以直接編輯訪該布局文件,只不過這樣設置之后不能手動在開始屏幕上用鼠標編輯了,只要將上邊配置的值恢復即可;
       
 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM