Omar Ashraf
Omar Ashraf

Reputation: 51

change the taskbar icon for windows store apps

I want to pin some Microsoft store apps in my taskbar and change their icons so that it opens in the same icon that's pinned there was this method on this site here through changing the shortcut ID for the app and then pin the shortcut using app called Win7AppId but the question have been removed and i tried it once and worked but now I forgot how to do it 😬 can any one tell me how to use this tool or if there is another way to do it?

Upvotes: 5

Views: 8326

Answers (2)

Dell Latitude
Dell Latitude

Reputation: 1

dear friends please note the provided tutorial NOT WORKS maybe this used to work before, but as for Windows 10 22H2 this doesnt help in any way, i spent 3 hours tryung to replicate the process with no luck

instead, please reffer to this tutorial if you want to succeed

what is the main diference anyway ?

the syntax

the given here advice says

"C:\Users\MYNAME\Desktop\Win7AppId1.1.exe" C:\Users\MYNAME\Desktop\Xbox.lnk Microsoft.GamingApp_8wekyb3d8bbwe!Microsoft.Xbox.App

instead you need to cut the full adress and get rid of brackets of first object and provide brackets for next objects so the command now would look this

Win7AppId1.1 "Xbox.lnk" "Microsoft.GamingApp_8wekyb3d8bbwe!Microsoft.Xbox.App"

and now IT WORKS

Upvotes: 0

Magnarokk
Magnarokk

Reputation: 71

Buddy do I have good news for you, I was in the same boat as you, looking for the same deleted post, and just managed to figure it out.

Start by creating this script with any name (for example AppIdScript), just make sure the extension is .ps1

$installedapps = get-AppxPackage


foreach ($app in $installedapps)
{
    foreach ($id in (Get-AppxPackageManifest $app).package.applications.application.id)
    {

        $line = $app.Name + " = " + $app.packagefamilyname + "!" + $id
        echo $line

    }
}
Start-Sleep

Then save, right click and run with powershell.

You can also run this command in a command prompt, the results are similar.

reg query HKEY_CURRENT_USER\Software\Classes\ /s /f AppUserModelID | find "REG_SZ"

Next copy the output of the script to a txt file (so you can Ctrl+F and search for app names in it).

Once you've found the app you want to change the icon for, copy its App ID (usually starting with "Microsoft."), then right click on your desktop, create new shortcut, and paste in

explorer.exe shell:appsFolder\PasteAppIDHere

and click Next.

Now you have a shortcut with the File Explorer icon, so right click and go to properties, click Change Icon..., and select the .ico file you want to replace it with. Apply the changes and click OK.

Once that's done, open a new command prompt window, drag and drop in the "Win7AppId1.1.exe" file (if you no longer have it here's the download link) into the prompt, then press space, then drag in the shortcut you just created, the press space, then paste the App ID, then press enter.

For example the creation of the shortcut for the Xbox App looked like this for me:

"C:\Users\MYNAME\Desktop\Win7AppId1.1.exe" C:\Users\MYNAME\Desktop\Xbox.lnk Microsoft.GamingApp_8wekyb3d8bbwe!Microsoft.Xbox.App

Once you're done, you should be able to put the shortcut on your taskbar and the icon should stay the same.

Hope this helps!

Upvotes: 7

Related Questions