Hello everyone,
I wanted to discuss a persistent issue I've been facing with the service host state repository service on my PC for the past few months. This problem has consistently slowed down my computer to the point of it becoming almost unusable. Today, I want to share some valuable information and troubleshooting options that I have personally tried and successfully implemented. Additionally, I will provide an overview of what the service host repository service is, how it functions, and the specific issue it causes. Although I won't delve into the details of failed troubleshooting methods, I encourage you to explore them if you're interested. Most of these steps are relatively simple to execute, so you shouldn't encounter any difficulties.
What is the Service Host State Repository Service?
According to Minitool software, the Service Host State Repository Service is responsible for recording browsing information such as browsing history, the last viewed page, script and document object states, form information, and cookies. It remains active as long as your computer is running.
What is the issue?
The issue at hand involves selective spiking of CPU usage, where the CPU usage suddenly jumps to 100% for approximately 5-20 seconds. This spike in CPU usage causes the computer to freeze and experience extreme lag. This problem typically occurs when the computer is under moderate to high load, such as during gaming or browsing activities.
What is the suspected cause?
The source of this issue is most probably the Xbox Game Bar and its associated services. While there are suspicions of corrupt Windows files, the bulk of the evidence points towards the Xbox Game Bar as the main culprit. After conducting numerous trials and experiments, it has become apparent that the services linked to the Xbox Game Bar tend to significantly slow down the computer and cause the Service Host Repository Service to occupy the entirety of the CPU power.
Attempts at rectifying the issue that failed:
- Using Display Driver Uninstaller (DDU) to perform a clean reinstall of the GPU driver.
- Updating the BIOS.
- Installing Windows updates (both Windows 10 and Windows 11).
- Reinstalling built-in Windows apps through Power Shell commands.
- Running commands such as "sfc /scannow" and "chkdsk" in Command Prompt.
- Rolling back updates and performing a local re-installation.
- Fixing and resetting Microsoft Edge.
- Running Windows auto diagnosis.
- Disabling Game Bar and Xbox features in settings.
Temporary solutions that worked:
- Disabling the Service Host State Repository Service: Disabling this service temporarily resolves the stuttering issue until it force refreshes and the problem recurs.
- Keeping the Game Bar fresh in memory: When using the Windows key + G shortcut to bring up the Game Bar, it appears to be less likely to cause stuttering or freezing when performing tasks.
Permanent solutions that solved the issue:
1. Clearing and organising existing clips: I had accumulated clips dating back to 2020, and the folder size had reached approximately 100GB. The sudden lag I experienced was a result of the computer having to load and initialise all these files, even for simple tasks like saving or accessing a clip. To resolve this issue, I found that creating sub-folders within the 'Captures' folder based on the year (e.g., 2020, 2021, etc.) significantly reduced the strain on the disk drive and as a result, the issue was no longer present.
2. Creating a new user account: Adding a new user account acts like a fresh installation with all the apps and Windows services already applied from the previous user. This method requires setting up apps, personalising Windows, and transferring user data and configurations.
3. Removing the Xbox Game Bar completely: This involves opening PowerShell as an administrator and executing the command "Get-AppxPackage -AllUsers Microsoft.XboxGamingOverlay | Remove-AppxPackage." Although this removes the ability to use in-game overlay, recording, clipping, and screenshotting features, it may restore stability to the computer.
Note: The information provided is based on personal experience, trial and error, and research on resolving the issue. Different fixes may work for different individuals, so it's important to find the solution that works best for your specific situation.
Please, if you have any questions, I'll do my best to answer them.
I wanted to discuss a persistent issue I've been facing with the service host state repository service on my PC for the past few months. This problem has consistently slowed down my computer to the point of it becoming almost unusable. Today, I want to share some valuable information and troubleshooting options that I have personally tried and successfully implemented. Additionally, I will provide an overview of what the service host repository service is, how it functions, and the specific issue it causes. Although I won't delve into the details of failed troubleshooting methods, I encourage you to explore them if you're interested. Most of these steps are relatively simple to execute, so you shouldn't encounter any difficulties.
What is the Service Host State Repository Service?
According to Minitool software, the Service Host State Repository Service is responsible for recording browsing information such as browsing history, the last viewed page, script and document object states, form information, and cookies. It remains active as long as your computer is running.
What is the issue?
The issue at hand involves selective spiking of CPU usage, where the CPU usage suddenly jumps to 100% for approximately 5-20 seconds. This spike in CPU usage causes the computer to freeze and experience extreme lag. This problem typically occurs when the computer is under moderate to high load, such as during gaming or browsing activities.
What is the suspected cause?
The source of this issue is most probably the Xbox Game Bar and its associated services. While there are suspicions of corrupt Windows files, the bulk of the evidence points towards the Xbox Game Bar as the main culprit. After conducting numerous trials and experiments, it has become apparent that the services linked to the Xbox Game Bar tend to significantly slow down the computer and cause the Service Host Repository Service to occupy the entirety of the CPU power.
Attempts at rectifying the issue that failed:
- Using Display Driver Uninstaller (DDU) to perform a clean reinstall of the GPU driver.
- Updating the BIOS.
- Installing Windows updates (both Windows 10 and Windows 11).
- Reinstalling built-in Windows apps through Power Shell commands.
- Running commands such as "sfc /scannow" and "chkdsk" in Command Prompt.
- Rolling back updates and performing a local re-installation.
- Fixing and resetting Microsoft Edge.
- Running Windows auto diagnosis.
- Disabling Game Bar and Xbox features in settings.
Temporary solutions that worked:
- Disabling the Service Host State Repository Service: Disabling this service temporarily resolves the stuttering issue until it force refreshes and the problem recurs.
- Keeping the Game Bar fresh in memory: When using the Windows key + G shortcut to bring up the Game Bar, it appears to be less likely to cause stuttering or freezing when performing tasks.
Permanent solutions that solved the issue:
1. Clearing and organising existing clips: I had accumulated clips dating back to 2020, and the folder size had reached approximately 100GB. The sudden lag I experienced was a result of the computer having to load and initialise all these files, even for simple tasks like saving or accessing a clip. To resolve this issue, I found that creating sub-folders within the 'Captures' folder based on the year (e.g., 2020, 2021, etc.) significantly reduced the strain on the disk drive and as a result, the issue was no longer present.
2. Creating a new user account: Adding a new user account acts like a fresh installation with all the apps and Windows services already applied from the previous user. This method requires setting up apps, personalising Windows, and transferring user data and configurations.
3. Removing the Xbox Game Bar completely: This involves opening PowerShell as an administrator and executing the command "Get-AppxPackage -AllUsers Microsoft.XboxGamingOverlay | Remove-AppxPackage." Although this removes the ability to use in-game overlay, recording, clipping, and screenshotting features, it may restore stability to the computer.
Note: The information provided is based on personal experience, trial and error, and research on resolving the issue. Different fixes may work for different individuals, so it's important to find the solution that works best for your specific situation.
Please, if you have any questions, I'll do my best to answer them.
Last edited: