LayoutModification.xml file not working for customizing StartMenu Windows 10 28

So you are in the process of developing a Windows 10 image, nice!

You want de customize your StartMenu, nice!

You have built a reference machine, and exported the StartMenu file.
https://msdn.microsoft.com/en-us/library/windows/hardware/mt171092(v=vs.85).aspx

We know how to do that with PowerShell:

Export-StartLayout – Path C:\Export\MyStartMenu.xml

And in your task sequence you import the file again with PowerShell:

Import-StartLayout C:\Import\MyStartMenu.xml –MountPath $env:SystemDrive\

(or you can rename your MyStartMenu.xml file to LayoutModification.xml and do a xcopy to C:\Users\Default\AppData\Local\Microsoft\Windows\Shell\)

xcopy /e /s /y /h /i “%~dp0LayoutModification.xml” “C:\Users\Default\AppData\Local\Microsoft\Windows\Shell\LayoutModification.xml”

Ok you do a deployment, log on with a new user who has no profile on the computer, open up the startmenu and……Nothing, still the default startmenu!

Like this:

Windows 10 Original StartMenu - LayoutModification.xml

Windows 10 Original StartMenu

But I wanted this:

Windows 10 Wanted StartMenu - LayoutModification.xml

Windows 10 Wanted StartMenu

Well I found a nasty line in the generated XML file while exporting with PowerShell

Export:

And with this it is NOT working.

Just remove the line and things will start to work! Nice!

28 thoughts on “LayoutModification.xml file not working for customizing StartMenu Windows 10

  1. Reply putti Mar 21,2016 2:19 pm

    Hi, i have the same problem, LayoutModification.xml not working.

    on windows 10 64 pro

    if i force with gepedit.msc the layoutmodification.xml work but the user can’t change the start menu.

    A idea ?

    Thanks

  2. Reply putti Mar 21,2016 3:26 pm

    Hi, thank’s i know for gpo it’s to test layout, but import or copy failed to apply layoutmodification.
    A idea.
    Thank’s

  3. Reply Stephan Wibier Mar 23,2016 1:25 pm

    Keep in mind that it will only work for NEW users, i.e. users with no profile on the machine.
    /Stephan

  4. Reply Noah Wolff May 7,2016 6:17 am

    this same issue is happening for me. I found this blog post (thankfully! I was pulling my hair out because I’ve had it work before I recently updated it) and so I did a new import-startlayout on the same VM I was testing it on that had the regular start menu layout, and then I logged onto a local admin account, went to system -> advanced… -> user profiles -> and deleted the other account’s local profile and then logged out and onto it so it would rebuild a new profile, and the same result exists.

    i’m going to try this with reimaging it through the SCCM TS I have and see if it helps though on a fresh image.

  5. Reply Jeff Jun 16,2016 3:03 pm

    The only way ive been able to make this work is after importing the new layout, i had to delete/rename this folder: C:\Users\Default\AppData\Local\TileDataLayer

    • Reply scott Jul 13,2017 10:19 am

      Hi Jeff ive just done that and the start tile menu disappeared and the start menu list would not work i couldnt click on anything?

  6. Reply Pierre CHAVATTE Aug 14,2016 1:09 pm

    Geez ! This drived me mad for a while, tried lot of things without success. Thanks A LOT !

  7. Reply CN Sep 17,2016 12:57 am

    What if you use roaming profiles on your network?

  8. Reply Steven Quina Jan 16,2017 12:35 pm

    Hey Stephan, Thanks for this post, it really helpded me out!!!

  9. Reply PH Jan 27,2017 6:24 pm

    Stephan – Great help! Thank you for sharing.

  10. Reply Ankita Mar 30,2017 3:18 pm

    Hi,

    I am trying to mount layout modification file but it’s not working
    i have created test laptop where machine is not in domain.do i need to put in domain for getting the result.

  11. Reply scott Jul 13,2017 10:14 am

    Hi, is their any reason why the custom start menu would only work for an admin user and not a standard user? even after fully rebuilding the pc via MDT it still only works for admin users?

    Thanks.

  12. Reply Sid Sep 15,2017 5:48 pm

    the color of start screen changed to brown for me, is this something you are experiencing too?

  13. Reply LeonM Dec 20,2017 9:15 am

    You’re the man, Stephan!!
    I’ve been searching for days on how to create a WORKING customized start menu for every new user.
    Never thought that deleting one simple line would solve the problem.
    Thank you so much for this!

  14. Reply Ali Feb 28,2018 5:38 pm

    “Well I found a nasty line in the generated XML file while exporting with PowerShell”

    You mean to say manually delete this line and then apply the powershell script pointing this XML.. ?

  15. Reply cotasouthaus May 15,2018 2:10 am

    Thanks Stephen,

    this was driving me nuts …

  16. Reply Lars Nijhuis Jul 12,2018 11:16 pm

    Hello Stephan,

    Thanks for you post, i have tested it out cause i couldn’t get it to work before.
    But after removing the line from the .XML file it still doesn’t change my startmenu.
    What could i be doing wrong?
    Even if i put in the command in powershell manually it doesn’t give me an error but it also doesn’t change my start menu

  17. Reply Lars Nijhuis Jul 12,2018 11:18 pm

    Dear Stephan,

    I have tested removing the line from the XML file, but it still doesn’t change my startmenu.
    Even when i test it in powershell manually it doesn’t give me an error but it also doesn’t change my start menu.

    What could i be doing wrong?

  18. Reply Lars Nijhuis Jul 13,2018 1:30 pm

    Hi Stephan,

    Thanks for your reply.
    I have done this with a new profile since i have made a custom task in MDT to deploy the powershell script after the installation of the image. I see that the Layoutmodification.xml is copied to the C:\windows\temp directory but the start menu is not modified.

    Any idea / suggestions what could be going wrong cause i would love this one to get to work.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: