Hi,

Seen a lot of post's regarding Import-StartLayout and I thought I'd share how I got it working for KACE users and hopefully it will help you all out too.

You can do this a few ways, I find the best way is to Export to a Share and call it via KACE or Upload to KACE and call it from the Directory. 

  1. On a machine standardize your Start bar & Taskbar
  2. Open Powershell ISE as Admin and use the following command line

    Export-StartLayout.xml -Path \\PATH\Share\StartTaskLayout.xml

  3. Open & Edit the 'StartTaskLayout.xml' by copying the following to the very beginning of the XML.

    <?xml version="1.0" encoding="utf-8"?>
    <LayoutModificationTemplate
    xmlns="http://schemas.microsoft.com/Start/2014/LayoutModification"
    xmlns:defaultlayout="http://schemas.microsoft.com/Start/2014/FullDefaultLayout"
    xmlns:start="http://schemas.microsoft.com/Start/2014/StartLayout"
    xmlns:taskbar="http://schemas.microsoft.com/Start/2014/TaskbarLayout"
    Version="1">

  4. Now add the following below '<\DefaultLayoutOverride>' this allows for Taskbar customisation

    <CustomTaskbarLayoutCollection PinListPlacement="Replace">
        <defaultlayout:TaskbarLayout>
            <taskbar:TaskbarPinList>

  5. You must now add in the applications you want to be pinned to the taskbar, these must be correct folder locations. ##See below for Word,Excel,Outlook,FileExplorer,Chrome & Snipping tool, taskbar layout.

    <taskbar:DesktopApp DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Word.lnk" />
        <taskbar:DesktopApp DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Excel.lnk" />
        <taskbar:DesktopApp DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Outlook.lnk" />
        <taskbar:DesktopApp DesktopApplicationLinkPath="%APPDATA%\Microsoft\Windows\Start Menu\Programs\System Tools\File Explorer.lnk" />
        <taskbar:DesktopApp DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Google Chrome.lnk" />
        <taskbar:DesktopApp DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Accessories\Snipping Tool.lnk" />

  6. Now add the end code below the above code.

       </taskbar:TaskbarPinList>
        </defaultlayout:TaskbarLayout>
    </CustomTaskbarLayoutCollection>
    </LayoutModificationTemplate>

  7. Save this file in your UNC path.

  8. In Powershell ISE (Admin) use the following and save it as 'ImportStartLayout.ps1' file.

    Import-StartLayout -LayoutPath "\\Path\Share\StartTaskLayout.xml" -MountPath -C:\

  9. You can now upload 'ImportStartLayout.ps1' to your KACE SDA as a Post Installation Task > Choose Action New > Powershell Script and you're good to go.

    dysEMj.png

  10.  For anyone not wanting to call it from a NAS you can zip up the 'StartTaskLayout.Xml' along with a Powershell Script containing the following

    Import-StartLayout -LayoutPath "$PSScriptRoot\StartTaskLayout.xml" -MountPath -C:\

    ##$PSScriptRoot calls the current directory just like %dp0

  11. After all of that you should get something like this


One of my first blogs on here, so apologies if I've missed something, if you'd like more info drop me a message and I'll get back to you, hopefully this helps in standardising Windows 10.

Hopefully this helps.
:)