Skip to content

Ulysses Neves

Microsoft Entra ID, authentication, and hybrid identity troubleshooting.

Menu
  • Home
  • Microsoft Azure
  • Microsoft AD FS
  • Microsoft 365
  • Contact
  • Troubleshooting Index
Menu

Windows Services – Solving common issues that prevent Windows services from starting

Posted on September 22, 2023

Summary

Hello everyone. In this article, I will cover three common issues that prevent Windows services from starting. As an example, we’ll use the Print spooler service, but this could be applicable to any service under Windows Services.

Error message 1: Error 2: The system cannot find the file specified.

Checking the System logs under the event viewer, you may find the event ID 7000 with error message below:

The Print Spooler service failed to start due to the following error: The system cannot find the file specified.

Troubleshooting:

First thing to check is the registry keys that rule the service configuration.

Open the command prompt as administrator and type ‘regedit‘ to open the Registry Editor.

Open the Windows Services running the command services.msc. Double-click on the impacted service and take a note on its Service Name. In our case, Spooler.

Navigate to Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ and look for the service name identified above.

Look for the key ImagePath that contains the executable program location. Confirm if the file exists in the location configured. If not, identify the correct location and update the key.

In our test, we’ll update the location from %SystemRoot%\spoolsv.exe to %SystemRoot%\System32\spoolsv.exe. It will look like below:

Now, we’re able to start the Print Spooler service after fixing its misconfiguration.

Error message 2: Error 1068: The dependency service or group failed to start.

Checking the System logs under the event viewer, you may find the event ID 7001 with error message below:

The Print Spooler service depends on the Phone Service which failed to start because of the following error:
The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.

Troubleshooting:

Open the PowerShell and run:

Get-Service -Name spooler | fl ServicesDependedOn

To fix the issue, check each dependent service to confirm which one is disabled. Once you find, enable it and the issue should disappear.

In our simulation, we’ve added a different service PhoneSvc with disabled status to the group of dependents services to start the Spooler service. This service does not belong to the default dependencies for the Spooler service. To fix such issues, open the Windows Registry editor, navigate to Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ and look for the folder that contains the service’s name.

Open the key DependOnService and under Value data, remove the services you see that should not be linked to the failing service. Let’s remove the service Phonesvc from the list below:

Note: This setting requires a device reboot to take effect. Restart the computer and check if the issue is resolved.

With the PS command below, we can confirm that now, the service Print Spooler started properly:

Get-Service -Name spooler

Error message 2: Error 1069: The service did not start due to a logon failure.

Troubleshooting:

Open the services.msc and check the affected service’s tab Log On:

If you are investigating a service start failure in which it is expected to have an account configured to run the service, make sure the configuration follows the MS security guidance listed in this public doc: Log on as a service – Windows Security | Microsoft Learn

Check if the service account is valid, not disabled and its password has not expired or changed.

To simulate the error message, we changed the account from SYSTEM to a local account. We’ll revert to the default Log On configurations, and it should fix the issue for the Spooler service:

Summary

In this article, we covered a couple of common issues that prevent Windows services from starting.

Enjoyed the article? Like and share. 🙂

Note: I do not represent the organization I work for, all the opinions expressed here, are my own. This post is provided AS IS with no warranties or guarantees and confers no rights.

In case you have any suggestions or feedback, please leave a comment.

[ ]’s
Ulysses Neves

Related guides: Browse the Microsoft Identity Troubleshooting Index.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • Microsoft Defender for Identity domain investigation: six questions to ask first September 10, 2026
  • Microsoft Entra Kerberos key rotation: what changes—and what administrators should check September 6, 2026
  • Microsoft Authenticator Will Block Jailbroken Devices in 2026 — What You Need to Know March 17, 2026
  • Enhancing Azure role activation security with FIDO2/Passkeys September 23, 2024
  • Microsoft Entra ID CAP | Enforcing WHfB using Authentication Strength April 21, 2024

Archives

  • September 2026
  • March 2026
  • September 2024
  • April 2024
  • February 2024
  • December 2023
  • September 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019

Tags

#aaddownleveldevice #adfs #adfscertificate #adfscertificates #adfsmfaadapter #azureauth #azureCA #azuredevice #capolicy #cloudsummit2021 #conditionalaccess #conditionalaccesspolicy #deviceregistration #farmbehavior #gopasswordless #mfaserver #msidentity #namedlocation #securingazure #securingazuread #sslprivatekey #troubleshootingadfs #troubleshootingwaptrust #tshootadfs #waptrust #webapplicationproxy #WHFBcerttrust #whfbdeployment #WHfBhybridsetup #WHfBprovisioning #widdatabase adconnect AD FS authenticationstrength az500 azurepim Azure security cloudsecurity microsoft365 Microsoft Azure Microsoft Entra hybrid join Microsoft Entra ID Microsoft Entra MFA PowerShell WHfB
©2026 Ulysses Neves | Design: Newspaperly WordPress Theme
Ulysses Neves
Gerenciar Consentimento de Cookies
Para fornecer as melhores experiências, usamos tecnologias como cookies para armazenar e/ou acessar informações do dispositivo. O consentimento para essas tecnologias nos permitirá processar dados como comportamento de navegação ou IDs exclusivos neste site. Não consentir ou retirar o consentimento pode afetar negativamente certos recursos e funções.
Funcional Always active
O armazenamento ou acesso técnico é estritamente necessário para a finalidade legítima de permitir a utilização de um serviço específico explicitamente solicitado pelo assinante ou utilizador, ou com a finalidade exclusiva de efetuar a transmissão de uma comunicação através de uma rede de comunicações eletrónicas.
Preferências
O armazenamento ou acesso técnico é necessário para o propósito legítimo de armazenar preferências que não são solicitadas pelo assinante ou usuário.
Estatísticas
O armazenamento ou acesso técnico que é usado exclusivamente para fins estatísticos. O armazenamento técnico ou acesso que é usado exclusivamente para fins estatísticos anônimos. Sem uma intimação, conformidade voluntária por parte de seu provedor de serviços de Internet ou registros adicionais de terceiros, as informações armazenadas ou recuperadas apenas para esse fim geralmente não podem ser usadas para identificá-lo.
Marketing
O armazenamento ou acesso técnico é necessário para criar perfis de usuário para enviar publicidade ou para rastrear o usuário em um site ou em vários sites para fins de marketing semelhantes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
Ver preferências
  • {title}
  • {title}
  • {title}