FIDUCHEAH Blog Posts

IT BLOG POSTS

READ OUR BLOG

Customizing Taskbar Windows 10

Having done a few Windows 10 deployments, one of the common asks from the customer is to remove Microsoft Edge from the Task Bar while adding other commonly used applications like Chrome, Outlook.  This is actually a little more challenging than you think.

Long story short, the way I chose to do this is to run a batch file in the Windows startup folder–using Group Policy to propagate.  The batch file does the following:

  1. Clean slate the Task Bar by deleting all of : HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Taskband”
  2. Use PINTO10V2.exe to pin the program(s) of your choice to the Taskbar (this assumes you have created a directory c:\drv with Pinto10v2.exe inside that folder)
  3. Leave a stub file to signify this batch file has alread executed once
  4. Logoff for the changes to take effect

Here’s the Batch File:

REM Batch File to Sanitize the Windows 10 Taskbar

@Echo Off

IF NOT EXIST %userprofile%\donotdelete.txt (
cmd /c reg delete “HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Taskband” /f
cmd /c c:\drv\PinTo10v2.exe /pintb “c:\Program Files (x86)\Internet Explorer\iexplore.exe”
cmd /c c:\drv\pinto10v2.exe /pintb “c:\Program Files (x86)\Google\Chrome\Application\chrome.exe”
cmd /c c:\drv\pinto10v2.exe /pintb “c:\Program Files (x86)\Microsoft Office\Office16\OUTLOOK.EXE”
cmd /c c:\drv\PinTo10v2.exe /pinsm “c:\Program Files (x86)\Internet Explorer\iexplore.exe”
cmd /c c:\drv\pinto10v2.exe /pinsm “c:\Program Files (x86)\Google\Chrome\Application\chrome.exe”
cmd /c c:\drv\pinto10v2.exe /pinsm “c:\Program Files (x86)\Microsoft Office\Office16\OUTLOOK.EXE”

echo “Used for Initial Taskbar Sanitization” > %userprofile%\donotdelete.txt
shutdown /l /f
)

REM End of Script

 

Use Group Policy to copy the batch file to “C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp” folder

I created a c:\drv folder to store generic utilities for this particular customer.

You can download PINto10v2.exe here and copy that to c:\drv:

PinTo10v4 (PowerShell) and v4.1 (VBS)

 

There are other ways to achieve this, this is just “one” of the ways especially if your intent is to get rid of Edge from the Taskbar.

 

 

 

 

Troubleshooting Exchange Event 2114 – MSExchange ADAccess – Process MSEXCHANGEADTOPOLOGYSERVICE.EXE (PID=xxxx). Topology discovery failed and Exchange Event 1 – Unhandled Exception “The Exchange Topology Service on server localhost did not return a suitable domain controller.”

So some of your Exchange services won't start properly, in my case it's the Exchange Transport Service.  You see Applications Event log peppered with Event 2114 and Event 1 Caught in…