Issues Deploying a Custom Windows 10 Start Menu Layout when using an image with a Default Profile

,

So I’m in the final stages of getting our Windows 10 Deployment ready to go and I am currently in the process of branding and customising our image, which includes setting a custom Start Menu Tile Layout.  This is done with the use of two PowerShell commands Export-StartMenuLayout and Import-StartMenuLayout.

I created our preferred start menu, exported on my test computer and then added a Task to our MDT Deployment Task Sequence.

I found that this completed without any errors but Windows was not applying the Start Menu, after a bit of digging around, I found an issue where if you have CopyProfile set to true in your unattend xml answer file then there is another step that you need to complete which is to delete the TileDataLayer folder located in C:\Users\Default\AppData\Local and once I added that line to my batch file the Start Menu appeared.  My complete batch file is as follows;

powershell.exe -ExecutionPolicy Bypass -Command "Copy-Item '%~dp0StartMenu.xml' -destination C:\Windows\Temp; Import-StartLayout -LayoutPath C:\Windows\Temp\StartMenu.xml -MountPath $env:SystemDrive\; Remove-Item C:\Windows\temp\StartMenu.xml -Force"
rmdir C:\Users\Default\AppData\Local\TileDataLayer /q /s

Hope that helps.


4 responses to “Issues Deploying a Custom Windows 10 Start Menu Layout when using an image with a Default Profile”

  1. Filip Ruymen Avatar
    Filip Ruymen

    Thanks for this tip.
    I was struggling with this.

  2. Filip Ruymen Avatar
    Filip Ruymen

    Thanks for this tip.
    I was struggling with this.

  3. Matthew Lachance Avatar
    Matthew Lachance

    After weeks of trying to figure out why LayoutModification.XML would not apply, this corrected it. Thank you!!!!

  4. Matthew Lachance Avatar
    Matthew Lachance

    After weeks of trying to figure out why LayoutModification.XML would not apply, this corrected it. Thank you!!!!

Leave a Reply

More Posts

How to Configure the Management IP of a Palo Alto Firewall through a console connection

So I’ve recently started experimenting with a Palo Alto VM Firewall that we are about to trial.  Unfortunately they don’t offer a Hyper-V virtual machine so I’ve had to stick this into dev our ESXi host. After importing the .ovf, I edited the network adapters onto the right VLANs for me to get it going […]

Using custom OWA URLs in SharePoint to display your inbox as well as calendar and other items

This one has been sitting in my drafts folder for a while but last year I was experimenting with our SharePoint environment and thought it would be a cool idea to have a view of our web mail and calendar come up into our SharePoint homepage as web parts. Now if you are running SharePoint […]

How to reset the Remote Desktop Server Licensing Grace Period on Windows Server 2012 with Remote Desktop Services

So we recently started looking into Terminal Services and RemoteFX to power some of our admin users and move them off to thin clients instead of full blown desktops.  As a trial I begun setting up RDS on one of our Dev machines.  After going through the motions of enabling the Remote Desktop Features and […]