0

I have started getting weird behaviour on my Windows 10 laptop, without really changing anything myself. For example, it's much slower, the start menu won't open and the powershell throws some error about PSReadline. I had a look in the event viewer and under system, it's all red with errors:

enter image description here

There are the 3 error which are most common:

1:

The State Repository Service service terminated with the following error: The system cannot find the file specified.

2:

The Tile Data model server service depends on the State Repository Service service which failed to start because of the following error: The system cannot find the file specified.

3:

DCOM got error "1068" attempting to start the service tiledatamodelsvc with arguments "Unavailable" in order to run the server: {B31118B2-1F49-48E5-B6F5-BC21CAEC56FB}

So it looks like it all starts with the State Repository Service not starting. I tried running it manually but get the following error:

Windows could not start the State Repository Service service on Local Computer.

Error 2: The system cannot find the file specified.

Looking at the registry entry, I have the following but can't tell if there's anything wrong:

enter image description here

I was able to find the Windows.StateRepository.dll in C:/Windows/System32/.

How can I get the State Repository Service running?

0

It looks like the 'parameters' and 'Security' keys are missing from the 'StateRepository' key in the registry.

Either restore the Service from a good, working SYSTEM registry hive, i.e. from another working Windows 10 version, export the service from HKLM\SYSTEM\ControlSet001\Services to a .reg file, and then merge it into your registry... or you can create the keys and enter the details manually.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.