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

Aphasia 6 Reputation points
2022-03-11T14:06:39.907+00:00

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
    2022-03-12T02:47:11.527+00:00
    0 comments No comments

  2. Seven Dreams 1 Reputation point
    2022-12-06T22:11:24.01+00:00

    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 http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/9beffc78-23be-413a-8762-9f8dc728ce9f?P1=1670365393&P2=404&P3=2&P4=ZtlC3r2vIgK9qS8khaWUkrI7wmeqK1oshxTnyg1hALjhDsqeueBxutc1eqK%2bqF8ftgik0oPtBIzj%2btxux19obA%3d%3d
    5) run "powershell"
    6) ps exec "Add-AppPackage FILENAME*"
    7) run "explorer.exe"

    0 comments No comments