Click an Ad

If you find this blog helpful, please support me by clicking an ad!

Wednesday, September 2, 2015

Windows 10 - Useful Group Policies (Part 2 of ??) - Get Rid of Microsoft Edge Taskbar Pin

I'm crunched for time today, but I thought I would at least throw out something today.

One of my current sticking points in creating a workable Windows 10 machine for my users is getting rid of the Microsoft Edge icon that's pinned to the taskbar.

Yes, Edge looks appealing as a browser. My helpdesk, though, is going to have all kinds of questions and issues related to Edge. I don't have the manpower, so we're getting rid of Edge as much as we can.

The only way I've found to get rid of the pinned Edge icon is to nuke all of the pinned items.

To accomplish this, I use a Group Policy Preferences Registry item under User Configuration.

Create a delete action for HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband, but remember to go to the "Common" tab and check the box that says "Apply once and do not reapply", or else your users' pinned items will be disappearing on them!

Now if I could just figure out how to get rid of the Start Menu pinned item.....

2 comments:

  1. Check this PS script;


    function Pin-App { param(
    [string]$appname,
    [switch]$unpin
    )
    try{
    if ($unpin.IsPresent){
    ((New-Object -Com Shell.Application).NameSpace('shell:::{4234d49b-0245-4df3-b780-3893943456e1}').Items() | ?{$_.Name -eq $appname}).Verbs() | ?{$_.Name.replace('&','') -match 'From "Start" UnPin|Unpin from Start'} | %{$_.DoIt()}
    return "App '$appname' unpinned from Start"
    }else{
    ((New-Object -Com Shell.Application).NameSpace('shell:::{4234d49b-0245-4df3-b780-3893943456e1}').Items() | ?{$_.Name -eq $appname}).Verbs() | ?{$_.Name.replace('&','') -match 'To "Start" Pin|Pin to Start'} | %{$_.DoIt()}
    return "App '$appname' pinned to Start"
    }
    }catch{
    Write-Error "Error Pinning/Unpinning App! (App-Name correct?)"
    }
    }


    Pin-App "Microsoft Edge" -unpin
    Pin-App "Internet Explorer" -pin
    Pin-App "Calculator" -Pin
    Pin-App "Snipping tool" -Pin
    Pin-App "notepad" -Pin
    pin-app "word 2013" -pin
    pin-app "Excel 2013" -pin
    pin-app "Outlook 2013" -pin

    ReplyDelete