I am exporting the layout.json of the Windows 11 Start menu, and when importing it with Import-StartLayout -LayoutPath “C:\xxxx\xxx.json", it asks for a MountPath unit. Selecting “C:\” or %systemdrive% or env %systemdrive% gives me an error.

MARIA ANDREINA ANDRADE RAMIREZ 0 Reputation points
2024-09-05T10:42:57.6433333+00:00

I am exporting the layout.json of the Windows 11 Start menu, and when importing it with Import-StartLayout -LayoutPath “C:\xxxx\xxx.json", it asks for a MountPath unit. Selecting “C:\” or %systemdrive% or ~$env: systemdrive% gives me an error.”

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,474 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Zunhui Han 2,000 Reputation points Microsoft Vendor
    2024-09-06T15:58:04.1833333+00:00

    Hello,

    Thank you for posting in Q&A forum.

    I suggest you refer to the official link of the Import-StartLayout command. If the problem still cannot be solved, please provide the specific error information that appears during the import.

    https://learn.microsoft.com/en-us/powershell/module/startscreen/import-startlayout?view=winserver2012r2-ps

    I hope the information above is helpful.

    Best regards

    Zunhui

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.