Skip to content

Commit a200090

Browse files
authored
Merge pull request MicrosoftDocs#3877 from arkrumbe/docs-editor/Import-StartLayout-1727383768
Update docs for Import-StartLayout to indicate deprecation
2 parents 8718b39 + d638854 commit a200090

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

docset/winserver2022-ps/startlayout/Import-StartLayout.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ Imports the layout of the Start into a mounted Windows image.
1616
## SYNTAX
1717

1818
### Path
19-
```
19+
```powershell
2020
Import-StartLayout [-LayoutPath] <String> [-MountPath] <String> [-WhatIf] [-Confirm] [<CommonParameters>]
2121
```
2222

2323
### LiteralPath
24-
```
24+
```powershell
2525
Import-StartLayout -LayoutLiteralPath <String> -MountLiteralPath <String> [-WhatIf] [-Confirm]
2626
[<CommonParameters>]
2727
```
@@ -36,6 +36,8 @@ You must have administrator rights to import a layout.
3636

3737
In Windows 10, the Export-StartLayout cmdlet exports layouts as .xml files, and the **Import-StartLayout** cmdlet imports only .xml files.
3838

39+
> [!CAUTION]
40+
> 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).
3941
## EXAMPLES
4042

4143
### Example 1: Import a layout into a Windows image

docset/winserver2025-ps/startlayout/Import-StartLayout.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ Imports the layout of the Start into a mounted Windows image.
1616
## SYNTAX
1717

1818
### Path
19-
```
19+
```powershell
2020
Import-StartLayout [-LayoutPath] <String> [-MountPath] <String> [-WhatIf] [-Confirm] [<CommonParameters>]
2121
```
2222

2323
### LiteralPath
24-
```
24+
```powershell
2525
Import-StartLayout -LayoutLiteralPath <String> -MountLiteralPath <String> [-WhatIf] [-Confirm]
2626
[<CommonParameters>]
2727
```
@@ -36,6 +36,9 @@ You must have administrator rights to import a layout.
3636

3737
In Windows 10, the Export-StartLayout cmdlet exports layouts as .xml files, and the **Import-StartLayout** cmdlet imports only .xml files.
3838

39+
> [!CAUTION]
40+
> 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).
41+
3942
## EXAMPLES
4043

4144
### Example 1: Import a layout into a Windows image

0 commit comments

Comments
 (0)