Error 1053 service timely fashion windows service

Error 1053 service timely fashion windows service

Ошибка запуска службы 1053. Служба не ответила на запрос

Добрый день! Уважаемые читатели и гости, крупного IT ресурса Pyatilistnik.org. В прошлый раз мы с вами разобрали проблему с кодом 43 и сбоем запроса дескриптора, сегодня хочу вам показать еще один неприятный момент, который я встретил на Windows Server 2012 R2, но он встречается и на других платформах. Смысл глюка в том, что у вас появляется ошибка запуска службы код 1053, или еще может быть формулировка, что служба не ответила на запрос. Это не позволяет вашему приложению запуститься и работать, мы рассмотрим основные причины подобного поведения и устраним их.

Как выглядит ошибка 1053 служба не ответила на запрос

Небольшая предыстория. Я продолжаю процесс виртуализации старого парка физических серверов, для этого я использую утилиту P2V VMware vCenter Converter Standalone 6.2. Все шло как обычно, я накатил утилиту и попытался ее запустить, у меня долго не появлялось окно программы. Через некоторое время у меня возникла на экране ошибка:

В сообщении сообщается, что служба конвертера не запущена, хотите ли вы ее запустить, я выбираю конечно да. Через секунд 30 появляется второе окно вот с таким текстом:

Нам говорят, что служба конвертера не может быть запущена. В оснастке «Службы», вы можете наблюдать три службы VMware vCenter Converter.

Пробую запустить службу приложения в ручном режиме, через правый клик, но выскакивает предупреждение:

В русском варианте, это выглядит вот так:

Ошибка 1053: служба не ответила на запрос запуска или управления своевременно.

Список служб и программ, где вы можете увидеть ошибку 1053

Давайте я вам приведу список с примерами, где вы можете увидеть ответ службы. что она не ответила

  • VMware vCenter Converter Standalone 6.2
  • Apple Mobile Device Service (ITunes)
  • QEMU Guest Agent
  • В момент установки драйверов Рутокен
  • Skype
  • Служба DNS

Как видите разброс проблем очень большой и разнообразный, то же самое касается и операционных систем, вы это легко увидите и на клиентских Windows 7 или Windows 10, так и на серверных Windows Server 2012 R2 и выше.

Как исправить ошибку 1053

Давайте я вам покажу, как я исправлял код ошибки 1053, в случае с утилитой Vmware vCenter Converter Standalone, но описанная методика подойдет и для других служб и программ.

  • Первым делом вы должны зайти в оснастку службы, сделать это очень просто, для этого нажмите одновременно две клавиши Win и R, у вас вызовется окно «Выполнить», в нем напишите слово services.msc, это такое системное название данной оснастки, подробный список команд вызова оснасток смотрите по ссылке.

У вас откроется оснастка со всеми службами, которые есть в операционной системе. Вы находите нужную, которая в вашем случае выдавала сообщение «не запускается служба ошибка 1053», и пробуете ее стартануть в ручном режиме. Для этого вы щелкаете по ней правой кнопкой мыши и из контекстного меню выбираете пункт «Запустить». В некоторых случаях, это может помочь, как ни странно, но это был не мой случай.

Видим, что получили все тужу ошибку, не отчаиваемся, так как все только начинается. Через то же контекстное меню, выбираем пункт «Свойства». Тут ситуация может быть такой. Некоторые сервисы, вот хоть убей но не могут функционировать без других, и вот пока другие не запущены, они так же будут простаивать, и в следствии этого вы можете видеть сообщение с кодом 1053. Такая связка называется зависимость. Посмотреть есть она у вашей сбойной службы или нет, можно на соответствующей вкладке «Зависимости». В моем случае, чтобы работала утилита Vmware vCenter Converter Standalone, нужно чтобы работал сервис «Рабочая станция», который как видите состоит из трех компонентов.

Закрываем данное окно и в списке сервисов, ищем нужную нам зависимую, напоминаю у меня, это сервис «Рабочая станция». У меня как видите она оказалась запущенной, если у вас зависимая служба выключена, то пробуйте ее запустить и когда она заработает, пробуйте стартануть основную.

  • Если вам фокус с зависимыми сервисами не помог и вы все так же как и я получаете сообщение «служба не ответила своевременно», пробуем проверить настройки DNS. Такое бывает, что некоторые программы для своей работы должны подключиться к рабочей станции или серверу по имени, и если это не получается, то вы оказываетесь в такой ситуации. Открываем настройки TCP/IPv4 и проверяем ваши данные по IP-адресу и DNS серверу, как туда попасть смотрите по ссылке слева. У меня адрес был настроен статически (вручную), если у вас автоматическая в большинстве случаев у пользователей там автоматическая настройка, которая прилетает от DHCP службы, расположенной на другом сервере или сетевом оборудовании, например, в домашних компьютерах, это WIFi или обычный роутер.

У себя я заметил, что первый из DNS серверов, какой-то странный не знакомый мне, видимо кто-то ранее его прописал. Пробую проверить его сетевую доступность, через команду ping и заодно узнать его имя.

У меня он не отвечал, я так же попробовал разрезолвить имя данного сервера, где я получал ошибку, его ip-адрес в моем примере заканчивается на 157, имя определилось, значит второй DNS сервер, все обрабатывал корректно, первый я поправил. Если у вас доменный компьютер, то убедитесь, чтобы имена разрешались, через IP. Идем искать решение дальше.

  • Я продолжил изучать данный вопрос и наткнулся на одно обсуждение по моей утилите Vmware vCenter Converter Standalone (https://docs.vmware.com/en/vCenter-Converter-Standalone/6.2/rn/conv_sa_62_rel_notes.html), там описывалась ситуация, что из-за того, что DNS имя не может разрешиться в течении 30 секунд, то вы можете получать ошибку службы 1053. Там предлагалось изменить стандартное значение идущее в операционной системе Windows на другое, увеличив интервал проверки.
Читайте также:  Uran браузер для windows 10

Тут необходимо создать параметр DWORD32 с именем ServicesPipeTimeout и дать ему числовое значение в секундах,

например пять минут, это 3000.

В 90% случаев у вас ошибка 1053 служба не ответила своевременно, пройдет. Еще видел ситуацию, что после перезагрузки, те службы что идут с отложенным запуском, могут запускаться немного дольше обычного, иногда их даже приходится стартовать вручную, но зато они работают. Мне лично, этот метод помог с Vmware vCenter Converter Standalone.

Дополнительные методы исправления ошибки 1053

К сожалению трюк с ключом реестра срабатывает не всегда и не со всем софтом, в 10% случаев вы все будите видеть предупреждение «сервис не ответил своевременно на запрос», тут я приведу некий чек-лист который позволит вам устранить причину.

  • В ряде случаев многие программы в своем коде имеют код, который работает с библиотеками net framework, и если на вашем компьютере они повреждены, то может появляться код 1053, в таких случаях делаем вот что:
  1. Открываем командную строку от имени администратора и пробуем проверить ваши системные файлы на предмет повреждения, данный метод, ток же будет актуален, если у вас ошибка 1053 возникает на системных служебных, например DNS или Сервер. В командной строке введите команду sfc /scannow. Обязательно дождитесь выполнения данной команды, если она вам не помогла, то есть ее продолжение в виде утилиты: Dism /Online /Cleanup-Image /ScanHealth. Затем, дождавшись завершения работы предыдущей команды, выполните команду: Dism /Online /Cleanup-Image /RestoreHealth.
  2. Если данный метод вам не помог, то можно попытаться удалить net framework, а затем его переустановить его. Как это проделывается, смотрите по ссылкам слева.
  3. Еще одним методом исправления ошибка 1053 в wWindows 10, является установка всех свежих обновлений системы, для других версий аналогично
  4. Еще одним из источников проблем, может выступать поврежденность реестра и его замусоренность, в таких случаях, вам его нужно очистить и оптимизировать, могу вам посоветовать утилиты ccleaner и PrivaZer.
  5. Редкий случай, но то же возможный, и это проблема с оборудованием. В момент, когда ваш жесткий диск или SSD находятся в предсмертном состоянии, они перестают справляться с обычной нагрузкой и попросту тормозят, создавая тем самым огромные очереди к диску. В следствии чего, операционная система просто не способна запустить нужную службу, так как диск не справляется с этим, и как следствие вы видите, что сервис своевременно не ответил на запрос. Обязательно проверьте дисковые очереди и состояние здоровья ваших дисков.
  6. Бывает еще ситуации, когда разные программы конфликтуют друг с другом, мешая запускаться конкуренту. В таких случаях необходимо смотреть логи и журналы «Система» и «Приложения»
  7. Если ошибка возникает у стороннего софта, например, Skype, iTunes, то обязательно убедитесь, что вы используете последнюю версию данного программного обеспечения. Если нет, то удалите старую версию, почистите реестр утилитой cccleaner, перезагрузите компьютер и заново установите свежую версию утилиты. С iTunes видел да же такой момент, что приходилось скачивать exe файл с последним релизом, разархивировать его с помощью 7-zip в папку, где получался набор MSI пакетов, потом все это устанавливалось последовательно, Предпоследним ставился пакет AppleSoftwareUpdate и после него ужеiTunes64. Потом перезагружался, в итоге удавалось исправить ошибку 1053.
  8. Как вариант еще можно рассмотреть вирусную атаку, загрузите вашу систему в безопасном режиме, без использования сетевых драйверов и каким-нибудь диском Live-CD от Касперского или dr. Web, проведите сканирование вашей системы на вирусы.
  9. Если у вас служба не ответила на запрос у QEMU Guest Agent, то вам необходимо установить драйвер vioserial (https://docs.fedoraproject.org/en-US/quick-docs/creating-windows-virtual-machines-using-virtio-drivers/index.html)

How to Fix Error 1053: The Service did not Respond to the Start or Control Request in a Timely Fashion?

Users experience the error message 1053 which states ‘The service did not respond to the start or control request in a timely fashion’. This error message is the cause of a timeout that occurs after a request was initiated to start a service but it did not respond in the time window.

Error 1053: The Service did not Respond to the Start or Control Request in a Timely Fashion

There are numerous variations of the error message ranging from issues in Windows services to custom services not being able to launch (including games and other third-party software). We also came across instances where Developers faced this problem when they were developing their custom software. Here in this article, we will go through all the variations of the error message and discuss what could be done to solve the problem once and for all.

What causes Error 1053 in Windows?

After receiving initial reports from users, we started our investigation and took a deep look at all the modules involved in the mechanics of starting as service. After gathering all the results and syncing them with user responses, we concluded that the issue occurred due to several different reasons. Some of them are listed below:

  • Timeout settings: Windows, by default, has a timeout setting which if not met by applications, forces them to abort and close. If the service which you are trying to launch takes much longer to respond, then it will be killed. Here, we can change the timeout setting by manipulating the registry.
  • Missing DLL file: Another instance of the error occurs when you have a missing DLL file on your computer which is used by numerous other applications as well. If this DLL file is in conflict or isn’t present at all, you will experience the error message.
  • Corrupt/missing system files: Another instance of why this issue occurs is because there are corrupt or missing system files on your computer. If the very installation of Windows is not proper and has issues, you will experience numerous problems including the error message under discussion.
  • Outdated Windows: Microsoft officially recognized this error message on their official website and even released a temporary hotfix to solve the problem. However, recently they removed the hotfix and instructed users to upgrade to the latest iteration of Windows.
  • Using a Release build (for Developers): If you are trying to launch services in a Debug build of Windows, you are likely to experience this error message. Debug builds are not stable and don’t have all the functionality running as compared to release builds.
  • Missing Frameworks (for Developers): Incompatibility of Frameworks are also responsible for causing the error message. The box on which you are trying to run the service and your service itself must be on the same framework.
  • An issue in DB service (for Developers): Another instance where you might experience this error message is where there is a problem with your configuration of the project. The server details should correct so the service doesn’t have problem accessing.
  • Corrupt installation: Another common instance where you might experience this error message is where the installation of your application (which is prompting the service) is somewhat corrupt. Reinstalling helps here.
  • Bad network configurations: Services communicate with your network all the time. If your network configurations are not good, the services might not be able to perform their tasks and hence cause the error message under discussion.
  • Administrator access: The service which you are trying to launch (or a third-party is trying to launch) should be launched as an administrator if it is consuming system resources not meant for normal use.
Читайте также:  Starting with mysql linux

Before we move on with the solutions, make sure that you are logged in as an administrator on your computer and have an active internet connection. Also, follow the solution from the start and work your way down accordingly.

Solution 1: Changing Timeout Settings through Registry

The very first thing which we should try is changing the timeout settings of your services through your registry editor. Whenever a service is requested to launch, a timer is started with a predefined value. If the service doesn’t start within this time frame, the error message comes forward reporting so. Here in this solution, we will navigate to your computer’s registry and change the value. If it isn’t present, we will create a new key for it.

  1. Press Windows + R, type “regedit” in the dialogue box and press Enter.
  2. Once in the registry editor, navigate to the following file path:
  1. Now, search for the key of ‘ServicesPipeTimeout’. If you find it already there, you can move to directly edit. However, if you don’t find the entry, select Control, right-click on any space present at the right side of the screen and select New > DWORDCreating a new Registry Key
  2. Name the key as ‘ServicesPipeTimeout’ and set the value as 180000 (You can also right-click the value and click Modify if the option to set the value didn’t come in your case. Changing ‘ServicesPipeTimeout’ value
  3. Save changes and exit. Restart your computer completely and then try launching the service. Check if the issue is resolved.

Solution 2: Checking for System File Corruptions

Another thing to try before we move on to more technical and advanced methods is checking whether the system has any corruption or not. If your very Windows is missing files and is somehow corrupt, it may cause some important modules not to work. As a result, you will experience the error message 1053. In this solution, we will use Window’s system file checker which checks all your system file structure and compares the structure with that of a fresh copy present online. If there is any discrepancy, the files will be replaced accordingly.

  1. Press Windows + S, type “command prompt” in the dialogue box, right-click on the application and select Run as administrator.
  2. Once in an elevated command prompt, execute the following commands one by one and make sure that they complete:

Checking system files for corruptions

  1. The latter command fixes any issues which the system file checker diagnoses when running the scan. Restart your computer completely after running the commands and check if the issue is resolved for good.

Solution 3: Reinstalling the application (if applicable)

Another useful method to eradicate the error message 1053 is reinstalling the application which is requesting the service. Normally, third-party applications installed from an outside source (excluding Microsoft Store) might have missing or outdated components that are requesting for some service in Windows.

Here, what you can do is navigating to the official website and downloading a fresh version of the application. After uninstalling the current version, you can install it. Here is the method on how to uninstall an application in Windows.

  1. Press Windows + R, type “appwiz.cpl” in the dialogue box and press Enter.
  2. Once in the application manager, search for the application, right-click on it and select Uninstall. Uninstalling the Application
  3. Restart your computer and then proceed with the reinstallation process.

Solution 4: Resetting Network Cache and Configurations

If you are using a service that connects to the internet and gets some work done over there, it is recommended that you check whether all your sockets and other network configurations are intact and not causing any problems. If they are, your service might not be able to connect to the internet to carry out its tasks and hence cause difficulties.

In this solution, we will navigate to the command prompt as an administrator and reset the network configurations from there. If successful, the error message will be eradicated.

Note: This will erase all the custom settings which you have set manually.

  1. Press Windows + R, type “command prompt” in the dialogue box, right-click on the application and select “Run as administrator”.
  2. Once in an elevated command prompt, execute the following commands one by one:
Читайте также:  Anki не запускается windows

Resetting Network Configurations

  1. After resetting your network, make sure that you have internet access by checking through your browser and see if the issue is resolved.

Solution 5: Getting Ownership of the Application

Another rare case that we came across was not having the ownership of the application caused the application not to execute the service properly. This makes sense as if the application doesn’t have enough elevated access, it will not be able to send/read the response to/from a service (especially if it is a system service). In this article, we will navigate to the executable of the application and then change the ownership to our username. If successful, this will solve the problem of getting the error 1053.

  1. Locate the file/folder of the application. Right-click and select Properties.
  1. Navigate to the “Security” tab and click on “Advanced” present at the near bottom of the screen as you can see in the image below. Advanced Security Settings
  2. Click on the “Change” button present in the preceding screen. It will be right in front of the owner’s value. Here we will change the owner of this folder from the default value to your computer account. Changing Owner of application
  3. Now enter your user account name in the space present and click on “Check Names”. Windows will automatically list all the accounts which are a hit against this name. Checking for Viable Names

If you can’t find your account name using this method, you can try selecting it manually from the list of user groups available. Click on “Advanced” and when the new window comes forth, click on “Find Now”. A list will be populated at the bottom of the screen consisting of all the user groups on your computer. Select your account and press “OK”. When you are back at the smaller window, press “OK” again.

Browsing possible owner names

  1. Now check the line “Replace owner on sub containers and objects”. This will ensure that all the folders/files within the folder also change their ownership. This way you won’t have to proceed with all the processes again and again for any sub-directories present. In addition to this, we also recommend that you enable the option “Replace all child object permission entries with inheritable permission entries from this object”.
  2. Now close the Properties window after clicking “Apply” and open it again afterward. Navigate to the security tab and click “Advanced”.
  3. On the permissions window, click on “Add” present at the near bottom of the screen. Adder user account to elevated status
  4. Click on “Select principle”. A similar window will pop up like it did in step 4. Repeat step 4 when it does. Now check all the permission (giving full control) and press “OK”.
  5. Check the line “Replace all child object permission entries with inheritable permission entries from this object” and press Apply.
  6. Close the files and restart your computer completely. Now, try launching the application and check if the issue is resolved for good.

Solution 6: Updating Windows to the Latest Build

Another thing to try is checking whether you have the updated version of Windows installed on your computer or not. Microsoft release updates to target new changes in the OS and to support additional features as well. Some updates are ‘critical’ in nature and must be installed as soon as possible. If any of these ‘critical’ updates are not installed, you will experience issues.

  1. Press Windows + S to launch the search bar, write Update in the dialogue box and open the Update settings. Checking for updates
  2. Once in the update settings, click on Check for updates. The computer will now connect to Microsoft servers and see if there is any update available. If there are any updates already highlighted, perform them immediately.

Bonus: Tips for Developers

If you are a developer and are trying to launch a service in Windows, there are hundreds of technicalities that you should be doing accurate to spawn and get a response from service. Here in this bonus solution, we will list some of the most popular causes of Error 1053 in the developing world and their solutions.

  • Making sure .NET Frameworks are in sync: If the application/service which you are trying to launch is on another Framework than that of the hosting machine, you will experience issues. Make sure that the frameworks are in sync.
  • Using Release Build: Developers usually tend to use the Debug build to test various services and their operations. However, it was noted that not running the service in Release build cause several problems.
  • To debug the startup of your service (to get more insight), insert the code listed below on the top of the OnStart() method of your service:

What this will do is stall the service so you can quickly attach the Visual Studio debugger through Debug > Attack

  • Copy the release DLL or get the DLL file from release mode rather than Debug mode and paste it inside the installation folder. This will solve any problems if related to the DLL file.
  • Make sure that the database which your service/application is accessing is properly configured. If there are any issues with the database itself (or any other credentials), you will experience the error message. A good practice is to check all the modules once again and make sure all the parameters and variables are properly set.
Оцените статью