Jump to content


anyweb

How can I deploy a customized Windows 10 start menu using System Center 2012 R2 SP1 Configuration Manager ?

Recommended Posts

Also confirmed that the import does work after deploying without copy profile

 

I'm in the same situation. My image is Win10 Pro 10240. My XML works fine on my laptop that was never syspreped. I did use CopyProfile=yes on my image. Any solutions ? Thanks.

Share this post


Link to post
Share on other sites


don't use copyprofile, it's not supported and only causes problems.

Share this post


Link to post
Share on other sites

Hi

 

My first OSD with Windows 10 (on a Virtual Machine running under Hyper-V) is not simply opening the start menu. I have tried several options that I found online, but none of them worked for me.

 

I'll try to re-image the computer but I think it'll happen again. But would someone have any explanation to this to happen? And just to be cleared, I didn't do anything that is posted here. Just looking for a solution to this problem.

 

Thank you in advanced!

Share this post


Link to post
Share on other sites

not yet, it'll come, be patient

Share this post


Link to post
Share on other sites

Hi

 

My first OSD with Windows 10 (on a Virtual Machine running under Hyper-V) is not simply opening the start menu. I have tried several options that I found online, but none of them worked for me.

 

I'll try to re-image the computer but I think it'll happen again. But would someone have any explanation to this to happen? And just to be cleared, I didn't do anything that is posted here. Just looking for a solution to this problem.

 

Thank you in advanced!

 

vasconcelos, I also sometimes have this issue when installing on Hyper-V VMs , though I don't have an explanation.

 

I found that it sometimes works, and that the issue is not present when installing on a laptop or something other than a VM.

Share this post


Link to post
Share on other sites

 

vasconcelos, I also sometimes have this issue when installing on Hyper-V VMs , though I don't have an explanation.

 

I found that it sometimes works, and that the issue is not present when installing on a laptop or something other than a VM.

I found the problem... CopyProfile was true on the unattended xml... I removed this and all my issues with the start menu were gone! :) I read from the Administrator that could cause some problems...

  • Like 1

Share this post


Link to post
Share on other sites

copy profile is evil !

  • Like 2

Share this post


Link to post
Share on other sites

Hello,

 

I followed your exact steps however I am getting error code 0x000000001. Any ideas? A couple times I tried this I just ended up on the windows loading screen and the circle just spins indefinitely.

 

SCCM 2012 R2 SP1 CU2

Windows 10 enterprise

 

 

Thoughts?

Share this post


Link to post
Share on other sites

Hello,

 

I followed your exact steps however I am getting error code 0x000000001. Any ideas? A couple times I tried this I just ended up on the windows loading screen and the circle just spins indefinitely.

 

SCCM 2012 R2 SP1 CU2

Windows 10 enterprise

 

 

Thoughts?

 

iyegt3.jpg

Share this post


Link to post
Share on other sites

can you attach your smsts.log so we can see the error

Share this post


Link to post
Share on other sites

Introduction

In previous posts I showed you how you can upgrade to System Center 2012 R2 SP1 Configuration Manager and how to Deploy Windows 10 x64 Enterprise. In this post I'll explain how you can customize the Windows 10 start menu for use during a task sequence deployment using an MDT 2013 update 1 integrated task sequence. You could use active directory Group Policy (Administrative Templates\Start Menu and Taskbar\Start Menu Layout) or other methods to do this however this method works very nicely and is easy to implement. I'll cover customizing the taskbar in a separate post.

 

Note: I've noticed that Internet Explorer doesn't show up even though pinned to start. Perhaps it's a way of discouraging usage of same in favor of Microsoft Edge.

 

Step 1. Review a standard Windows 10 start menu

Using a Windows 10 virtual machine that was previously built (with apps you intend to use in your organization), log in and review the start menu before any customization's are performed. In the screenshot below there are three columns in the start menu. The left column is where Windows informs you about things it thinks you should know such as recently installed applications or most used apps. In addition you have some standard actions available. The second and third columns contain tiles (boxes) which can be live or not. Live tiles update themselves with (for example) photos, or news snippets depending on the application. Tiles can be resized as

  • small
  • medium
  • wide
  • large

but those resize options can vary depending on what type of tile it is. In addition to the columns there group names so that you can group tiles of similar nature together (for example Microsoft Office) and give them an appropriate group name (Office 365).

 

attachicon.gifmenu before customization.png

 

Step 2. Customize the Windows 10 start menu

Now that you have familiarized yourself with the Windows 10 start menu it's time to make it look the way you want but before you do understand what is allowed or not.

 

On Windows 10 for desktop editions, the customized Start works by:

  • The OS performs level checks to determine the chosen base default layout, such as the desktop edition and whether Cortana is supported for the country/region.

  • The OS reads the LayoutModification.xml file and only allows groups to be appended to Start. The groups have the following constraints:

    • 2 groups that are 6 columns wide, or equivalent to the width of 3 medium tiles.
    • 2 medium-sized tile rows in height. The OS ignores any tiles that are pinned beyond the second row.
    • No limit to the number of apps that can be pinned. There is a theoretical limit of 24 tiles per group (4 small tiles per medium square x 3 columns x 2 rows).

Remove some tiles

To customize the start menu, logon as a user with administrative credentials on that machine. You can begin by removing any tiles that you do not want appearing in the finished menu. To do that, right click on a tile you want to remove and choose Unpin from Start. Repeat as necessary until you've removed all the tiles you do not want to appear in your finished start menu.

 

attachicon.gifunpin from start.png

 

After removing a bunch of tiles your start menu can look totally empty or at least different to the way it looked in the beginning. In my screenshot below I've removed all tiles from the start menu so it is effectively a blank slate.

 

attachicon.gifblank menu.png

 

Add some Tiles

Next, it's time to add back some colour to your start menu, start with a bunch of apps you'll be using in your organization and try and group the tiles in a way that you think your users will use often.

 

To add a tile, click on All Apps in the bottom left corner to see all the applications installed on this computer. Keep in mind that you need to install whatever apps you intend to offer in your organization prior to this customization.

 

attachicon.gifall apps.png

 

In the list of applications browse to the group that interests you and select an app, right click the app and choose Pin to Start.

 

attachicon.gifpin to start.png

 

Once done, the application will appear in it's own tile in the first available column.

 

attachicon.giftile added.png

 

Repeat as necessary adding a bunch of apps that you want made into a group.

 

attachicon.giftiles added to group.png

 

Reposition tiles

Next grab a tile (by selecting a tile, left clicking and holding the mouse button down) that you want to move and move it to the location you want it to appear, when happy, release the mouse button.

 

attachicon.gifreposition tiles.png

 

Resize tiles

Once you are happy with the order you might want to resize one or more tiles, to do so, right click a tile and choose from the sizes available. Repeat as necessary.

 

attachicon.gifresize tile.png

 

Name groups of tiles

Now that you've created a group of tiles, give the group a name. To name a group simply point the mouse cursor to the top of a group of tiles and Name Group (or a previous group name) will appear, click anywhere in the text to enter in a new group name.

 

attachicon.gifname group.png

 

After naming a group, you can see the results immediately.

 

attachicon.gifoffice 365 group.png

 

And after you are done customizing the start menu you can review your work. Awesome.

 

attachicon.gifthe customized start menu two column.png

 

Step 3. Export the custom menu using PowerShell

Now you are ready to capture the customizations using PowerShell. To do so fire up an Administrative cmd prompt and type the following command to store our custom xml files.

mkdir C:\Temp

attachicon.gifmkdir c temp.png

 

Next we need to start PowerShell, do so by typing the following command

powershell

attachicon.gifpowershell.png

 

At the PowerShell cmd prompt, type the following

Export-StartLayout -Path C:\Temp\LayoutModification.xml

attachicon.gifexportstartlayout.png

 

Tip: If you get access denied errors, make sure you are logged in as a user with Administrative permissions on the computer, or specify a folder that you have appropriate access to.

 

Step 4. Copy the XML file to ConfigMgr sources

Using an account that has permissions adequate to write a file to your Configmgr sources structure, on the Windows 10 machine with the custom start menu browse to the C:\Temp folder, select the LayoutModification.xml file and choose copy.

 

attachicon.gifcopy to source.png

 

Paste the file into your ConfigMgr sources into a suitably named folder structure (eg: \\sccm\sources\os\Windows 10\Start Menu) such as below

 

attachicon.gifcopied to sccm.png

 

Step 5. Download a PowerShell script

Download the following PowerShell script (in a ZIP archive)

 

attachicon.gifApplyCustomMenu.zip

 

extract it and copy the extracted script into the folder structure created above.

attachicon.gifcopy the extracted script.png

 

Step 6. Create a Package

To deploy the changes to new Windows 10 machines during OSD, you need to make the file above available via a package. In the Configuration Manager console, select software library then applications and right click on Packages. Choose Create Package.

 

attachicon.gifcreate package.png

 

give the package a suitable name such as Windows 10 start screen customizations and point the data source to the folder where you copied the xml file above

 

attachicon.gifpackage details.png

 

Choose Do not create a program and continue through the rest of the wizard until completion.

 

attachicon.gifpackage created.png

 

Step 7. Distribute the package

To distribute this package right click and choose Distribute Content this will make the content available to computers being imaged from selected distribution points.

 

attachicon.gifdistribute content.png

 

On the content destination screen, click add then select any distribution points you want to make this available to.

 

attachicon.gifadd distribution points.png

 

continue through the wizard until completion.

 

Step 8. Edit a Deploy Windows 10 task sequence

In a previous post you learned how to deploy Windows 10, in this guide you will edit that task sequence to include the custom start menu. In the Configuration Manager console browse to Software Library, Operating Systems and select Task Sequences, locate your Windows 10 task sequence, right click it and choose edit.

attachicon.gifedit task sequence.png

 

Scroll down to a section that occurs after Set Status 4, select Add, select New Group and give it a name like Windows 10 Start Screen Customizations.

 

attachicon.gifafter set status 4.png

 

Next select the Add dropdown, select General and choose Run Command Line, paste in the following command.

cmd.exe /c copy LayoutModification.xml C:\Windows\Temp  & %deployroot%\tools\x64\ServiceUI.exe -process:TSProgressUI.exe %SYSTEMROOT%\System32\WindowsPowerShell\v1.0\powershell.exe  -NoProfile -ExecutionPolicy bypass -File "ApplyCustomMenu.ps1"

give the step a suitable name like Import Customized start menu

 

and make sure to select the previously created W‌indows 10 Start Screen customizations package so that it can reference the content correctly as shown here

 

attachicon.gifimport customized start menu step.png

 

Apply the changes and close the task sequence editor.

 

Step 9. Deploy a new Windows 10 machine

To review the changes, deploy a new Windows 10 computer

 

attachicon.gifosd in progress.png

 

Once it is complete, logon and you'll see the customized start menu in action. Job done ! Yes I know the Internet Explorer icon is missing, see the note at the top of the page.

 

attachicon.gifstart menu done.png

 

Note that the customized xml file above is copied to the default profile path listed below:

C:\Users\Default\AppData\Local\Microsoft\Windows\Shell

Remember that your newly deployed Windows 10 machines start menu will only show pinned tiles that are installed.

 

Recommended Reading

Well that's all, until next time,

 

cheers

niall

 

 

Hi Admin

 

You are running a powershell script. Do I need to enable powershell components on the boot image?

 

Thank you!

Share this post


Link to post
Share on other sites

no because the PowerShell takes place outside of WinPE but in the OS.

  • Like 1

Share this post


Link to post
Share on other sites

This doesn't seem to work anymore. the powershell command Export-StartLayout has been removed from Threshold 2

 

Edit: never mind, it was only missing from the x86 version of powershell, it was present in the x64 version.

Edited by Joachim83

Share this post


Link to post
Share on other sites

I am also getting error code 0x000000001. I tried adding the package step both before and after "Setup Operating System" in the TS (in WINPE and out).

Here are the smsts logs from the computer with the step after "Setup Operating System".

 

This TS uses an already captured image, would that cause the issue?

 

https://drive.google.com/folderview?id=0B8n8XpwMdClZeWFIVV9VUU1HR0U&usp=sharing

Share this post


Link to post
Share on other sites

copy profile is evil !

sorry if it off the topic but what is another way to capture the customize win 10 image without using unattend file (since CopyProfile=True doesn't work) and not using MDT? thanks.

Share this post


Link to post
Share on other sites

Is there a wild card that can replace the version number in file names in my custom start menu xml?

 

Example:

DesktopApplicationID="{7C5A40EF-A0FB-4BFC-874A-C0F2E0B9FA8E}\GPS Utility\gpsu525.exe" />

 

Something like a gpsu*.exe so I don't have to update it everytime the software version changes?

 

Thanks

Share this post


Link to post
Share on other sites

Hi anyweb,

 

i have sccm 1606 and tried your script to modify the start menu but i have the error 0x00000001 also. The file is not copied in c:\temp folder. I put the command line after the "Setup Windows and Configuration Manager" step so I in Windows mode.

 

In my smsts log I can see this:

 

Executing command line: smsswd.exe /run:ITC00257 cmd.exe /c copy LayoutModification.xml C:\Windows\Temp & %deployroot%\tools\x64\ServiceUI.exe -process:TSProgressUI.exe %SYSTEMROOT%\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -ExecutionPolicy bypass -File "ApplyCustomMenu.ps1" TSManager 19/10/2016 14:34:19 4800 (0x12C0)
[ smsswd.exe ] InstallSoftware 19/10/2016 14:34:19 4456 (0x1168)
PackageID = 'ITC00257' InstallSoftware 19/10/2016 14:34:19 4456 (0x1168)
BaseVar = '', ContinueOnError='' InstallSoftware 19/10/2016 14:34:19 4456 (0x1168)
ProgramName = 'cmd.exe /c copy LayoutModification.xml C:\Windows\Temp & %deployroot%\tools\x64\ServiceUI.exe -process:TSProgressUI.exe C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -ExecutionPolicy bypass -File "ApplyCustomMenu.ps1"' InstallSoftware 19/10/2016 14:34:19 4456 (0x1168)
SwdAction = '0001' InstallSoftware 19/10/2016 14:34:19 4456 (0x1168)
ResolveSource flags: 0x00000000 InstallSoftware 19/10/2016 14:34:19 4456 (0x1168)
SMSTSPersistContent: . The content for package ITC00257 will be persisted InstallSoftware 19/10/2016 14:34:19 4456 (0x1168)
Package location: _SMSTSITC00257, \\Myserver\SMSPKGD$\ITC00257\
InstallSoftware 19/10/2016 14:34:19 4456 (0x1168)
nPos != CCM::Utility::String::npos, HRESULT=80004005 (e:\qfe\nts\sms\framework\tscore\resolvesource.cpp,249) InstallSoftware 19/10/2016 14:34:19 4456 (0x1168)
Creating a connection to \\Myserver\SMSPKGD$\ITC00257\
with default account InstallSoftware 19/10/2016 14:34:19 4456 (0x1168)
Connection request for "\\Myserver\SMSPKGD$\ITC00257
" InstallSoftware 19/10/2016 14:34:19 4456 (0x1168)
No credentials available for connecting to "\\Myserver\SMSPKGD$\ITC00257". See whether the share has already been connected. InstallSoftware 19/10/2016 14:34:19 4456 (0x1168)
Connecting to "\\Myserver\SMSPKGD$\ITC00257" InstallSoftware 19/10/2016 14:34:19 4456 (0x1168)
Successfully connected to "\\Myserver\SMSPKGD$\ITC00257" InstallSoftware 19/10/2016 14:34:19 4456 (0x1168)
Resolved source to '\\Myserver\SMSPKGD$\ITC00257' InstallSoftware 19/10/2016 14:34:19 4456 (0x1168)
Command line for extension .exe is "%1" %* InstallSoftware 19/10/2016 14:34:19 4456 (0x1168)
Set command line: Run command line InstallSoftware 19/10/2016 14:34:19 4456 (0x1168)
Working dir '\\Myserver\SMSPKGD$\ITC00257' InstallSoftware 19/10/2016 14:34:19 4456 (0x1168)
Executing command line: Run command line InstallSoftware 19/10/2016 14:34:19 4456 (0x1168)
Process completed with exit code 1 InstallSoftware 19/10/2016 14:34:19 4456 (0x1168)
The system cannot find the file specified. InstallSoftware 19/10/2016 14:34:19 4456 (0x1168)
'\\Myserver\SMSPKGD$\ITC00257' InstallSoftware 19/10/2016 14:34:19 4456 (0x1168)
CMD.EXE was started with the above path as the current directory. InstallSoftware 19/10/2016 14:34:19 4456 (0x1168)
UNC paths are not supported. Defaulting to Windows directory. InstallSoftware 19/10/2016 14:34:19 4456 (0x1168)
The system cannot find the path specified. InstallSoftware 19/10/2016 14:34:19 4456 (0x1168)
Command line cmd.exe /c copy LayoutModification.xml C:\Windows\Temp & %deployroot%\tools\x64\ServiceUI.exe -process:TSProgressUI.exe C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -ExecutionPolicy bypass -File "ApplyCustomMenu.ps1" returned 1 InstallSoftware 19/10/2016 14:34:19 4456 (0x1168)
ReleaseSource() for \\Myserver\SMSPKGD$\ITC00257\. InstallSoftware 19/10/2016 14:34:19 4456 (0x1168)
reference count 1 for the source \\Myserver\SMSPKGD$\ITC00257\ before releasing InstallSoftware 19/10/2016 14:34:19 4456 (0x1168)
Released the resolved source \\Myserver\SMSPKGD$\ITC00257\ InstallSoftware 19/10/2016 14:34:19 4456 (0x1168)
Process completed with exit code 1 TSManager 19/10/2016 14:34:19 4800 (0x12C0)

Share this post


Link to post
Share on other sites
sonikc

 

How did you get IE to show up? I tried using the same thing you have and I still didn't get an IE icon. It looks like you've done something to rename it to "IE" as well. I don't see that in your xml.

Share this post


Link to post
Share on other sites

As for the IE issue, the only way I got it to consistently display was to create an IE shortcut under %ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Accessories since there is no shortcut to IE there by default. If you use the other optional location (%APPDATA%\Microsoft\Windows\Start Menu\Programs\Accessories) I found that I didn’t actually get it when I logged in the first time. Seemed like maybe a timing issue possibly because the Start menu doesn’t exist in time for the Start screen to reference it when a new profile is created.

 

So I set the IE shortcut line to this and that seemed to work better for me:

 

<start:DesktopApplicationTile Size="2x2" Column="0" Row="2" DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Accessories\Internet Explorer.lnk" />

  • Like 1

Share this post


Link to post
Share on other sites

I have created an xml to customize the startmenu and taskbarlayout but i cannot get it to work in my enviroment it gives an error when i want to import the startlayout xml, but i cannot find out what the problem is in the xml. Does anybody see what is wrong ?

 

<?xml version="1.0" encoding="utf-8"?>

<LayoutModificationTemplate
Version="1">
<LayoutOptions StartTileGroupsColumnCount="1" />
<DefaultLayoutOverride>
<StartLayoutCollection>
<defaultlayout:StartLayout GroupCellWidth="6" xmlns:defaultlayout="http://schemas.microsoft.com/Start/2014/FullDefaultLayout">
<start:Group Name="" xmlns:start="http://schemas.microsoft.com/Start/2014/StartLayout">
<start:Tile Size="4x2" Column="0" Row="0" AppUserModelID="Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge" />
<start:Tile Size="2x2" Column="0" Row="2" AppUserModelID="Microsoft.WindowsCalculator_8wekyb3d8bbwe!App" />
<start:Tile Size="2x2" Column="4" Row="0" AppUserModelID="Microsoft.Getstarted_8wekyb3d8bbwe!App" />
<start:DesktopApplicationTile Size="2x2" Column="2" Row="2" DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Accessories\Internet Explorer.lnk" />
<start:DesktopApplicationTile Size="2x2" Column="4" Row="2" DesktopApplicationID="Microsoft.Windows.Explorer" />
</start:Group>
</defaultlayout:StartLayout>
</StartLayoutCollection>
</DefaultLayoutOverride>
<CustomTaskbarLayoutCollection PinListPlacement="Replace">
<defaultlayout:TaskbarLayout>
<taskbar:TaskbarPinList>
<taskbar:UWA AppUserModelID="Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge" />
<taskbar:DesktopApp DesktopApplicationLinkPath="%APPDATA%\Microsoft\Windows\Start Menu\Programs\System Tools\File Explorer.lnk" />
<taskbar:DesktopApp DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Accessories\Internet Explorer.lnk" />
<taskbar:DesktopApp DesktopApplicationLinkPath="%appdata%\Microsoft\Windows\Start Menu\Programs\System Tools\Command Prompt.lnk" />
</taskbar:TaskbarPinList>
</defaultlayout:TaskbarLayout>
</CustomTaskbarLayoutCollection>
</LayoutModificationTemplate>

Share this post


Link to post
Share on other sites

what error do you get exactly ?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...