State Repository Service (StateRepository) Defaults in Windows 10

Provides required infrastructure support for the application model.

Default Settings

Startup type:Manual
Display name:State Repository Service
Service name:StateRepository
Service type:share
Error control:normal
Object:LocalSystem
Path:%SystemRoot%\system32\svchost.exe -k appmodel -p
File:%SystemRoot%\system32\windows.staterepository.dll
Registry key:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\StateRepository
Privileges:
  • SeTcbPrivilege
  • SeIncreaseBasePriorityPrivilege
  • SeCreatePermanentPrivilege
  • SeSecurityPrivilege
  • SeChangeNotifyPrivilege
  • SeImpersonatePrivilege
  • SeCreateGlobalPrivilege
  • SeAssignPrimaryTokenPrivilege
  • SeRestorePrivilege
  • SeTakeOwnershipPrivilege
  • SeBackupPrivilege

Default Behavior

State Repository Service is a Win32 service. In Windows 10 it is starting only if the user, an application or another service starts it. When the State Repository Service is started, it is running as LocalSystem in a shared process of svchost.exe along with other services. If State Repository Service fails to start, the failure details are being recorded into Event Log. Then Windows 10 will start up and notify the user that the StateRepository service has failed to start due to the error.

Dependencies

State Repository Service cannot be started under any conditions, if the Remote Procedure Call (RPC) service is disabled.

While State Repository Service is stopped, disabled or working incorrectly, the following services do not start:

Restore Default Startup Configuration for State Repository Service

Before you begin doing this, make sure that all the services on which State Repository Service depends are configured by default and function properly. See the list of dependencies above.

1. Run the Command Prompt as an administrator.

2. Copy the command below, paste it into the command window and press ENTER:

sc config StateRepository start= demand

3. Close the command window and restart the computer.

The StateRepository service is using the windows.staterepository.dll file that is located in the %WinDir%\system32 folder. If the file is changed, damaged or deleted, you can restore its original version from Windows 10 installation media.