Mar 28 2022 04:38 AM
Mar 29 2022 09:26 PM
Mar 31 2022 07:42 AM
Mar 31 2022 07:46 AM
Mar 31 2022 07:53 AM
Mar 31 2022 08:49 AM
This is a problem that has already been solved months ago (although it persists in some form for whatever reason.) Try these scripts I wrote:
# "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
# powershell -noprofile -file %UserProfile%\Desktop\Win64\PowerShell_Registry\Apps\Reinstall_Apps_Win11.ps1
Get-AppxPackage -allusers Microsoft.549981C3F5F10 | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
Get-AppxPackage -allusers Microsoft.BingNews | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers Microsoft.BingWeather | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers Microsoft.GamingApp | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers Microsoft.GetHelp | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers Microsoft.Getstarted | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers Microsoft.MicrosoftOfficeHub | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers Microsoft.MicrosoftSolitaireCollection | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers Microsoft.MicrosoftStickyNotes | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers Microsoft.MixedReality.Portal | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers Microsoft.Office.OneNote | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers Microsoft.People | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers Microsoft.ScreenSketch | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers Microsoft.SkypeApp | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers Microsoft.Todos | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers Microsoft.Windows.Photos | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers Microsoft.WindowsAlarms | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers Microsoft.WindowsCamera | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers microsoft.windowscommunicationsapps | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers Microsoft.WindowsFeedbackHub | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers Microsoft.WindowsMaps | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers Microsoft.WindowsSoundRecorder | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers Microsoft.Xbox.TCUI | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers Microsoft.XboxApp | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers Microsoft.XboxGameOverlay | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers Microsoft.XboxGamingOverlay | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers Microsoft.XboxIdentityProvider | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers Microsoft.XboxSpeechToTextOverlay | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers Microsoft.ZuneMusic | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers Microsoft.ZuneVideo | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers Microsoft.Microsoft3DViewer | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers Microsoft.MSPaint | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers Microsoft.Paint | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers Microsoft.WindowsCalculator | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers Microsoft.WindowsNotepad | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
NOTE: Make sure to run Windows Update after installing Windows 11. If you have problems, try this:
DISM /Online /Cleanup-Image /Restorehealth
DISM /Online /Cleanup-Image /StartComponentCleanup /ResetBase;
DISM /Cleanup-Mountpoints;
./MOUNTVOL /R;
./SFC /SCANNOW;
Be sure to update the system clock, as you may be using an older ISO image that doesn't have a fix for the code signing bug for Windows Apps (incorrect time stamps would prevent some unsigned code in the default Windows Apps from running on Windows.)
Settings -> Time & language -> Date & time -> Additional settings -> Sync now (update the system clock)
System -> Troubleshoot -> Other troubleshooters -> Windows Store Apps
Make sure the Windows Firewall is not blocking this application -> C:\Program Files\WindowsApps\Microsoft.WindowsStore_22202.1402.2.0_x64__8wekyb3d8bbwe\WinStore.App.exe
If the Windows Firewall service is missing, add it back to the registry (.reg) with this patch:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\mpssvc]
"DependOnService"=hex(7):6d,00,70,00,73,00,64,00,72,00,76,00,00,00,62,00,66,00,\
65,00,00,00,6e,00,73,00,69,00,00,00,00,00
"Description"="@%SystemRoot%\\system32\\FirewallAPI.dll,-23091"
"DisplayName"="@%SystemRoot%\\system32\\FirewallAPI.dll,-23090"
"ErrorControl"=dword:00000001
"FailureActions"=hex:80,51,01,00,00,00,00,00,00,00,00,00,03,00,00,00,14,00,00,\
00,02,00,00,00,60,ea,00,00,02,00,00,00,60,ea,00,00,02,00,00,00,60,ea,00,00
"Group"="NetworkProvider"
"ImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,\
00,76,00,63,00,68,00,6f,00,73,00,74,00,2e,00,65,00,78,00,65,00,20,00,2d,00,\
6b,00,20,00,4c,00,6f,00,63,00,61,00,6c,00,53,00,65,00,72,00,76,00,69,00,63,\
00,65,00,4e,00,6f,00,4e,00,65,00,74,00,77,00,6f,00,72,00,6b,00,46,00,69,00,\
72,00,65,00,77,00,61,00,6c,00,6c,00,20,00,2d,00,70,00,00,00
"ObjectName"="NT Authority\\LocalService"
"RequiredPrivileges"=hex(7):53,00,65,00,41,00,73,00,73,00,69,00,67,00,6e,00,50,\
00,72,00,69,00,6d,00,61,00,72,00,79,00,54,00,6f,00,6b,00,65,00,6e,00,50,00,\
72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,41,00,75,\
00,64,00,69,00,74,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,\
00,00,53,00,65,00,43,00,68,00,61,00,6e,00,67,00,65,00,4e,00,6f,00,74,00,69,\
00,66,00,79,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,\
53,00,65,00,43,00,72,00,65,00,61,00,74,00,65,00,47,00,6c,00,6f,00,62,00,61,\
00,6c,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,\
65,00,49,00,6d,00,70,00,65,00,72,00,73,00,6f,00,6e,00,61,00,74,00,65,00,50,\
00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,49,00,\
6e,00,63,00,72,00,65,00,61,00,73,00,65,00,51,00,75,00,6f,00,74,00,61,00,50,\
00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,00,00
"ServiceSidType"=dword:00000003
"Start"=dword:00000002
"SvcHostSplitDisable"=dword:00000001
"SvcMemHardLimitInMB"=dword:0000001b
"SvcMemMidLimitInMB"=dword:00000014
"SvcMemSoftLimitInMB"=dword:0000000c
"Type"=dword:00000020
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\mpssvc\Parameters]
"ServiceDll"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\
00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\
6d,00,70,00,73,00,73,00,76,00,63,00,2e,00,64,00,6c,00,6c,00,00,00
"ServiceDllUnloadOnStop"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\mpssvc\Parameters\ACService]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\mpssvc\Parameters\PortKeywords]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\mpssvc\Security]
"Security"=hex:01,00,14,80,90,00,00,00,9c,00,00,00,14,00,00,00,30,00,00,00,02,\
00,1c,00,01,00,00,00,02,80,14,00,ff,00,0f,00,01,01,00,00,00,00,00,01,00,00,\
00,00,02,00,60,00,04,00,00,00,00,00,14,00,85,00,02,00,01,01,00,00,00,00,00,\
05,0b,00,00,00,00,00,14,00,9f,00,0e,00,01,01,00,00,00,00,00,05,12,00,00,00,\
00,00,18,00,9d,00,0e,00,01,02,00,00,00,00,00,05,20,00,00,00,20,02,00,00,00,\
00,18,00,85,00,00,00,01,02,00,00,00,00,00,05,20,00,00,00,21,02,00,00,01,01,\
00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\System\Microsoft-Windows-Firewall]
"ProviderGuid"="{e595f735-b42a-494b-afcd-b68666945cd3}"
"EventMessageFile"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,\
00,6f,00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,\
5c,00,6d,00,70,00,73,00,73,00,76,00,63,00,2e,00,64,00,6c,00,6c,00,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\System\Microsoft-Windows-Windows Firewall With Advanced Security]
"ProviderGuid"="{d1bc9aff-2abf-4d71-9146-ecb2a986eb85}"
"EventMessageFile"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,\
00,6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,\
5c,00,6d,00,70,00,73,00,73,00,76,00,63,00,2e,00,64,00,6c,00,6c,00,00,00
Try resetting the ENTIRE service configuration to DEFAULT in PowerShell:
./sc config AxInstSV start= disabled;
./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= delayed-auto;
./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= disabled;
./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= auto;
./sc config vmickvpexchange start= auto;
./sc config vmicguestinterface start= auto;
./sc config vmicshutdown start= auto;
./sc config vmicheartbeat start= auto;
./sc config vmicvmsession start= auto;
./sc config vmicrdv start= auto;
./sc config vmictimesync start= auto;
./sc config vmicvss start= auto;
./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= disabled;
./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= disabled;
./sc config PcaSvc start= disabled;
./sc config QWAVE start= demand;
./sc config RmSvc start= demand;
./sc config RasAuto start= demand;
./sc config RasMan start= demand;
./sc config SessionEnv start= disabled;
./sc config TermService start= disabled;
./sc config UmRdpService start= disabled;
./sc config RpcLocator start= demand;
./sc config RemoteRegistry start= disabled;
./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= disabled;
./sc config TapiSrv start= demand;
./sc config Themes start= auto;
./sc config tiledatamodelsvc start= auto;
./sc config TabletInputService start= demand;
./sc config UsoSvc start= disabled;
./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= auto;
./sc config VSS start= demand;
./sc config WalletService start= disabled;
./sc config Audiosrv start= auto;
./sc config AudioEndpointBuilder start= auto;
./sc config WbioSrvc start= demand;
./sc config FrameServer start= disabled;
./sc config Wcmsvc start= auto;
./sc config WEPHOSTSVC start= demand;
./sc config Wecsvc start= demand;
./sc config EventLog start= disabled;
./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= disabled;
./sc config WinRM start= disabled;
./sc config WSearch start= disabled;
./sc config W32Time start= auto;
./sc config wuauserv start= disabled;
./sc config dot3svc start= demand;
./sc config wmiApSrv start= demand;
./sc config LanmanWorkstation start= auto;
./sc config XblAuthManager start= disabled;
./sc config XblGameSave start= disabled;
./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= disabled;
Run the
Mar 31 2022 09:03 AM
Another issue that comes up sometimes, which is VERY rare (only the early releases of Windows 11 had this issue,) is you may be stuck with a bad ACL entry for "C:\Program Files". I'm not saying that it's not possible to run this on a running / online operating system image, but it's often safer to run this script from the command prompt on WinPE:
REM Batch file to reset ACLs on WinPE for offline images only:
@ECHO OFF
SETLOCAL
icacls C: /inheritance:r /grant:r "ALL APPLICATION PACKAGES":(OI)(CI)(F) /c /l /q
icacls "C:\*.*" /reset /t /c /l /q
"Microsoft Store Apps fail to start if default registry or file permissions modified: Fix file system permissions that's changed manually" -> https://docs.microsoft.com/en-us/troubleshoot/windows-client/shell-experience/microsoft-store-apps-f...