diff --git a/docset/winserver2022-ps/startlayout/Import-StartLayout.md b/docset/winserver2022-ps/startlayout/Import-StartLayout.md index f874fd48ce..6a2b8e179e 100644 --- a/docset/winserver2022-ps/startlayout/Import-StartLayout.md +++ b/docset/winserver2022-ps/startlayout/Import-StartLayout.md @@ -16,12 +16,12 @@ Imports the layout of the Start into a mounted Windows image. ## SYNTAX ### Path -``` +```powershell Import-StartLayout [-LayoutPath] [-MountPath] [-WhatIf] [-Confirm] [] ``` ### LiteralPath -``` +```powershell Import-StartLayout -LayoutLiteralPath -MountLiteralPath [-WhatIf] [-Confirm] [] ``` @@ -36,6 +36,8 @@ You must have administrator rights to import a layout. In Windows 10, the Export-StartLayout cmdlet exports layouts as .xml files, and the **Import-StartLayout** cmdlet imports only .xml files. +> [!CAUTION] +> The Import-StartLayout cmdlet is deprecated in Windows 11. It has no effect on either Start or Taskbar layout. To configure the Start layout in Windows 11, see [Customize the Windows 11 Start layout](https://learn.microsoft.com/en-us/windows-hardware/customize/desktop/customize-the-windows-11-start-menu). To configure Taskbar layout in Windows 11, see [Customize the Taskbar](https://learn.microsoft.com/en-us/windows-hardware/customize/desktop/customize-the-windows-11-taskbar). ## EXAMPLES ### Example 1: Import a layout into a Windows image diff --git a/docset/winserver2025-ps/startlayout/Import-StartLayout.md b/docset/winserver2025-ps/startlayout/Import-StartLayout.md index e26c8f0d95..47479bd6be 100644 --- a/docset/winserver2025-ps/startlayout/Import-StartLayout.md +++ b/docset/winserver2025-ps/startlayout/Import-StartLayout.md @@ -16,12 +16,12 @@ Imports the layout of the Start into a mounted Windows image. ## SYNTAX ### Path -``` +```powershell Import-StartLayout [-LayoutPath] [-MountPath] [-WhatIf] [-Confirm] [] ``` ### LiteralPath -``` +```powershell Import-StartLayout -LayoutLiteralPath -MountLiteralPath [-WhatIf] [-Confirm] [] ``` @@ -36,6 +36,9 @@ You must have administrator rights to import a layout. In Windows 10, the Export-StartLayout cmdlet exports layouts as .xml files, and the **Import-StartLayout** cmdlet imports only .xml files. +> [!CAUTION] +> The Import-StartLayout cmdlet is deprecated in Windows 11. It has no effect on either Start or Taskbar layout. To configure the Start layout in Windows 11, see [Customize the Windows 11 Start layout](https://learn.microsoft.com/en-us/windows-hardware/customize/desktop/customize-the-windows-11-start-menu). To configure Taskbar layout in Windows 11, see [Customize the Taskbar](https://learn.microsoft.com/en-us/windows-hardware/customize/desktop/customize-the-windows-11-taskbar). + ## EXAMPLES ### Example 1: Import a layout into a Windows image