Failed to Connect to a Windows Service: How to Fix it

Disconnect non-critical peripherals and restart the PC

Reading time icon 4 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more

Key notes

  • The Failed to connect to a windows service error is usually caused by another conflicting service or misconfigured settings.
  • A quick solution is to disable UAC and fast startup.
  • For advanced users, modifying the Registry should do the trick.
fix failed to connect to a windows service

Services are a crucial part of every Windows 10. However, some service-related issues can occur from time to time. Many reported the Failed to connect to a Windows service error message on Windows 10.

It affects a wide range of services and can lead to issues with the automatic startup, thus affecting the related functionality. So, let’s find out how you can get things up and running when a Windows service failed to start.

How do I fix Failed to connect to a Windows service error?

Before we head to the slightly complex solutions, try these quick ones first:

  • Restart the computer. If a quick reboot doesn’t do it, disconnect the headphones or earphones and then try again.
  • Disable UAC in Windows and verify whether the Windows could not connect to the System Event Notification Service error disappears.
  • Turn off fast startup and check for any improvements.
  • If you have Soluto or Bing Bar, uninstall the programs.
  • Boot Windows into Safe Mode. In case the Failed to connect to a Windows service error is fixed, it’s a third-party program, driver, or service triggering the issue. Identify the problematic one and take the necessary action.

If none work, head to the fixes listed next.

1. Use netsh winsock reset command

  1. Press Windows + X and choose Command Prompt from the menu.
    command-prompt-start-menu
  2. Type the following command and press Enter:netsh
  3. Now, execute the following command: winsock reset
    cmd-netsh-winsock-reset
  4. Once done, restart your computer and check if the issue is resolved.

To fix the Failed to connect to a Windows service error in Windows 7 or Windows 10, you need to reset the network settings and configuration. This could be done both via Settings and the Command Prompt.

2. Modify the Registry

  1. Press Windows + R, type regedit, and then click OK.
    regedit
  2. Now, navigate the following path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\gpsvc
    regedit-gpsvc
  3. Locate the ImagePath string, double-click on it, and check the Value data. If it’s set to svchost.exe -k netsvcs, this means that svchost and netsvcs keys are in charge of this service.
  4. On the left pane, navigate to:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SvcHost
  5. Locate netsvcs on the right pane and double-click it.
    svchost
  6. Check the Value data field. If gpsvc is missing, make sure to add it. Do not delete anything from the list, just add gpsvc if itโ€™s missing.
    gpsvc
  7. If the netsvcs key is not available under the SvcHost in the left pane, you need to create it manually. Right-click on SvcHost, choose New, select Key, and name it netsvcs.
    new-key
  8. Select the netsvcs key you just created, right-click on empty space, hover the cursor over New, select DWORD (32-bit) Value, and name it CoInitializeSecurityParam.
  9. Double-click the DWORD, set the Value data to 1, and click OK to save the changes.
    reg-value-1
  10. Create another DWORD value, name it CoInitializeSecurityAllowLowBox, and set its Value data to 1.
    reg-value-2
  11. Create a new 32-bit DWORD, name it AuthenticationCapabilities, and set its Value data to 3020.
    reg-value-3
  12. Also, create a CoInitializeSecurityAllowInteractiveUsers DWORD and set its Value data to 1.
  13. Close Registry Editor and restart your computer.

When you get a Windows service start failure error in Windows 10, modifying the registry and adding the missing keys should get things up and running in no time.

3. Stop the Windows Font Cache Service

  1. Press Windows + R, type services.msc, and press Enter.
    run-services
  2. Locate Windows Font Cache Service, right-click on it, and choose Stop.
    services-stop
  3. Press Windows + R, type %localappdata%, and click OK.
    localappdata-run
  4. Locate and delete the FontCache.dat files.
  5. Go back to Services, right-click Windows Font Cache Service, and choose Start from the menu.
    services-start

According to users, Windows Font Cache Service can sometimes cause issues with other services. Therefore, you need to re-enable the service and delete the FontCache.dat files to fix the Failed to connect to a Windows service. This problem prevents standard users error.

Before you leave, find out the services you can disable in Windows and get a better performance out of your PC.

Tell us which fix worked for you in the comments section below.

More about the topics: windows 10

User forum

1 messages