mirror of
https://github.com/ChrisTitusTech/winutil
synced 2026-04-05 22:28:31 +00:00
* added frontmatter to widget.md * update more pages * updated copyright to automatically pull the year
31 lines
910 B
Markdown
31 lines
910 B
Markdown
---
|
|
title: "Remove Widgets"
|
|
description: ""
|
|
---
|
|
|
|
```json
|
|
"WPFTweaksWidget": {
|
|
"Content": "Remove Widgets",
|
|
"Description": "Removes the annoying widgets in the bottom left of the taskbar",
|
|
"category": "Essential Tweaks",
|
|
"panel": "1",
|
|
"Order": "a005_",
|
|
"InvokeScript": [
|
|
"
|
|
# Sometimes if you dont stop Widgets Process for removal to work
|
|
Stop-Process -Name Widgets
|
|
Get-AppxPackage Microsoft.WidgetsPlatformRuntime -AllUsers | Remove-AppxPackage -AllUsers
|
|
|
|
Invoke-WinUtilExplorerUpdate -action \"restart\"
|
|
Write-Host \"Removed widgets\"
|
|
"
|
|
],
|
|
"UndoScript": [
|
|
"
|
|
Write-Host \"Restoring widgets AppxPackages\"
|
|
Add-AppxPackage -DisableDevelopmentMode -Register \"C:\\Program Files\\WindowsApps\\Microsoft.WidgetsPlatformRuntime*\\AppxManifest.xml\"
|
|
Invoke-WinUtilExplorerUpdate -action \"restart\"
|
|
"
|
|
],
|
|
```
|