Provides required infrastructure support for the application model.
This service also exists in Windows 10.
Windows 11 version | Home | Pro | Education | Enterprise |
---|---|---|---|---|
21H2 | Automatic | Automatic | Automatic | Automatic |
22H2 | Automatic | Automatic | Automatic | Automatic |
23H2 | Automatic | Automatic | Automatic | Automatic |
24H2 | Automatic | Automatic | Automatic | Automatic |
Display name: | State Repository Service |
Service name: | StateRepository |
Type: | share |
Path: | %WinDir%\system32\svchost.exe -k appmodel -p |
File: | %WinDir%\system32\windows.staterepository.dll |
Error control: | normal |
Object: | LocalSystem |
Privileges: |
|
The State Repository Service is running as LocalSystem in a shared process of svchost.exe. Other services might run in the same process. If State Repository Service fails to start, the error is logged. Windows 11 startup proceeds, but a message box is displayed informing you that the StateRepository service has failed to start.
State Repository Service is unable to start, if the Remote Procedure Call (RPC) service is stopped or disabled.
If State Repository Service is stopped, the AppX Deployment Service (AppXSVC) fails to start and initialize.
1. Select your Windows 11 edition and release, and then click on the Download button below.
2. Save the RestoreStateRepositoryServiceWindows11.bat file to any folder on a local drive such as SSD or a hard disk.
3. Right-click the downloaded batch file and select Properties.
4. Check the Unblock checkbox and click OK.
5. Right-click the batch file again and select Run as administrator.
6. Restart the computer to save changes.
Note. Make sure that the windows.staterepository.dll
file exists in the %WinDir%\system32
folder. If this file is missing you can try to restore it from your Windows 11 installation media.