Jump to content

Export-StartLayout on 1607 with a redirected start menu


Recommended Posts

Posted

Hi

 

Windows 10 x64 Education 1607

 

If I have a redirected start menu via folder redirection. This is with loopback replace set. Then I place some Apps E.G

 

Word,Excel, Powerpoint and some URL links on the start layout.

 

Then I start Powershell as as administrator and run Export-Startlayout -path c:\start.xml

 

I get this error

 

 

 

Export-StartLayout : Error HRESULT E_FAIL has been returned from a call to a COM component.

At line:1 char:1

+ Export-StartLayout -Path C:\start.xml

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

+ CategoryInfo : NotSpecified: (:) [Export-StartLayout], COMException

+ FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,Microsoft.Windows.Start

Layout.Commands.ExportStartLayoutCommand

 

 

 

Can someone else please try this.

 

I've ruled out Anti Virus. It works with a local start menu.

Posted

Hi

 

I got the same error, I don't think you can do this if logged on with a user that has a redirected menu. I had to logon as a local user and create it that way

  • 3 months later...
Posted

Just in case anyone gets this issue.

Set up Reference VM, image with normal image, disable pushing out a layout via GPO.

Logon as a local admin, a local profile.

Design your layout.

Run Export-StartLayout.

Put the xml file somewhere where users have read access. \\server\layouts\layout.xml

GPP the xml file to the c drive to a folder where the users have read access. c:\it\layout.xml

GPP any shortcuts into C:\ProgramData\Microsoft\Windows\Start Menu\Programs on the client PCs. . Make sure all paths match up to when you created the layout. You can edit the xml, but you cant use unc paths.

Add the xml file to the gpo for the start layout. c:\it\layout.xml

I've only done this on the computer not user setting.

I left the existing start menu redirect on.

 

Hopefully this will fixed in 1703.

Posted (edited)

I used an administrator account to perform the Export-Startlayout command. Then I stuck the exported XML into the GPO and it is applying for both staff and students who have their start menu redirected. From what I've gathered, the Export-Startlayout command works for the right hands side/metro section of the start menu. Therefore it is a separate element to the actual start menu/applications list and shouldn't affect it.

 

Note: Do not use Notepad to edit the file - this seems to cause corruptions. I've used Notepad++ thanks to @ChrisRobb's post: http://www.edugeek.net/forums/windows-10/178610-has-anyone-got-windows-10-start-menu-working-reliably-without-using-classic-shell-5.html#post1545634

Edited by CHiLL

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...