Forum Discussion
tatianalarina
Nov 01, 2021Copper Contributor
Widgets don't work
I've just installed Windows 11 and it's so annoying. Messenger and WhatsApp apps do not work (that's a topic for another thread) and widgets work only if I disable the display driver and then turn it...
Mousefluff
Nov 01, 2021Iron Contributor
This is if you ONLY want to reinstall and reset Widgets and nothing else (in Powershell)
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope LocalMachine -Force
Get-AppxPackage -allusers MicrosoftWindows.Client.WebExperience | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers MicrosoftWindows.Client.WebExperience | Reset-AppxPackage;
You can get a full list of the app names using this command...
Get-AppxPackage | Sort Name | Format-Table Name, InstallLocation
"System apps installed with the Windows client OS" -> https://docs.microsoft.com/en-us/windows/application-management/system-apps-windows-client-os
"Troubleshooting packaging, deployment, and query of Windows apps" -> https://docs.microsoft.com/en-us/windows/win32/appxpkg/troubleshooting
"Microsoft Store Apps fail to start if default registry or file permissions modified" -> https://docs.microsoft.com/en-us/troubleshoot/windows-client/shell-experience/microsoft-store-apps-fail-to-start
tatianalarina
Nov 01, 2021Copper Contributor
For the time being, I want to focus just on fixing widgets. Unfortunately neither of your solutions worked. When I tried the latter, i.e. just reinstall widgets, it seemed to run smoothly, but it didn't do anything. When I tried the former, i.e. resetting all apps, it generated a long error log (I can send it or post it if you want) and still didn't help.
- MousefluffNov 02, 2021Iron Contributor
This *should* work on every consumer-grade SKU for Windows 10 / 11 (although the services need to be cold started like this.) You would have to restart your PC to get full functionality (with services) after executing both Powershell scripts (basically have to copy-paste them.)
./net start EventLog;./net start UsoSvc;./net start wuauserv;./net start AppXSvc;./net start BITS;./net start BFE;./net start MpsSvc; ./net start AppXSvc;./net start AppReadiness;./net start DcpSvc;./net start DevQueryBroker;./net start MapsBroker;./net start lfsvc; ./net start NgcSvc;./net start NcbService;./net start PhoneSvc;./net start ScDeviceEnum;./net start SystemEventsBroker;./net start TimeBrokerSvc; ./net start UserDataSvc;./net start UnistoreSvc;./net start ProfSvc;
- MousefluffNov 02, 2021Iron Contributor
TRIPLE EDIT: Default Service setup: 64-bit Windows 10/11 Workstation without modifying protected processes (Windows Feature Experience Pack)
./sc config AxInstSV start= demand;./sc config AJRouter start= demand;./sc config AppReadiness start= demand; ./sc config Appinfo start= demand;./sc config ALG start= demand;./sc config AppMgmt start= demand; ./sc config tzautoupdate start= disabled;./sc config BITS start= demand;./sc config bthserv start= demand; ./sc config CertPropSvc start= demand;./sc config KeyIso start= demand;./sc config EventSystem start= auto; ./sc config COMSysApp start= demand;./sc config Browser start= disabled;./sc config CDPSvc start= auto; ./sc config DiagTrack start= auto;./sc config VaultSvc start= demand;./sc config CryptSvc start= auto; ./sc config DsSvc start= demand;./sc config DcpSvc start= demand;./sc config DeviceAssociationService start= demand; ./sc config DeviceInstall start= demand;./sc config DmEnrollmentSvc start= demand;./sc config DsmSvc start= demand; ./sc config DevQueryBroker start= demand;./sc config Dhcp start= auto;./sc config DPS start= auto; ./sc config WdiServiceHost start= demand;./sc config WdiSystemHost start= demand;./sc config TrkWks start= auto; ./sc config MSDTC start= demand;./sc config dmwappushservice start= demand;./sc config MapsBroker start= auto; ./sc config EFS start= demand;./sc config EapHost start= demand;./sc config fdPHost start= demand; ./sc config FDResPub start= demand;./sc config lfsvc start= demand;./sc config hidserv start= demand; ./sc config HvHost start= demand;./sc config vmickvpexchange start= demand;./sc config vmicguestinterface start= demand; ./sc config vmicshutdown start= demand;./sc config vmicheartbeat start= demand;./sc config vmicvmsession start= demand; ./sc config vmicrdv start= demand;./sc config vmictimesync start= demand;./sc config vmicvss start= demand; ./sc config IKEEXT start= demand;./sc config UI0Detect start= demand;./sc config SharedAccess start= demand; ./sc config iphlpsvc start= auto;./sc config PolicyAgent start= demand;./sc config KPSSVC start= demand; ./sc config KtmRm start= demand;./sc config lltdsvc start= demand;./sc config diagnosticshub.standardcollector.service start= demand; ./sc config wlidsvc start= demand;./sc config AppVClient start= disabled;./sc config MSiSCSI start= demand; ./sc config swprv start= demand;./sc config smphost start= demand;./sc config NetTcpPortSharing start= disabled; ./sc config Netlogon start= demand;./sc config NcbService start= demand;./sc config Netman start= demand; ./sc config NcaSvc start= demand;./sc config netprofm start= demand;./sc config NlaSvc start= auto; ./sc config NetSetupSvc start= demand;./sc config nsi start= auto;./sc config CscService start= disabled; ./sc config defragsvc start= demand;./sc config PerfHost start= demand;./sc config pla start= demand; ./sc config PhoneSvc start= demand;./sc config PlugPlay start= demand;./sc config WPDBusEnum start= demand; ./sc config Power start= auto;./sc config Spooler start= auto;./sc config PrintNotify start= demand; ./sc config wercplsupport start= demand;./sc config PcaSvc start= auto;./sc config QWAVE start= demand; ./sc config RmSvc start= demand;./sc config RasAuto start= demand;./sc config RasMan start= demand; ./sc config SessionEnv start= demand;./sc config TermService start= demand;./sc config UmRdpService start= demand; ./sc config RpcLocator start= demand;./sc config RemoteRegistry start= auto;./sc config RSoPProv start= demand; ./sc config RemoteAccess start= disabled;./sc config seclogon start= demand;./sc config SstpSvc start= demand; ./sc config SamSs start= auto;./sc config SensorDataService start= demand;./sc config SensrSvc start= demand; ./sc config SensorService start= demand;./sc config LanmanServer start= disabled;./sc config ShellHWDetection start= auto; ./sc config SCardSvr start= disabled;./sc config ScDeviceEnum start= demand;./sc config SCPolicySvc start= demand; ./sc config SNMPTRAP start= demand;./sc config sacsvr start= demand;./sc config svsvc start= demand; ./sc config SSDPSRV start= demand;./sc config WiaRpc start= demand;./sc config StorSvc start= demand; ./sc config TieringEngineService start= demand;./sc config SysMain start= demand;./sc config SENS start= auto; ./sc config lmhosts start= demand;./sc config TapiSrv start= demand;./sc config Themes start= auto; ./sc config tiledatamodelsvc start= auto;./sc config TabletInputService start= demand;./sc config UsoSvc start= demand; ./sc config upnphost start= demand;./sc config UALSVC start= auto;./sc config UevAgentService start= disabled; ./sc config UserManager start= auto;./sc config ProfSvc start= auto;./sc config vds start= demand; ./sc config VSS start= demand;./sc config WalletService start= demand;./sc config Audiosrv start= auto; ./sc config AudioEndpointBuilder start= auto;./sc config WbioSrvc start= demand;./sc config FrameServer start= demand; ./sc config Wcmsvc start= auto;./sc config WEPHOSTSVC start= demand;./sc config Wecsvc start= demand; ./sc config EventLog start= auto;./sc config FontCache start= auto;./sc config stisvc start= demand; ./sc config wisvc start= demand;./sc config LicenseManager start= demand;./sc config Winmgmt start= auto; ./sc config icssvc start= demand;./sc config TrustedInstaller start= demand;./sc config WpnService start= auto; ./sc config WinRM start= disabled;./sc config WSearch start= auto;./sc config W32Time start= auto; ./sc config wuauserv start= demand;./sc config dot3svc start= demand;./sc config wmiApSrv start= demand; ./sc config LanmanWorkstation start= auto;./sc config XblAuthManager start= demand;./sc config XblGameSave start= demand; ./sc config BcastDVRUserService start= demand;./sc config BluetoothUserService start= demand;./sc config CaptureService start= demand; ./sc config CDPUserSvc start= disabled;./sc config DevicePickerUserSvc start= demand;./sc config DevicesFlowUserSvc start= demand; ./sc config MessagingService start= demand;./sc config OneSyncSvc start= delayed-auto;./sc config PimIndexMaintenanceSvc start= disabled; ./sc config PrintWorkflowUserSvc start= demand;./sc config UnistoreSvc start= demand; ./sc config UserDataSvc start= demand;./sc config WpnUserService start= demand;