Microsoft windows based scripting host

Устраняем ошибку Windows Script Host

Исправляем ошибку Windows Script Host

Сразу стоит сказать о том, что если вы писали свой скрипт и при его запуске получили ошибку, то необходимо искать проблемы в коде, а не в системном компоненте. Например, вот такое диалоговое окно говорит именно об этом:

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

Далее мы поговорим о тех моментах, когда при старте Windows или запуске программ, например, Блокнота или Калькулятора, а также других приложений, использующих системные ресурсы, появляется стандартная ошибка Windows Script Host. Иногда подобных окон может появиться сразу несколько. Случается такое после обновления операционной системы, которое может пройти как в штатном режиме, так и со сбоями.

Причины такого поведения ОС следующие:

  • Неверно выставленное системное время.
  • Сбой в работе службы обновлений.
  • Некорректная установка очередного апдейта.
  • Нелицензионная сборка «винды».

Вариант 1: Системное время

Многие пользователи думают, что системное время, которое показывается в области уведомлений, существует только для удобства. Это не совсем так. Некоторые программы, обращающиеся к серверам разработчиков или к иным ресурсам, могут работать некорректно или вовсе отказаться функционировать по причине расхождений в дате и времени. Это же касается и Windows с ее серверами обновления. В том случае, если будет расхождение в вашем системном времени и времени сервера, то могут наблюдаться неполадки с апдейтами, поэтому на это стоит обратить внимание в первую очередь.

    Нажимаем на часы в правом нижнем углу экрана и переходим по ссылке, указанной на скриншоте.


Далее идем на вкладку «Время по интернету» и жмем на кнопку изменения параметров. Обратите внимание, что ваша учетная запись должна обладать правами администратора.


В окне настроек устанавливаем галку в указанный на изображении чекбокс, затем в выпадающем списке «Сервер» выбираем time.windows.com и нажимаем «Обновить сейчас».


Если все пройдет успешно, то появится соответствующая надпись. В случае ошибки с превышением времени ожидания просто нажимаем кнопку обновления еще раз.

Теперь ваше системное время будет регулярно синхронизироваться с сервером времени Майкрософт и расхождения не будет.

Вариант 2: Служба обновлений

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

    Вызываем строку «Выполнить» сочетанием клавиш Win+R и в поле с названием «Открыть» пишем команду, которая позволит получить доступ к соответствующей оснастке.


В списке находим «Центр обновления», кликаем ПКМ и выбираем пункт «Свойства».


В открывшемся окне жмем кнопку «Остановить», а затем ОК.


После перезагрузки служба должна запуститься автоматически. Стоит проверить, так ли это и, если она все еще остановлена, включить ее тем же способом.

Если после выполненных действий ошибки продолжают появляться, то необходимо поработать с уже установленными обновлениями.

Вариант 3: Некорректно установленные обновления

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

Читайте также:  Татарский язык для windows

    Идем в «Панель управления» и находим апплет с названием «Программы и компоненты».


Далее переходим по ссылке, отвечающей за просмотр обновлений.


Сортируем список по дате установки, кликнув по шапке последней колонки с надписью «Установлено».


Выбираем нужное обновление, кликаем ПКМ и выбираем «Удалить». Также поступаем с остальными позициями, помня про дату.

  • Перезагружаем компьютер.
    1. Для перехода к данной утилите кликаем правой кнопкой мыши по значку компьютера на рабочем столе и выбираем пункт «Свойства».


    Далее переходим к «Защите системы».


    Нажимаем кнопку «Восстановление».


    В открывшемся окне утилиты жмем «Далее».


    Ставим галку, отвечающую за показ дополнительных точек восстановления. Необходимые нам поинты будут называться «Автоматически созданная точка», тип – «Система». Из них необходимо выбрать ту, которая соответствует дате последнего обновления (или того, после которого начались сбои).


    Жмем «Далее», ждем, пока система предложит перезагрузиться и выполнит действия по «откату» к предыдущему состоянию.


    Обратите внимание, что в этом случае могут быть удалены и те программы и драйвера, которые были установлены вами после этой даты. Узнать, произойдет ли это, можно нажав кнопку «Поиск затрагиваемых программ».

    Читайте также: Как восстановить систему Windows XP, Windows 8, Windows 10

    Вариант 4: Нелицензионная Windows

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

    Заключение

    Решения проблемы с Windows Script Host довольно просты, и с ними справится даже начинающий пользователь. Причина здесь ровно одна: некорректная работа инструмента обновления системы. В случае с пиратскими дистрибутивами можно дать следующий совет: пользуйтесь только лицензионными продуктами. И да, правильно пишите ваши скрипты.

    Pop Up: Windows Based Script Host

    At random invervals a Windows pop up window displays this message (in my language Swedish):

    How do you want to open this type of file (.js)

    Microsoft Windows Based Script Host

    (and also displays alternative applications (Notepad among them).

    If I click the application name above, the pop up window disappears and nothing else happens.

    If I click beside the pop up window the nothing else happens.

    If I don’t click at all the pop up window stays on the screen.

    I can’t detect other events.

    Can I get rid of this pop up in any way? What is wrong?

    Replies (7) 

    Thank you for posting your query in Microsoft Community.

    I understand that you are receiving Windows based script host errors and I will be happy to answer your query. Let me ask you;

    1. What is the exact and complete error message?
    2. Do you remember making any specific change in the computer prior to the issue?

    While you revert with answer to questions asked, I would recommend you to perform clean boot to avoid any third party software conflict.

    Placing your system in Clean Boot state helps in identifying if any third party applications or startup items are causing the issue. You need to follow the steps from the article mentioned below to perform a Clean Boot.

    Читайте также:  Файловые оболочки для windows

    Note : Refer «How to reset the computer to start normally after clean boot troubleshooting» to reset the computer to start as normal after troubleshooting.

    If the issue still persists, I would request you to revert with answers to questions asked. Also, I would also request you to add a screenshot of the error, we’ll be happy to assist you further.

    Was this reply helpful?

    Sorry this didn’t help.

    Great! Thanks for your feedback.

    How satisfied are you with this reply?

    Thanks for your feedback, it helps us improve the site.

    How satisfied are you with this reply?

    Thanks for your feedback.

    Thanks for the answer (I have difficulties getting back to my support questions because of complicated or non intuitive website layout, that’s why I’ve been long before reacting).

    I hoped for an explanation of what was happening, since the message clearly talks of a Windows process.

    The exact and complete error message is as above, but in Swedish, with the alternative «Microsoft Windows Based Script Host» prechosen. The other alternatives are a range of applications like NotePad, Nero Essentials and what not, that I have installed.

    Now I have followed the instructions concerning clean install. For about ten minutes the pop up hasn’t materialized. However I don’t have a clue as to which application might have been the culplrit. Should I go through the cumbersome task of activating one startup process on at a time to find out which one that caused my problem? You haven’t said anything about «what next».

    Or should I keep the start up processes unactivated from now on?

    I have gotten rid of a couple of Apple addons that I don’t remember ever installing, and for a while I have had their music application iTunes proposing updates. I uninstalled that one, but that did not help the pop up issue. Did they come with some «free» addon?

    Was this reply helpful?

    Sorry this didn’t help.

    Great! Thanks for your feedback.

    How satisfied are you with this reply?

    Thanks for your feedback, it helps us improve the site.

    How satisfied are you with this reply?

    Thanks for your feedback.

    Thank you for your update on the issue.

    The suggested steps were to clean boot the system and not to clean install. If you want, I would explain the steps to eliminate the faulty service causing the issue. The steps are as detailed below:

    Step 1: a) Press the ‘Windows + R’ key on the keyboard.

    b) In the ‘Run’ windows type ’MSCONFIG’ and click ‘Ok’.

    c) Click the ‘Boot’ tab and uncheck ‘Safe Boot’ option.

    d) On the ‘General’ tab, click to select the option ‘Selective startup’, and then click to clear the option Load startup items check box.

    e) On the ‘Services’ tab, click to select the ‘Hide all Microsoft services’ check box, and then click ‘Disable all’.

    f) On the ‘StartUp’ tab, click ‘Open Task Manager’. In the Task Manager window under startup tab, right click on each startup item which are enabled and select ‘Disable’.

    Читайте также:  Linux and software and download

    g) Click ‘OK’, and then click Restart.

    Step 2: Enable half of the services
    a.
    Follow steps 1a and 1b to start the System Configuration utility.
    b. Click the Services tab, and then click to select the Hide all Microsoft services check box.
    c. Click to select half of the check boxes in the Service list.
    d. Click OK, and then click Restart.

    Step 3: Determine whether the problem returns.
    If the problem still occurs, repeat step 1 and step 2. In step 2, click to clear half of the check boxes that you originally selected in the Service list.
    If the problem does not occur, repeat step 1 and step 2. In step 2, select only half of the remaining check boxes that are cleared in the Service list. Repeat these steps until you have selected all the check boxes.
    If only one service is selected in the Service list, and you still experience the problem, the selected service causes the problem. Go to step 6. If no service causes this problem, go to step 4.

    Step 4: Enable half of the Startup items
    If no startup item causes this problem, a Microsoft service most likely causes the problem. To determine which Microsoft service may be causing the problem, repeat step 1 and step 2 without selecting the Hide all Microsoft services check box in either step.

    Step 5: Determine whether the problem returns
    If the problem still occurs, repeat step 1 and step 4. In step 4, click to clear half of the check boxes that you originally selected in the Startup Item list.
    If the problem does not occur, repeat step 1 and step 4. In step 4, select only half of the remaining check boxes that are cleared in the Startup Item list. Repeat these steps until you have selected all the check boxes.
    If only one startup item is selected in the Startup Item list, and you still experience the problem, the startup item that is selected in the list is the service that is causing the problem. Go to step 6.
    If no startup item causes this problem, a Microsoft service most likely causes the problem. To determine which Microsoft service may be causing the problem, repeat step 1 and step 2 without selecting the Hide all Microsoft services check box in either step.

    Step 6: Resolve the problem.
    After you determine the startup item or the service that causes the problem, contact the program manufacturer to determine whether the problem can be resolved. Or, run the System Configuration utility, and then click to clear the check box for the problem item.

    Step 7: Note: After you have finished troubleshooting, follow these steps to boot to normal startup.

    a) Press the ‘Windows + R’ key on the keyboard.

    b) In the ‘Run’ windows type ’MSCONFIG’ and click ‘Ok’.

    c) On the ‘General’ tab, click the ‘Normal Startup’ option, and then click ‘OK’.

    d) When you are prompted to restart the computer, click ‘Restart’.

    Hope the information is helpful. Please post back your results for further assistance.

    Оцените статью