Failed to connect to a Windows service in Windows 10/11

Publish date: 2024-06-26
Failed to connect to a Windows service in Windows 10

XINSTALL BY CLICKING THE DOWNLOAD FILE

To fix various PC problems, we recommend DriverFix:
This software will keep your drivers up and running, thus keeping you safe from common computer errors and hardware failure. Check all your drivers now in 3 easy steps:
  • Download DriverFix (verified download file).
  • Click Start Scan to find all problematic drivers.
  • Click Update Drivers to get new versions and avoid system malfunctionings.
  • Services are a crucial part of every Windows 10, however, some service related issues can occur from time to time. Users reported “Failed to connect to a Windows service” error message on Windows 10, so without further ado, let’s see how to fix this issue.

    But first, here are some more examples of this issue:

    How to fix Failed to connect to a Windows service error message on Windows 10?

    Table of contents:

  • Use netsh winsock reset command
  • Use Registry Editor
  • Disable Fast Startup
  • Stop Windows Font Cache Service service
  • Go to Safe Mode
  • Uninstall Soluto and Bing Bar
  • Disable User Account Control
  • Disconnect your earphones before you shut down your PC
  • Fix – “Failed to connect to a Windows service” in Windows 10

    1. Use netsh winsock reset command

    In order to fix “Failed to connect to a Windows service” error message on Windows 10, you need to run netsh from Command Prompt. You can do that by following these steps:

  • Press Windows Key + X and choose Command Prompt from the menu.
    command-prompt-start-menu
  • When Command Prompt starts, type netsh and press Enter.
  • Now enter winsock reset and press Enter to run it.
    cmd-netsh-winsock-reset
  • Restart your computer and check if the issue is resolved.
  • Working in Command Prompt will be like a walk in the park with this guide!

    2. Use Registry Editor

    “Failed to connect to a Windows service” error message can sometimes appear if certain registry keys and values are missing, and if that’s the case, you’re advised to add them manually by changing the registry.

    To do that, follow these steps:

  • Press Windows Key + R and type regedit. Press Enter or click OK.
    regedit
  • Once Registry Editor starts in the left pane navigate to:
  • Locate ImagePath value and check its data. In our case, Data is svchost.exe -k netsvcs. This means that svchost and netsvcs keys are in charge for this service.
  • On the left pane navigate to:
  • Locate netsvcs on the right pane and double click it.
    svchost
  • Check the Value data field. If gpsvc is missing make sure to add it. Do not delete anything from Value data list, just add gpsvc if it’s missing.
    gpsvc
  • If netsvcs Key is not available under the SvcHost in the left pane, you need to create it manually. To do that, right click on SvcHost and choose New > Key. Enter netsvcs as the name of the newly created key.
    new-key
  • Select the netsvcs key you just created, and in the left pane click on empty space and choose New > DWORD (32-bit) Value.
  • Enter CoInitializeSecurityParam as the new for new DWORD and double click it.
  • Set Value data to 1 and click OK to save changes.
    reg-value-1
  • Create a new DWORD value and name it CoInitializeSecurityAllowLowBox. Double click CoInitializeSecurityAllowLowBox DWORD and set its value to 1.
    reg-value-2
  • Create a new 32-bit DWORD and name it AuthenticationCapabilities. Set its value to 3020 and click OK to save it.
    reg-value-3
  • Optional: Create CoInitializeSecurityAllowInteractiveUsers DWORD and set its Value to 1.
  • Close Registry Editor and restart your computer.
  • Can’t access Registry Editor? Things aren’t as scary as they seem. Check out this guide and solve the issue quickly.

    3. Disable Fast Startup

    Users reported that Fast Startup option can cause “Failed to connect to a Windows service” error message to appear, and in order to fix this issue, it’s advised that you turn off Fast Startup.

    To do that, follow these steps:

  • Press Windows Key + S and type Power Options. Choose Power Options from the list.
    power-options
  • Click Choose what the power button does.
    power-options
  • Click on Change settings that are currently unavailable.
    power-options-2
  • Scroll down to Shutdown settings and uncheck Turn on fast startup (recommended).
    power-options-3
  • Click Save changes.
  • We have to mention that by turning off fast startup your computer might boot a bit slower than before, but all issues with services should be resolved.

    Can’t disable Fast Startup on Windows 10? Here is what you need to do!

    4. Stop Windows Font Cache Service service

    Expert Tip: Some PC issues are hard to tackle, especially when it comes to corrupted repositories or missing Windows files. If you are having troubles fixing an error, your system may be partially broken. We recommend installing Restoro, a tool that will scan your machine and identify what the fault is.
    Click here to download and start repairing.

    According to users, Windows Font Cache Service can sometimes cause issues with other services, therefore, you need to disable it and delete FontCache dat files by following these steps:

  • Press Windows Key + R and type services.msc. Press Enter or click OK.
    run-services
  • When Services window opens, locate Windows Font Cache Service. Right click it and choose Stop.
    services-stop
  • Minimize Services window (you’ll need it for future steps) and press Windows Key + R. Enter %localappdata% and press OK.
    localappdata-run
  • In the AppData > Local folder locate and delete FontCache dat files.
  • Go back to Services window, right click Windows Font Cache Service and choose Start from the menu.
    services-start
  • 5. Go to Safe Mode

    Few users reported that entering Safe Mode fixes “Failed to connect to a Windows service” error.

    In order to access Safe Mode you need to do the following:

  • Press Start Button, click Power button, then click Restart while holding Shift key pressed.
    restart
  • When your computer restarts you should see three options available. Choose Troubleshoot > Advanced Options > Startup Settings. Click Restart.
  • After your computer restarts again, you should see list of options. Press F5 to enter Safe Mode with Networking.
  • After you enter Safe Mode, you can restart your computer and the issue should be resolved.
  • Can’t boot into Safe Mode? Check out this guide to solve the issue in no time!

    6. Uninstall Soluto and Bing Bar

    According to users, certain programs such as Soluto and Bing Bar can cause this problem, and if you have any of these programs installed, it’s advised that you remove them.

    To uninstall certain software just open Settings app and go to Apps & features section, find the program and click the Uninstall button.

    7. Disable User Account Control

    Users reported that “Failed to connect to a Windows service” error message is caused on administrator accounts when UAC is turned on.

    In order to fix this problem we need to turn off UAC, and we can do that by following these steps:

  • Press Windows Key + S and type User Accounts. Select User Accounts from the list of results.
    user-accounts
  • When User Accounts window opens, click on Change User Account Control settings.
    user-accounts
  • Move the slider on the left all the way down to Never notify.
    user-account-control-settings
  • Click OK to save changes.
  • Turning off UAC comes with slight security risk, and by turning it off you won’t get any notifications when you make changes that require administrator privileges.

    Need more info on UAC? Read this guide to learn how to manage it like an expert.

    8. Disconnect your earphones before you shut down your PC

    This is a peculiar solution, but few users claim that it works. If you’re getting “Failed to connect to a Windows service” error, you might want to disconnect your headphones before you turn off or restart your computer.

    If this workaround works for you, you’ll have to repeat it every time you turn off or restart your PC.

    “Failed to connect to a Windows service” message on Windows 10 can be troublesome, and if you have the same problem on your PC, make sure to try some of our solutions.

    ncG1vNJzZmivmaOxsMPSq5ypp6Kpe6S7zGidmqGcmrFur86npZ6bpGLApr7VopqeZaeeu6W71qxkamhf