customize windows 10 start menu

Deploy a Customized Windows 10 Start Menu with MDT 2013


Many of you have been requesting this article and we actually took the time and did it for you, guys. It’s all about customizing your Start menu within Windows 10 and deploying it within your MDT.

In this article, we will show:

  • How to customize Start menu layout in Windows 10;
  • How to export the Start menu layout to an XML file;
  • How to deploy the Start menu layout to the computers using MDT 2013.

The easiest way to create a custom layout to apply to other Windows 10 devices is to configure the Start screen on a reference computer and then export the layout. In this example we will use 10 Enterprise edition machine. First, you need to customize the Windows 10 Start menu in the way you want it to look. You can add necessary elements to the Start menu, arrange them in the necessary order (create your own columns and groups of applications), or remove unnecessary applications from the Start menu. You can even delete all items except File Explorer to keep the Start menu clean.

What we are going to do now is just right click and start removing stuff. Once it is done, just shrink it down. As you can see, you can easily customize your Start menu.

mdt start menu layout

It’s just an example, so you can do whatever you want, it’s really up to you.

Now we need to capture that Start menu using PowerShell. We are going to open up file explorer and go to C:\ drive. Right now we don’t have anything right here, so it’s the same C: drive that you would normally get when you deploy an operating system. Now we need to create a folder here.

So, let’s right click on the Start menu and go to Command Prompt (as Administrator). Here use the command:

mkdir c:\layout

You can create a folder manually by going to the C: drive without command prompt, but we are geeky guys!

import-startlayout

The next thing we need to do is capture our Start menu. We need to go to PowerShell. Just type in powershell and you will see PS letters in front of system32 path.

Now go to the layout folder and as you can see we have nothing in there. You can export the settings of the current Start menu layout to the XML format using the Windows PowerShell cmdlet Export-StartLayout.

Type in:

export-startlayout -path c:\layout\layoutmodification.xml

Once it is done, you will see that you have that XML file in your folder.

You need to make sure that this is .XML file, it’s really important.

how to customize the windows 10 start menu

The screenshot below shows the contents of XML file, which is the export of custom Windows 10 Start menu layout.

customize windows 10 start menu

After that you can exit from Command Prompt.

Now we are going to go inside MDT. Now you need to create a new Task Sequence:

  1. Go to the section Deployment Shares > MDT Deployment Share;
  2. Right click on Task Sequence and select New Task Sequence;
  3. Specify Task SequenceID (WIN10STARTMENU) and TaskSequenceName (Windows 10 x64 Start Menu Customization TS); layoutmodification.xml
  4. For the Task Sequence type, select Standard Client Task Sequence;
  5. Select the OS image on the MDT for which you want to apply this task.

windows 10 start menu customization

Copy your layoutmodification.xml from the Windows 10 reference computer and place it to the Deployment Repository folder on MDT server (..\DeploymentRepository\Scripts\Username\StartMenu\).

Note. You need to create a folder structure \Username\StartMenu\ by yourself.

So let’s double-click on your new Task Sequence and go to the Task Sequence section. We are going to go inside Custom Tasks, because this is where we are pushing everything out. Here we have created 4 custom tasks.

export start layout

The first note is Copy Layout to Temp. We are running it as a command line (Add > General > Run Command Line).). The command line basically says that we are going to use layout modification and copy it to the Windows temp folder. We need to type in the next command:

xcopy /e /s /y /h /i %SCRIPTROOT%\Username\StartMenu\LayoutModification.xml c:\Windows\Temp

The second note is Restart Computer. Once we have exported the .XML file with our captured layout, we need to restart the machine.

The third note is Apply Custom Menu Layout. We are going to add an additional powershell script command. This command is actually going to run the import. Remember, we did the export, so now we need to run the import. We have created a PowerShell script in the ApplyCustomMenu.ps1 file.

This script contains the following code:

import-startlayout -layoutpath c:\Windows\Temp\LayoutModification.xml -MountPath $env:SystemDrive\

Tip. If you do not want to use the import-startlayout cmdlet, you can simply copy your LayoutModification.xml file to the directory C:\Users\Default\AppData\Local\Microsoft\Windows\Shell\). To do this, you can use the command:

xcopy /e /s /y /h /i “%SCRIPTROOT%\Username\StartMenu\LayoutModification.xml” “C:\Users\Default\AppData\Local\Microsoft\Windows\Shell\LayoutModification.xml”

The last note is Create Local User. We are going to show you guys that it actually works, so we have created a local user. For some reason when the deployment finishes, it’s going to leave you inside the administrative account, where the Start menu doesn’t change. You can see the changes when you log into another account.

import-startlayout windows 10

So, once it is done, click OK. Now you can deploy your operating system. In our case, we are going to use a virtual machine.

During deployment process you will need to select a task sequence to execute. Just select the task sequence we have created before (Windows 10 x64 Start Menu Customization TS).

export-startlayout

Once deployment is completed, let’s click on the Start menu. Like we told you guys before, we are logged in as administrator and customization of the Start menu doesn’t show up. What we need to do now is just change the user. Let’s sign out and sign in account we have created in the last note.

If after deploying a customizable initial screen, some tiles are missing, most likely you are using tiles that require an .url or .lnk file. Such .url or .lnk need to be copied to one of the directories:

  • %APPDATA%\Microsoft\Windows\Start Menu\Programs;
  • %ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs.

In Windows 10 1703, the Export-StartLayout cmdlet for the .url shortcut uses DesktopApplicationLinkPath. You must change the DesktopApplicationLinkPath to DesktopApplicationID and specify the URL.

Let’s click on the Start menu. As you can see, our customized Start menu like on your reference computer is there. How awesome is that! It’s not perfect, but you could basically customize it even more.

To prevent users from editing certain groups of the Start layout, you can customize the partial Start layout using your XML file. You can mark some groups of elements Start layout as locked. As a result, users will not be able to edit (delete, unpin, add) elements in these groups.

To set up partial start screen layout:

  1. Export the layout using the export-startlayout cmdlet;
  2. Open the resulting xml file with a text editor;
  3. If you want to block a specific item, then you need to add a special attribute in the tag <DefaultLayoutOverride>. For example: <DefaultLayoutOverride LayoutCustomizationRestrictionType=”OnlySpecifiedGroups”>;
  4. Save the XML file.

If the partial start layout is applied to the computer to which the StartLayout.xml file has already been applied, the previously added groups will be deleted, and the groups in the new layout will be added.

Note. In Windows 10 1709, Microsoft made several changes to the Start menu configuration.
Previously, this data was stored in TyleDataLayer\Database, but in this version it is now a combination of registry settings and files in the following paths:

  • HKCU\Software\Microsoft\Windows\CurrentVersion\CloudStore;
  • HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\SlowContextMenuEntries;
  • HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager;
  • %APPDATA%\Microsoft\Windows\Start Menu\Programs).

Hope you guys enjoy this article. If you have any questions, just leave comments right below.

You may also like:

Sysprep Windows 10 Machine: Step by Step Guide In this guide, we will show you how to use PowerShell and Windows System Preparation Tool (Sysprep) to prepare a highly customized, personal Windows 1...
How to Convert ESD to WIM File on Windows 10? In this tutorial, we will show you how to convert ESD to WIM file using Command Prompt. ESD file is a new thing within Windows 10 OS, that Microsoft i...
Capture Windows 10 Image using MDT 2013 In this article we are going to show you how to capture Windows 10 image using Microsoft Deployment Toolkit 2013 (MDT 2013). Later you can use such im...
Restore Windows 10 Registry from Backup using Comm... When Windows 10 have some problems with registry files/settings (in case of corruption, accidental deletion etc.), the system offers a simple way to r...
Integrate WSUS Offline Updater with MDT 2013 to De... In this article we will show you how to install updates offline gained using WSUS Offline Updater, inside MDT 2013 (Microsoft Deployment Toolkit) task...
Comments
  1. Posted by Daniel

Add Your Comment