Skip to content

Import start layout XML into Windows 10 install.wim Image using PowerShell

In the previous post I exported the Start Layout to an XML file.
Now I will import this into a mounted Windows 10 Image which can then be deployed using various methods.

Copy Windows 10 Creator’s Update Enterprise ISO to local disk in C:\imagestore\.

Mount the ISO using PS:
[ccie_powershell]Mount-DiskImage -ImagePath “C:\imagestore\15063.0.170317-1834.RS2_RELEASE_CLIENTENTERPRISEEVAL_OEMRET_X64FRE_EN-US.ISO”[/ccie_powershell]

Check if attached is true:
[ccie_powershell]Get-DiskImage -ImagePath “C:\imagestore\15063.0.170317-1834.RS2_RELEASE_CLIENTENTERPRISEEVAL_OEMRET_X64FRE_EN-US.ISO”[/ccie_powershell]

Copy install.wim from sources folder of mounted ISO to local folder:
[ccie_powershell]Copy-Item “F:\sources\install.wim” -Destination “C:\imagestore\” -Verbose[/ccie_powershell]

Create local folder c:\offline:
[ccie_powershell]New-Item -Path “C:\” -Name “offline” -ItemType “directory”[/ccie_powershell]

Mount the Windows image to path c:\offline:
[ccie_powershell]Mount-WindowsImage -ImagePath “C:\imagestore\install.wim” -Index 1 -Path “C:\offline”[/ccie_powershell]

Importing Start Layout XML to mounted image:
[ccie_powershell] Import-StartLayout -LayoutPath “C:\imagestore\StartLayout.xml” -MountPath “C:\offline” -verbose [/ccie_powershell]

Save Windows Image and Dismount:
[ccie_powershell]Dismount-WindowsImage -path “c:\offline” -save -verbose[/ccie_powershell]


The path for default layout file for new users:

The GP Location in local policy:
User Conf\Admin T\Start Menu\Start Layout

In Win 10 you can also use WCD to make a provisioning package and run a new start layout on a live Windows System. I have gone through this in the previous post.


0 0 vote
Article Rating
Share this Post
  • 1
Notify of
1 Comment
Newest Most Voted
Inline Feedbacks
View all comments
1 year ago

i get an error at “Mount the Windows image to path c:\offline:”.
Found the solution at:
msun-km postet this:
For a workaround, I used Junction64.exe to create the expected ‘E:\MountedImageUsers’ junction targeted to ‘E:\MountedImage\Users’

Would love your thoughts, please comment.x