How to Isolate a Service in Svchost.exe with Regedit
This guide explains how to isolate a Windows service into its own
dedicated svchost.exe process using the Windows Registry
Editor. By default, Windows often groups multiple services under a
shared svchost.exe instance to save memory, but separating
a service into its own process makes it easier to troubleshoot high CPU
or RAM usage, diagnose crashes, and monitor performance
individually.
Step 1: Identify the Service Name
Before opening the Registry Editor, determine the internal name of
the target service: 1. Press Ctrl + Shift + Esc to open
Task Manager and switch to the
Services tab. 2. Locate the service you want to isolate
and note down its exact Name (not the Display
Name).
Step 2: Open the Registry Editor
- Press
Windows Key + Rto open the Run dialog box. - Type
regeditand press Enter. - If prompted by User Account Control (UAC), click Yes.
Step 3: Navigate to the Service Key
In the Registry Editor, navigate to the following path:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<ServiceName>
Replace <ServiceName> with the actual name of the
service you identified in Step 1.
Step 4: Modify the Service Type
- In the right pane of the service’s key, locate the DWORD (32-bit)
value named
Type. - Double-click
Typeto modify its value. - In the Value data field, set the base to
Hexadecimal and change the value:
- Change
20(shared process) to10(own, isolated process). (Note: If the base is set to Decimal, change32to16.)
- Change
- Click OK to save the changes.
Step 5: Apply the Changes
For the changes to take effect: 1. Open the Services
management console (services.msc). 2. Right-click the
modified service and select Restart (or
Stop, then Start). 3. If the service
is critical to the operating system, restart your computer.
Step 6: Verify Process Isolation
To confirm the service is now running in an isolated process: 1. Open
Task Manager and go to the Details
tab. 2. Find the PID associated with your service under the
Services tab. 3. Match the PID in the
Details tab to verify that the corresponding
svchost.exe process hosts only your selected service.