We had the need to import two different start-menus.
One which includes the Office Shortcuts and one without.
But this method you can also use to build your required “dynamic” start layout in Windows 10.
With MS Office installed:
Without:
The first step is that you export the two start-layouts with the following command:
export-startlayout –path <path><file name>.xml
https://docs.microsoft.com/en-us/windows/configuration/customize-and-export-start-layout
Name it for example:
Start_with_office.xml
And:
Start_without_office.xml
Afterwards create a small powershell script – the scripts copys the IE11 .Ink file and checks if Office 2013 (Office15)
is installed / if yes the start-layout with the Office Icons will be imported if not the default without Office will
be imported.
To Import the IE11 Icon again -> you need to copy also the IE.ink file to the destination.
In the package place now the Internet Explorer.Ink file plus the two .xml Layouts and the powershell script:
Distribute the package to the required DP’s and you can run the import during the task-sequence: