Windows/Store: Difference between revisions

From Omnia
Jump to navigation Jump to search
No edit summary
 
Line 23: Line 23:


<pre>
<pre>
REM # Background Intelligent Transfer Service service
net stop bits
net stop bits
REM # Windows Update service
net stop wuauserv
net stop wuauserv
REM # Application Identity service
net stop appidsvc
net stop appidsvc
REM # Cryptographic Services service
net stop cryptsvc
net stop cryptsvc
REM # Clean Up Files
Del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader*.*"
Del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader*.*"
rmdir %systemroot%\SoftwareDistribution /S /Q
rmdir %systemroot%\SoftwareDistribution /S /Q
Line 33: Line 39:
regsvr32.exe /s urlmon.dll
regsvr32.exe /s urlmon.dll
regsvr32.exe /s mshtml.dll
regsvr32.exe /s mshtml.dll
REM # reset the Winsock Catalog
netsh winsock reset
netsh winsock reset
netsh winsock reset proxy
netsh winsock reset proxy
REM # Background Intelligent Transfer Service service
net start bits
net start bits
REM # Windows Update service
net start wuauserv
net start wuauserv
REM # Application Identity service
net start appidsvc
net start appidsvc
REM #  Cryptographic Services service
net start cryptsvc
net start cryptsvc
</pre>
</pre>

Latest revision as of 16:39, 4 October 2024

Reinstall Microsoft Store

Try the following: [1] [2]

Powershell
Get-AppXPackage *WindowsStore* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

or

winget install 9WZDNCRFJBMP

or [3]

Get-AppxPackage -Name "Microsoft.WindowsStore" | Remove-AppxPackage
Get-AppxPackage -Name "Microsoft.DesktopAppInstaller" | Remove-AppxPackage
Get-AppxPackage -Name "Microsoft.StorePurchaseApp" | Remove-AppxPackage
Get-AppxPackage -Name "Microsoft.XboxIdentityProvider" | Remove-AppxPackage
https://github.com/kkkgo/LTSC-Add-MicrosoftStore/archive/refs/tags/2019.zip
add-store.cmd

or

REM # Background Intelligent Transfer Service service
net stop bits
REM # Windows Update service
net stop wuauserv
REM # Application Identity service
net stop appidsvc
REM # Cryptographic Services service
net stop cryptsvc

REM # Clean Up Files
Del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader*.*"
rmdir %systemroot%\SoftwareDistribution /S /Q
rmdir %systemroot%\system32\catroot2 /S /Q
regsvr32.exe /s atl.dll
regsvr32.exe /s urlmon.dll
regsvr32.exe /s mshtml.dll

REM # reset the Winsock Catalog
netsh winsock reset
netsh winsock reset proxy

REM # Background Intelligent Transfer Service service
net start bits
REM # Windows Update service
net start wuauserv
REM # Application Identity service
net start appidsvc
REM #  Cryptographic Services service
net start cryptsvc

Reset Microsoft Store

wsreset -i

keywords