troubleshooting Question

Importing StartLayout in unattend answer file

Avatar of ajwellman
ajwellman asked on
PowershellWindows 10XML
3 Comments1 Solution423 ViewsLast Modified:
I am trying to import a Win10 Startmenu .xml in a sysprep unattend.xml file.  There are no errors reported when the unattend xml is validated with MS WSI.  Sysprep runs without an error, but the startmenu layout is not imported.  Not sure if this is where I should place these powershell commands to import the layout.  This is a segment of the unattend.xml file I am using.

    <settings pass="oobeSystem">
        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="" xmlns:xsi="">
                <SynchronousCommand wcm:action="add">
                    <Description>Set Powershell Execution Policy to Unrestricted</Description>
                    <CommandLine>powershell.exe Set-ExecutionPolicy Unrestricted -force</CommandLine>
                <SynchronousCommand wcm:action="add">
                    <Description>Load Start Menu</Description>
                    <CommandLine>powershell.exe Import-StartLayout –LayoutPath C:\W10Setup\StartLayout\StartLayout.xml –MountPath $env:SystemDrive\</CommandLine>

Any help or suggestions is appreciated.
Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros