Before creating policies in Intune, you need to capture the desired Start menu layout from a test Windows 11 device. This generates the JSON configuration that Intune will deploy to your managed devices.
Set up your ideal Start menu on a test Windows 11 device by pinning and unpinning applications as needed. Once configured, open PowerShell as Administrator and run the export command:
Export-StartLayout -Path "C:\temp\StartLayout.json"
This command creates a JSON file containing your current Start menu configuration. The JSON format is required for Windows 11 devices, replacing the older XML format used in Windows 10.
Pro tip: Create a dedicated test device or virtual machine for layout testing to avoid disrupting production systems.
Open the generated JSON file to review its contents:
Get-Content "C:\temp\StartLayout.json"
The file should contain a structure similar to this:
{
"pinnedList": [
{
"desktopAppLink": "%ALLUSERSPROFILE%\\Microsoft\\Windows\\Start Menu\\Programs\\Microsoft Edge.lnk"
},
{
"packagedAppId": "Microsoft.WindowsCalculator_8wekyb3d8bbwe!App"
}
]
}
Verification: Confirm the JSON file exists and contains valid syntax by opening it in a text editor or running Test-Json -Path "C:\temp\StartLayout.json".