Files
winutil/docs/content/dev/tweaks/Essential-Tweaks/Widget.md
T

35 lines
1.2 KiB
Markdown
Raw Normal View History

2026-02-10 23:59:31 +00:00
---
title: "Remove Widgets"
description: ""
---
2026-02-18 12:37:09 -06:00
```json {filename="config/tweaks.json",linenos=inline,linenostart=61}
2026-02-10 21:42:45 +02:00
"WPFTweaksWidget": {
"Content": "Remove Widgets",
2026-03-02 13:08:27 -06:00
"Description": "Removes the annoying widgets in the bottom left of the Taskbar.",
2026-02-10 21:42:45 +02:00
"category": "Essential Tweaks",
"panel": "1",
"InvokeScript": [
"
2026-02-18 12:37:09 -06:00
# Sometimes if you dont stop the Widgets process the removal may fail
2026-02-22 17:19:04 -06:00
2026-03-31 10:35:12 -05:00
Get-Process *Widget* | Stop-Process
2026-02-10 21:42:45 +02:00
Get-AppxPackage Microsoft.WidgetsPlatformRuntime -AllUsers | Remove-AppxPackage -AllUsers
2026-02-18 12:37:09 -06:00
Get-AppxPackage MicrosoftWindows.Client.WebExperience -AllUsers | Remove-AppxPackage -AllUsers
2026-02-10 14:18:09 -06:00
2026-02-10 21:42:45 +02:00
Invoke-WinUtilExplorerUpdate -action \"restart\"
Write-Host \"Removed widgets\"
"
],
"UndoScript": [
"
Write-Host \"Restoring widgets AppxPackages\"
2026-02-22 17:19:04 -06:00
2026-02-18 12:37:09 -06:00
Add-AppxPackage -Register \"C:\\Program Files\\WindowsApps\\Microsoft.WidgetsPlatformRuntime*\\AppxManifest.xml\" -DisableDevelopmentMode
Add-AppxPackage -Register \"C:\\Program Files\\WindowsApps\\MicrosoftWindows.Client.WebExperience*\\AppxManifest.xml\" -DisableDevelopmentMode
2026-02-22 17:19:04 -06:00
2026-02-10 21:42:45 +02:00
Invoke-WinUtilExplorerUpdate -action \"restart\"
"
],
```