Removing Windows Store and Mail icon from the Windows 10 v1703 Taskbar

Earlier today I got a question on how to remove the default Windows Store and Mail icons from the taskbar in Windows 10 v1703.

The answer is simply, use a  group policy.

Remove the Mail icon

Removing the Mail icon can be done by applying a custom taskbar XML file via group policy. Here is an example:

<?xml version="1.0" encoding="utf-8"?>
              <taskbar:UWA AppUserModelID="Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge" />
              <taskbar:DesktopApp DesktopApplicationLinkPath="%APPDATA%\Microsoft\Windows\Start Menu\Programs\System Tools\File Explorer.lnk" />
              <taskbar:DesktopApp DesktopApplicationLinkPath="%APPDATA%\Microsoft\Windows\Start Menu\Programs\Accessories\Internet Explorer.lnk"/>

Then you configure the group policy, and it can be either a user policy or a computer policy. You find the Start Layout policy in the Policies / Administrative Templates / Start Menu and Taskbar node. Here is an example when it's configured for a computer.

Applying a custom taskbar via group policy.

Removing the Windows Store icon

To remove the Windows Store icon you set another group policy, it's a user policy named Do not allow pinning Store app to the Taskbar which you find in the User Configuration / Administrative Templates / Start Menu and Taskbar node. Here is the configured policy.

Removing Windows Store icon via group policy.

The result

Below is the default taskbar:


And here is the taskbar after applying the group policy:


Written by Johan Arwidmark

About the author

Johan Arwidmark

0 0 votes
Article Rating
Notify of
Oldest Most Voted
Inline Feedbacks
View all comments
Johan Lysén
1 year ago

function UnPinFromTaskbar { param( [string]$appname )
Try {
((New-Object -Com Shell.Application).NameSpace('shell:::{4234d49b-0245-4df3-b780-3893943456e1}').Items() | ?{$_.Name -eq $appname}).Verbs() | ?{$_.Name -like "Ta bort fr*" -OR $_.Name -like "Unpin from*"} | %{$_.DoIt()}
} Catch {$a="b"}
} #UnPinFromTaskbar
UnPinFromTaskbar "E-Post"
UnPinFromTaskbar "Microsoft Store"

Y's Guy
Y's Guy
11 months ago
Reply to  Johan Lysén

Love it, but for American computers, change E-Post to Mail

Charles O
7 days ago
Reply to  Johan Lysén

This is fantastic, do you have an example to add items to the task bar? Say I wanted to add Word, Excel, Outlook & Teams?

1 year ago

First picture is gone making this kinda useless

Ken Kennedy
Ken Kennedy
1 year ago

What happened to the example?