How can I install wigets after using these codes in powershell under?

Aphasia 6 Reputation points

After I used these codes in powershell(admin), I uninstall the widgets. But when I want to intall back, I can't do that. What can I do to get my widgets back?
Get-AppxPackage -Name "MicrosoftWindows.Client.WebExperience" -AllUsers | Remove-AppxPackage -AllUsers

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,455 questions
0 comments No comments
{count} vote

2 answers

Sort by: Most helpful
  1. abbodi86 3,866 Reputation points
    0 comments No comments

  2. Seven Dreams 1 Reputation point

    Do something funny in your life. If you cannot get Explorer.exe to work due to missing Widgets, then you are not screwed! Screw that slimeball MSStore app that won't start up due to being tied to a working Explorer.exe! And you do not even have to pay me! Check this out, fren.

    1) alt + ctrl + del
    2) run "msedge" & kill Explorer.exe
    3) go here
    4) download
    5) run "powershell"
    6) ps exec "Add-AppPackage FILENAME*"
    7) run "explorer.exe"

    0 comments No comments