Checking system configuration in windows

How to use the System Configuration utility to troubleshoot configuration errors

This article describes how to use the System Configuration utility to troubleshoot configuration errors.

Original product version: В Windows Vista
Original KB number: В 950093

Introduction

This article describes how to use the System Configuration utility (Msconfig.exe) to troubleshoot configuration errors that might prevent Windows Vista from starting correctly.

More information

The System Configuration utility finds and isolates issues. However, it is not a startup management program.

For more information about how to disable or to permanently remove the programs that run when Windows starts, click the following article number to view the article in the Microsoft Knowledge Base:

270035 How to disable programs that run when you start Windows XP Home Edition or Windows Vista

Advanced troubleshooting

These troubleshooting steps are intended for advanced computer users. If you are not comfortable with advanced troubleshooting, you might want to ask someone for help or to contact support. For information about how to contact support, visit the following Microsoft Web site:
Microsoft Support
The System Configuration utility automates the routine troubleshooting steps that Microsoft Customer Support Services professionals use when they diagnose system configuration issues.

When you use this utility, you can select options to temporarily prevent services and programs from loading during the Windows startup process. With this process, you can reduce the risk of making typing errors when you use Registry Editor. Additionally, when you use the utility, it is easy to restore the original configuration.

When you use the System Configuration utility, you can start Windows while common services and startup programs are disabled. Then, you can enable them one at a time. If an issue does not occur when a service is disabled but does occur when the service is enabled, the service could be the cause of the issue.

You can easily reset or change the configuration settings in Windows Vista to include preferences for the following settings:

Services that are set to start during the startup process

Programs that are set to load during the startup process

These programs are specified in the Programs/Startup folders and in the registry.

To use the System Configuration utility, you must be logged on as an administrator or as a member of the Administrators group.

Startup options that are available

The following startup options are available:

  • Normal startup
  • Diagnostic startup
  • Selective startup

Normal startup

The normal startup option is the Windows default. This option enables Windows to start in normal mode together with all programs, services, and device drivers loaded.

Diagnostic startup

The diagnostic startup option enables Windows to determine which basic device drivers and software to load when you start Windows. When you use this option, the system temporarily disables Microsoft services such as the following services:

  • Networking
  • «Plug and Play»
  • Event Logging
  • Error Reporting
  • System Restore

Do not use this option if you have to use a Microsoft service to test an issue.

To perform a diagnostic startup, follow these steps:

Click Start , type msconfig in the Start Search box, and then press ENTER.

Читайте также:  Образ web сервера linux

If you are prompted for an administrator password or for a confirmation, type the password, or click Continue.

On the General tab, click Diagnostic startup, and then click OK.

Click Restart.

If the issue does not occur after Windows restarts, use the selective startup option to try to find the issue by disabling and enabling individual services and startup programs.

Selective startup

The selective startup option enables you to select the programs and services that you want the computer to load when you restart the computer. You can select from the following options:

  • Load system services
  • Load startup items
  • Use original boot configuration

By default, all these options are selected. The following rules apply to these options:

  • When you click to select the check box, the option is processed when you restart the computer.
  • When you click to clear the check box, the option is not processed when you restart the computer.
  • When the check box is selected and when you cannot click to clear the check box because it is unavailable, some items are still loading from that option when you restart the computer.
  • When the check box is not selected and when you cannot click to select the check box because it is unavailable, the option is not present on the computer.
  • You cannot change the Use original boot configuration option.

When you click to clear the Load system services check box, you disable Microsoft services such as the following services:

  • Networking
  • «Plug and Play»
  • Event Logging
  • Error Reporting
  • System Restore

Do not click to clear this check box if you have to use a Microsoft service to test an issue.

To perform a selective startup and to troubleshoot the issue, follow these steps:

Click Start , type msconfig in the Start Search box, and then press ENTER.

If you are prompted for an administrator password or for a confirmation, type the password, or click Continue.

On the General tab, click Selective startup, and then click to clear the Load system services and Load startup items check boxes.

Click OK, and then click Restart.

If you can reproduce the issue after the computer restarts, the issue is not related to system services or startup items. In this case, the System Configuration utility will not help troubleshoot the issue.

If you cannot reproduce the issue after the computer restarts, the issue is related to either the system services or the startup items. To determine the items to which the issue is related, follow these steps:

Click Start , type msconfig in the Start Search box, and then press ENTER.

If you are prompted for an administrator password or for a confirmation, type the password, or click Continue.

On the General tab, click Selective startup, and then click to select the Load system services check box.

Click OK, and then click Restart.

If you can reproduce the issue after the computer restarts, the issue is related to one of the system services. Otherwise, the issue is related to one of the startup items.

After you determine the items to which the issue is related, follow the steps in the «How to determine the service or startup item that is causing the issue» section to determine the individual service or startup item that is causing the issue.

How to determine the service or startup item that is causing the issue

To determine the cause of the issue, you can prevent individual services and startup items from loading when you restart the computer. You can follow these steps.

How to determine the system service that is causing the issue

Click the Services tab, click Disable all, click to select the check box for the first service that is listed, and then restart the computer.

If the issue doesn’t occur, you can eliminate the first service as the cause.

With the first service selected, click to select the check box for the second service, and then restart the computer.

Repeat this process until you reproduce the issue. If you cannot reproduce the issue, you can eliminate system services as the cause. Continue to the next procedure.

Читайте также:  Самопроизвольное выключение компьютера причины windows

How to determine the startup item that is causing the issue

Click the General tab, and then click to select the Load startup items check box.

Click the Startup tab, click Disable all, click to select the check box for the first startup item that is listed, and then restart the computer.

If the issue does not occur, you can eliminate the first startup item as the cause.

With the first startup item selected, click to select the check box for the second startup item, and then restart the computer.

Repeat this process until you reproduce the issue.

How to enable and to disable individual services and startup items

Services and startup options

The Services and Startup tabs in the System Configuration utility have the following options:

  • Check boxes enable you to enable or to disable an option. To enable or to disable an option so that it loads or does not load at startup, click to select or click to clear the check box. A selected check box indicates that the option will be started or loaded at startup.
  • The keyboard arrow keys enable you to move through the different options when you do not have a mouse.
  • The SPACEBAR enables you to select and to clear options when you do not have a mouse.

When you click to clear a check box for an item, the Selective Startup option on the General tab is automatically selected.

How to return to normal startup

After you complete your troubleshooting and fix your configuration, return to a normal startup. You can follow these steps:

Click Start , type msconfig in the Start Search box, and then press ENTER.

If you are prompted for an administrator password or for a confirmation, type the password, or click Continue.

On the General tab, click Normal startup, and then click OK.

Click Restart.

How to start diagnostic tools and other advanced tools

You can use the Tools tab in the System Configuration utility to start diagnostic tools and other advanced tools. The Tools tab also displays the path and the switches for the tools.

To start one or more of the tools that are listed on the Tools tab, click the tool that you want to start, and then click Launch. Or, click the tool that you want to start, and then press ALT+L.

References

For more information about advanced troubleshooting for general startup problems in Windows Vista, click the following article number to view the article in the Microsoft Knowledge Base:

927392 How to use the Bootrec.exe tool in the Windows Recovery Environment to troubleshoot and repair startup issues in Windows Vista

For more information about how to use System Restore to restore Windows Vista, click the following article number to view the article in the Microsoft Knowledge Base:

936212 How to repair the operating system and how to restore the operating system configuration to an earlier point in time in Windows Vista

For more information about how to configure Windows Vista to start in a «clean boot» state, click the following article number to view the article in the Microsoft Knowledge Base:

929135 How to troubleshoot a problem by performing a clean boot in Windows Vista

If these articles can’t help you resolve the issue or if you experience symptoms that differ from those ones described in this article, search the Microsoft Knowledge Base for more information. To search the Microsoft Knowledge Base, visit the following Microsoft Web site:
https://support.microsoft.com

Type the text of the error message that you receive, or type a description of the issue in the Search box, and then press ENTER.

SFC и DISM: Проверка и Восстановление системных файлов в Windows

Всякий раз, когда что-то идет не так с компьютером или ноутбуком, есть ряд инструментов для устранения неполадок, которые вы можете выполнить, чтобы попытаться устранить проблему. В Windows 10/8/7 есть несколько встроенных команд, которые можно использовать для проверки и восстановления поврежденных системных файлов, которые со временем вызывают проблемы при изменении.

Читайте также:  Будильник планировщик для windows 10

Одним из способов устранения неполадок, связанных с Windows, является проверка системы и восстановление системных файлов. Это может помочь во всех типах проблем, таких как медленная система, синий экран смерти, внезапные сбои питания и сбои системы.

Рассмотрим, как запустить средство проверки системных файлов в Windows с помощью командной строки CMD и PowerShell, таких команд как sfc /scannow и инструмента DISM.

Проверка и Восстановление системных файлов через CMD

Средство проверки системных файлов сканирует ваш компьютер на предмет любого повреждения или изменений в системных файлах, которые в противном случае могли бы помешать нормальной работе вашего ПК. Инструменты заменяет файл правильной версией, чтобы обеспечить бесперебойную работу. С помощью командной строки можно попытаться сканировать и восстановить системные файлы поздних операционных систем, как Windows 10/8/7 /Vista. Разберем две команды sfc /scannow и DISM с помощью CMD.

1. Использование инструмента System File Checker (SFC)

Запустите командную строку (CMD) от имени администратора. Нажмите «поиск» и напишите просто «cmd» или «командная строка», далее по ней правой кнопкой мыши и запуск от имени админа.

Задайте команду sfc /scannow и дождитесь окончания процесса.

Примечание: После сканирования вашей системы будет выдан один из трех результатов:

  • Ошибок системных файлов не будет.
  • Будут ошибки системных файлов и Windows восстановит их автоматически.
  • Windows обнаружила ошибки, но не может восстановить некоторые из них.

Если у вас показывает вариант 3, что ошибка обнаружена и система не может восстановить, то загрузитесь в безопасном режиме и проделайте заново процедуру. Советую отключить шифрование EFS и Bitlocker , если на момент проверки они имеются. Ничего не получилось? Двигаемся ниже.

2. Использование инструмента Deployment Image and Service Management (DISM)

Если вышеуказанное не работает в безопасном режиме, есть один последний способ проверить повреждение в системных файлах и исправить их. Используем инструмент Deployment Image and Service Management (DISM). Команда работает с системами Windows 8/8.1/10. Откройте обратно командную строку от имени администратора и используйте следующую команду:

  • DISM /ONLINE /CLEANUP-IMAGE /RESTOREHEALTH

Процесс может занять длительное время с зависанием процентной шкалы. Закончив работу, перезагрузите компьютер и запустите обратно sfc /scannow, чтобы убедиться, что ошибок нет или ошибка пропала.

Проверка и Восстановление системных файлов через PowerShell

Мы будем использовать Windows PowerShell, чтобы показать, как использовать службу обслуживания и управления DISM для сканирования и исправления поврежденных системных файлов в Windows 10. Этот способ будет более эффективный для обновления windows 10, чем командная строка.

1. Использование инструмента System File Checker (SFC)

Запустите PowerShell от имени администратора. Нажмите «поиск» и наберите windows powershell, после нажмите правой кнопкой мыши и выберите от имени админа.

Задайте в окне PowerShell команду sfc /scannow. Если сканирование обнаружит какие-либо проблемы, Windows попытается их исправить. Если Windows не сможет их исправить, он предупредит вас, что необходимы дальнейшие исследования и действия. Двигайтесь ниже, если обнаружены ошибки.

2. Использование инструмента Deployment Image and Service Management (DISM)

Сканирование DISM обнаруживает поврежденные системные файлы и Windows попытается исправить их, и даст вам отчет о ходе работы в конце. Если Windows не сможет найти файлы, необходимые для восстановления поврежденных системных файлов, вам также будет предоставлена ​​информация о том, что делать дальше, со ссылкой на веб-сайт Microsoft и варианты устранения неполадок. Задайте ниже команду в окно PowerShell.

  • DISM /ONLINE /CLEANUP-IMAGE /RESTOREHEALTH

Если DISM все исправил или не выявил ошибки, то перезагрузите ноутбук, компьютер и запустите для проверки обратно sfc /scannow.

Анализ лога CBS, какие файлы не удалось восстановить

Если после сканирования системных файлов, программа защиты ресурсов Windows обнаружила поврежденные файлы, но не может восстановить некоторые из них, лог файл CBS может помочь нам определить, какие именно файлы повреждены. Для этого:

  • Перейдите по пути C:\Windows\Logs\CBS
  • Откройте файл CBS.log в блокноте или текстовом редакторе.
  • В блокноте нажмите Ctrl+F, чтобы вызвать поиск
  • В поиске напишите Cannot repair member file, чтобы найти файлы, которые не удается восстановить.
  • Если поиск не дал результатов, то найдите записи [SR] и вы обнаружите, что все они одинаковы 100 components.
  • Ищите листая вручную любые изменения, отличные от 100 components, где вы и найдете поврежденный файл или указание.
  • Ориентируетесь по времени, когда вы примерно запускали сканирование SFC, так как лог может быть и за вчерашний день.

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