如何備份Windows 10開始功能表佈局?

如何備份Windows 10開始功能表佈局?

我有 3 台 Windows 10 設備,我想在每台設備上備份和匯入開始功能表佈局,因為 Windows 10 不支援佈局同步。

我找到的大多數解決方案僅適用於 Windows 8。

一個網站向我展示了一種使用以下命令匯出佈局的方法:

Export-StartLayout -Path C:\StartLayout.XML

但沒有關於如何導入它!

我試過本文提到的步驟他們都向我展示了這個錯誤

Export-StartLayout : A parameter cannot be found that matches parameter name 'as'
At line:1 char:20
+ export-startlayout -as bin -path c: \customstartscreenlayout.bin ?ver ...
+                    ~~~
+ CategoryInfo          : InvalidArgument: (:) [Export-StartLayout], ParameterBindingException

+ FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.Windows.StartLayout.Commands.ExportStartLayoutCommand

這是我嘗試過的一切的屏幕截圖..https://goo.gl/Dya6ey

答案1

這對我有用:

Export-StartLayout -path "$env:UserProfile\Desktop\StartBackup.bin" –verbose

Import-StartLayout -LayoutPath "$env:UserProfile\Desktop\StartBackup.bin" -mountpath "$env:systemdrive\"

在此輸入影像描述

但請注意它僅適用於預設配置文件

答案2

顯然是作為參數化僅在 Windows 8.1 和 2012 R2 中可用。嘗試不使用它,只需命名文件

Export-StartLayout -Path C:\StartLayout.BIN

答案3

從這個連結:https://www.tenforums.com/tutorials/3088-backup-restore-start-layout-windows-10-a.html

  1. 備份登錄項目 HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount
  2. 備份檔案%LocalAppData%\Microsoft\Windows\Shell\DefaultLayouts.xml

恢復:

  1. 弄亂註冊表的風險由您自行承擔) 刪除登錄機碼 HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount (你不能省略這一步
  2. 合併在上述步驟中備份的登錄項目。
  3. 恢復上述步驟中備份的 DefaultLayouts.xml 文件,覆蓋目前的 %LocalAppData%\Microsoft\Windows\Shell\DefaultLayouts.xml
  4. 登出 Windows 並重新登入。

相關內容