A light-weight Windows utility that automatically unpins apps on your taskbar at login.
- Install PowerShell 7
winget install Microsoft.PowerShell
- Enable running PowerShell scripts on your PC (must be admin elevated)
Set-ExecutionPolicy RemoteSigned
Note that if you remove or move cloned directory after installation you'll need to run ~Install.bat
again.
- Clone this reposiotry.
-
git clone https://github.com/ninbura/UnpinApps.git
-
- Enter the cloned directory.
-
cd UnpinApps
-
- Create a
Config.json
file.-
New-Item -Path Config.json -Type File
-
- Populate
Config.json
contents, as exampled below (configuration Example). - Right click and run
~Install.bat
,~RunManually.bat
, or~Uninstall.bat
as admin.
~Install.bat
- Creates scheduled tasks to unpin apps at login and after Explorer restarts.~RunManually.bat
- Manually runs theUnpinApps.ps1
script.~Uninstall.bat
- Removes the UnpinApps logon task if it exists.
Every time the UnpinApps.ps1
executes, details of your configuration, as well as the overall process are stored in the UnpinApps.log
file at the root of the cloned directory. This can assist with troublshooting if results aren't as expected.
For the script to run at login, you must place a properly formatted Config.json
file in root of this repository/directory. Below is an example of what Config.json
should contain.
{
"UnpinApps": [
"Company Portal",
"Excel",
"Google Chrome",
"Microsoft Edge",
"Outlook (classic)",
"Outlook (new)",
"Quick Assist",
"Word"
]
}