Get rid of Edge & Microsoft Store in the Taskbar

2395Charger

New Member
Messages
3
Reaction score
1
Hi,

im looking for a way to get rid of Microsoft Edge / Store icons in taskbar, i dont want to remove the applications.
Im Currently working on a custom Windows 11 .iso with NTLite but idk how to remove those, i tryed with removing:

DEL /F /S /Q /A "%AppData%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\*"
but thers still a icon on taskbar from edge, and store i cant find in that folder
1699011981027.png

On Desktop is a Microsoft Edge Link, but i dont know how to remove that too....

Someone got a solution?
 
looking for the same thing, to get rid of edge and ms store from taskbar in win11 23h2.
 
1. Copy this file to UnpinFromTaskbar.ps1 (after editing $UnpinnedList):
Code:
$UnpinnedList = @('Edge', 'Microsoft Store')

# https://github.com/Disassembler0/Win10-Initial-Setup-Script/issues/8#issue-227159084
#
$GetString = @'
    [DllImport("kernel32.dll", CharSet = CharSet.Auto)]
    public static extern IntPtr GetModuleHandle(string lpModuleName);

    [DllImport("user32.dll", CharSet = CharSet.Auto)]
    internal static extern int LoadString(IntPtr hInstance, uint uID, StringBuilder lpBuffer, int nBufferMax);

    public static string GetString(uint strId) {
        IntPtr intPtr = GetModuleHandle("shell32.dll");
        StringBuilder sb = new StringBuilder(255);
        LoadString(intPtr, strId, sb, sb.Capacity);
        return sb.ToString();
    }
'@

$string = Add-Type $GetString -PassThru -Name GetStr -Using System.Text
$UnpinFromTaskbar = $string[0]::GetString(5387)

foreach ($App in $UnpinnedList) {
    ((New-Object -Com Shell.Application).NameSpace('shell:::{4234d49b-0245-4df3-b780-3893943456e1}').Items() | ?{ $_.Name -match $App }).Verbs() | `
        ?{ $_.Name -eq $UnpinFromTaskbar } | %{ $_.DoIt(); $exec = $true }
}

2. Add this file to Post-Setup (User), with no parameters.
 
This part is for anyone who wants the long answer.

AppData folder links for Taskbar only apply to Win32 apps or folders; they don't include Edge or Store which are UWP (or Store) apps. Therefore you can't unpin by deleting files. W10 allowed you to create a default XML for your custom Start Menu and/or Taskbar layout.

Unfortunately, it never really worked for W11 22H2. :mad:

But the old fashioned method of using CLSID "verbs", like "Pin to taskbar" is supported. The scripts are well known, but all have a major flaw: you're required to translate "Pin to taskbar" into your own language. This doesn't work if English isn't your default.

I found a code example, which solves that problem by finding your local phrase.

There's also 3rd-party apps for pinning/unpinning apps: syspin & pttb - Pin To TaskBar
 
i found a another solution:
Code:
<?xml version="1.0" encoding="utf-8"?>
<LayoutModificationTemplate
    xmlns="http://schemas.microsoft.com/Start/2014/LayoutModification"
    xmlns:defaultlayout="http://schemas.microsoft.com/Start/2014/FullDefaultLayout"
    xmlns:start="http://schemas.microsoft.com/Start/2014/StartLayout"
    xmlns:taskbar="http://schemas.microsoft.com/Start/2014/TaskbarLayout"
    Version="1">
  <CustomTaskbarLayoutCollection>
    <defaultlayout:TaskbarLayout>
      <taskbar:TaskbarPinList>
        <taskbar:DesktopApp DesktopApplicationID="Microsoft.Windows.Explorer" />
        <taskbar:DesktopApp DesktopApplicationLinkPath="%APPDATA%\Microsoft\Windows\Start Menu\Programs\System Tools\Command Prompt.lnk" />
      </taskbar:TaskbarPinList>
    </defaultlayout:TaskbarLayout>
 </CustomTaskbarLayoutCollection>
</LayoutModificationTemplate>

you can get App ID´s with:
Code:
Get-StartApps

and add it into
\sources\$OEM$\$1\Users\Default\AppData\Local\Microsoft\Windows\Shell

as filename: LayoutModification.xml

With that every installed system has the own taskbar layout with possible custom taskbar pins, like Google Chrome, Word, Excel ....
Theres a another possiblity to use GPO to serve it to all clients.

tested and working under Windows 11 23H2
 
Hola, yo solo quiero personalizar la barra de tareas: quiero colocar el icono del Explorador de Windows y de Microsoft Edge. ¿Como Hago eso?
Hi, I just want to customize the taskbar: I want to add the Windows Explorer and Microsoft Edge icons. How do I do that?
1748023798300.png
 
Hola, yo solo quiero personalizar la barra de tareas: quiero colocar el icono del Explorador de Windows y de Microsoft Edge. ¿Como Hago eso?
Hi, I just want to customize the taskbar: I want to add the Windows Explorer and Microsoft Edge icons. How do I do that?
For older W10 releases, follow the method from post #5.

Code:
<?xml version="1.0" encoding="utf-8"?>
<LayoutModificationTemplate xmlns="http://schemas.microsoft.com/Start/2014/LayoutModification" xmlns:defaultlayout="http://schemas.microsoft.com/Start/2014/FullDefaultLayout" xmlns:start="http://schemas.microsoft.com/Start/2014/StartLayout" xmlns:taskbar="http://schemas.microsoft.com/Start/2014/TaskbarLayout" Version="1">
    <CustomTaskbarLayoutCollection PinListPlacement="Replace">
        <defaultlayout:TaskbarLayout>
            <taskbar:TaskbarPinList>
                <taskbar:DesktopApp DesktopApplicationID="Microsoft.Windows.Explorer" />
                <taskbar:DesktopApp DesktopApplicationID="MSEdge"/>
            </taskbar:TaskbarPinList>
        </defaultlayout:TaskbarLayout>
    </CustomTaskbarLayoutCollection>
</LayoutModificationTemplate>
 
For older W10 releases, follow the method from post #5.

Code:
<?xml version="1.0" encoding="utf-8"?>
<LayoutModificationTemplate xmlns="http://schemas.microsoft.com/Start/2014/LayoutModification" xmlns:defaultlayout="http://schemas.microsoft.com/Start/2014/FullDefaultLayout" xmlns:start="http://schemas.microsoft.com/Start/2014/StartLayout" xmlns:taskbar="http://schemas.microsoft.com/Start/2014/TaskbarLayout" Version="1">
    <CustomTaskbarLayoutCollection PinListPlacement="Replace">
        <defaultlayout:TaskbarLayout>
            <taskbar:TaskbarPinList>
                <taskbar:DesktopApp DesktopApplicationID="Microsoft.Windows.Explorer" />
                <taskbar:DesktopApp DesktopApplicationID="MSEdge"/>
            </taskbar:TaskbarPinList>
        </defaultlayout:TaskbarLayout>
    </CustomTaskbarLayoutCollection>
</LayoutModificationTemplate>
Muchas gracias por la respuesta. Me olvide mencionar que es para una imagen de W10LTSC21H2 y uno de los iconos a colocar en la barra de tareas es Edge Chromium, no Microsoft Edge el antiguo navegador.
Thank you very much for the reply. I forgot to mention that this is for a W10LTSC21H2 image, and one of the icons to be placed in the taskbar is Edge Chromium, not Microsoft Edge, the older browser.
 
"MSEdge" is Chromium Edge. Run this command to confirm:
Code:
powershell -C "Get-StartApps | select-string Edge"

Get-StartApps
returns the list of DesktopApplicationID's used by both the Start Menu and Taskbar layout XML files.
 
"MSEdge" is Chromium Edge. Run this command to confirm:
Code:
powershell -C "Get-StartApps | select-string Edge"

Get-StartApps returns the list of DesktopApplicationID's used by both the Start Menu and Taskbar layout XML files.
Agradezco la aclaración. Saludos!
 
I've been searching for a clear explanation of the differences between W10 & 11, and found this writeup:
Windows Customised Defaults
Its a poor writeup, doesnt explain how to export the xml, the json or the bin. Will skip this hurdle for now.

Export-StartLayout -Path layout.xxx - works but is json format
Export-StartLayout -UseDesktopApplicationID -Path layout.xxx - errors out

Is no default start2.bin I can find anywhere on installed system.
 
start2.bin location:
\Users\Default\AppData\Local\Packages\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\LocalState
 
Hi,

im looking for a way to get rid of Microsoft Edge / Store icons in taskbar, i dont want to remove the applications.
Im Currently working on a custom Windows 11 .iso with NTLite but idk how to remove those, i tryed with removing:


but thers still a icon on taskbar from edge, and store i cant find in that folder
View attachment 10585

On Desktop is a Microsoft Edge Link, but i dont know how to remove that too....

Someone got a solution?
Go here to this web site And download the new APP called Winhance you can uninstall A lot of sh*t from windows 11. Im still running 23H2 And use this Whinhance all the time ( https://winhance.net/ )
 
Hi,

im looking for a way to get rid of Microsoft Edge / Store icons in taskbar, i dont want to remove the applications.
Im Currently working on a custom Windows 11 .iso with NTLite but idk how to remove those, i tryed with removing:


but thers still a icon on taskbar from edge, and store i cant find in that folder
View attachment 10585

On Desktop is a Microsoft Edge Link, but i dont know how to remove that too....

Someone got a solution?
To do this you should use Winhance. Some guy devoleped winhance to uninstall quite a few programs and apps from windows 11. You cn remove edge , soare and a lot of other sh*t this is the website (https://winhance.net/)
 
Go here to this web site And download the new APP called Winhance you can uninstall A lot of sh*t from windows 11. Im still running 23H2 And use this Whinhance all the time ( https://winhance.net/ )
1. Winhance only works on a live system, and cannot update offline images. Most GUI-based tools tend to lack the option to use a config file to automate the debloating process.

2. The question asked is how to unpin specific apps from a new user's profile (without removing them from Windows).
 
Back
Top