Windows software installation problems

Устранение проблем, препятствующих установке или удалению программ

Выполните указанные ниже действия для программ Windows. Если у вас возникли проблемы с приложением из Microsoft Store, ознакомьтесь со статьей Устранение проблем с приложениями из Microsoft Store.

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

Сначала необходимо скачать средство устранения неполадок.

Если после запуска скачивания отображается окно Загрузка файла, щелкните Запустить или Открыть.

Средство устранения неполадок предоставляет необходимые инструкции. Если программа не указана в разделе параметров удаления, вам будет предложено ввести код продукта этой программы. Для доступа к этому коду вам понадобится средство для чтения MSI-файлов, которое, как правило, есть у ИТ-специалистов. Код продукта указан в таблице свойств MSI-файла.

Исправляемые проблемы

Средство устранения неполадок помогает устранить следующие проблемы.

Поврежденные разделы реестра в 64-разрядных операционных системах.

Поврежденные разделы реестра, которые управляют обновлением данных.

Проблемы, которые препятствуют установке новых программ.

Проблемы, которые препятствуют полному удалению или обновлению существующих программ.

Проблемы, которые препятствуют удалению программ с помощью средства «Установка и удаление программ» (или «Программы и компоненты») в панели управления.

Если вы пытаетесь удалить вредоносную программу, вы можете воспользоваться службой Безопасность Windows (или другим антивирусным инструментом) либо использовать средство удаления вредоносных программ Windows.

Troubleshoot problems updating Windows 10

In Windows 10, you decide when and how to get the latest updates to keep your device running smoothly and securely. This article will help you answer questions and troubleshoot common problems with your Windows 10 update.

If you’re looking for info on how to activate Windows 10 or to verify that your installation of Windows 10 is activated, see Activate Windows 10.

Have issues installing Windows updates? Start here.

Your device may not be able to update to the latest version of Windows 10 for a few reasons. The following tips can help you pinpoint the issue affecting your device.

Before you begin, make sure your device is plugged into a power source and connected to the internet. Then, try the steps listed below to get your PC to update.

Some updates require administrator access. If your account doesn’t have administrator access, see Create a local user or administrator account in Windows 10. Or if someone else at home or in your office has an administrator account on your device, try asking them to install the updates.

Before trying any of the solutions below, make sure you back up your personal files. You can use File History to back up your files to another drive, or insert a USB drive and use File Explorer to drag and copy important files to the USB drive. If you’re signing into Windows with a Microsoft account, your system settings will be automatically restored after updating, once you’re connected to the internet.

You can also back up your files with OneDrive. For more info, go to Back up your Documents, Pictures, and Desktop folders with OneDrive.

Make sure that your device has enough space. Your device requires at least 16 GB of free space to upgrade a 32-bit OS, or 20 GB for a 64-bit OS. If your device has a small hard drive, you may need to insert a USB drive to update it.

If your PC is running low on storage, try the techniques at Free up drive space in Windows 10.

Many updates require you to restart your device. Save your work and close all open applications. Then, select Start > Power , and select either Update and restart or Update and shut down.

Even if you have downloaded some updates, there may be more available. After trying the preceding steps, run Windows Update again by selecting Start > Settings > Update & Security > Windows Update > Check for updates. Download and install any new updates.

Remove any external storage devices and drives, docks, and other hardware plugged into your device that aren’t needed for basic functionality. Then try to run updates again and see if this resolved your issue. If it didn’t, continue to the next tip.

If you’ve added hardware to your device, check for third-party driver updates and installation instructions on the hardware manufacturer’s website. Update any drivers, then try to run updates again and see if this resolved your issue. If it didn’t, continue to the next tip.

In the search box on the taskbar, type device manager, then select Device Manager from the list of results.

In the window that appears, look for any device with a yellow exclamation mark next to it. (You may have to select each category to view the list of devices.) Select the device name.

Select Action, and then choose either Update driver or Uninstall to correct the errors.

Common troubleshooting questions

If you are receiving an error message with a specific error code, try running the Windows Update Troubleshooter. If that doesn’t resolve the issue, see Fix Windows Update errors and follow the instructions to help resolve common update issues.

The time required to download and install updates depends on connection speed, network settings, and the size of the update. If the installation remains stuck at the same percentage, try checking for updates again or running the Windows Update Troubleshooter.

To check for updates, select Start > Settings > Update & Security > Windows Update > Check for updates.

To get help, in the search box on the task bar, type get help, then select Get Help from the list of results. To leave feedback if you run into further problems, in the search box on the taskbar, type feedback hub, then select Feedback Hub from the list of results.

Windows 10 is the most secure Windows ever, and we recommend you stay updated to protect your PC from security risks and to keep it running smoothly. However, you can temporarily pause updates as well as schedule a restart to install updates at a time that’s convenient for you.
Learn how to temporarily pause updates
Find out how to schedule a restart to install updates at a convenient time

Читайте также:  Ошибка при загрузке windows 10 driver

You will only receive a notification when it’s time to restart your computer to apply the installed updates.

If you need to know where you left off in your work after an update, use Timeline to jump back in.

To get started with Timeline, select Task View on the taskbar, or press the Windows logo key +Tab and select the activity you want to resume.

Monthly quality updates on Windows 10 are quite small and have a minimal impact on data usage. Feature updates typically happen twice per year, and you can control when to install them. They require more data but are less frequent.

If you’re on a metered connection, some updates for Windows won’t be installed automatically. Metered connections in Windows 10

Your computer might be slow for a number of reasons, but updating to the latest version of Windows 10 can improve its performance. For help with a slow computer, see Tips to improve PC performance in Windows 10.

If you’re having trouble finding your files after an upgrade, see Find lost files after the upgrade to Windows 10 for other things to try.

Warning: Microsoft only recommends trying the procedures in this section if you’re comfortable working in the command line. These procedures require administrator permissions on your device.

In the search box on the taskbar, type command prompt, then select Run as administrator from the list of options. Select Yes. Next, in the window that appears, type the following commands one at a time, including the spaces as shown. After you type each command, press Enter. Then let each command complete before you type the next command.

net stop wuauserv

ren %systemroot%\softwaredistribution softwaredistribution.bak

ren %systemroot%\system32\catroot2 catroot2.bak

net start wuauserv

After all these commands are completed, close the Command Prompt window and restart your computer.

In some instances, third-party antivirus or security software can cause errors when you try to update to the latest version of Windows 10. You can temporarily uninstall this software, update your PC, and then reinstall the software after your device is up to date. We recommend using third-party antivirus or security software that’s compatible with the latest version of Windows 10. You can check compatibility by visiting the software manufacturer’s website.

Note: Before uninstalling software, make sure you know how to reinstall your programs and that you have any necessary product keys.

In the search box on the taskbar, type command prompt, and then select Run as administrator from the list of options. Select Yes. In the window that appears, type the following command, including the space as shown:
chkdsk/f C:
and then press Enter. Repairs will automatically start on your hard drive, and you’ll be asked to restart your device.

A clean restart starts Windows with a minimal set of drivers and startup programs. This helps eliminate software conflicts that occur when you install a program or an update that may cause issues updating your PC.
Learn how to do a clean restart

In the search box on the taskbar, type command prompt, then select Run as administrator from the list of options.

In the window that appears, type this command including spaces as shown:
DISM.exe /Online /Cleanup-image /Restorehealth

Press Enter. When the command operation has run successfully, you’ll see a confirmation message from Command Prompt that says, “The restore operation completed successfully” or “The operation completed successfully”.
Note: If you don’t see a confirmation message, retype the command and try again.

Next, type this command, including the space as shown:
sfc /scannow

Press Enter. Wait until the sfc scan verification reaches 100% completion, and then close Command Prompt.

Try running the Windows Update again.

Go to the software download page and select Download tool now to download the clean installation tool. Make sure to carefully read the notes on the software download page before using the tool.

Still stuck?

Contact Microsoft support if you continue to have problems with your Windows updates.

How to troubleshoot Windows Installer errors

Symptoms

When you install, uninstall, or update a program on a Windows-based computer, you may receive one of the following error messages.

Error message 1

The Windows Installer Service could not be accessed.

Error message 2

Windows Installer Service couldn’t be started.

Error message 3

Could not start the Windows Installer service on Local Computer. Error 5: Access is denied.

Resolution

To fix this problem automatically, run the «Fix problems that programs cannot be installed or uninstalled» troubleshooter to repair issues that block program installation or removal because of corrupted registry keys.

Important To perform many of the methods and steps in this article, you must be logged on to your computer as an administrator.

To determine whether you’re using an account that has administrator rights

To determine whether you’re using an account that has administrator rights, use one of the following methods, as appropriate for the operating system that you’re running.

Windows 7 and Windows Vista

Open the Date and Time dialog box.

Type the following command in the Start Search or Search programs and files box, and then press Enter:

timedate.cpl
The Date and Time dialog box appears.

Click Change date and time. When the User Account Control dialog box appears, click Continue.

Do one of the following, depending on what happens when you click Continue:

If your computer does not prompt you for a password, you are already logged on with an administrator account. Click Cancel two times to close the Date and Time dialog box. You are ready to fix the Windows Installer issues.

If your computer prompts you for a password, you are not logged on with an administrator account.

Читайте также:  Чем открыть формат rtf mac os

Windows XP and Windows Server 2003

Open the Date and Time dialog box.

Click Start, and then click Run.

Type the following command in the Run dialog box, and then press OK:

timedate.cpl

Do one of the following, depending on the result:

If the Date and Time Properties dialog box appears, you are already logged on as an administrator. Click Cancel to close the dialog box.

If you receive the following message, you are not logged on as an administrator:

After you’ve verified that you’re logged on to your computer as an administrator, you can start troubleshooting Windows Installer issues.

If the Windows Installer engine is corrupted, disabled, or installed incorrectly, this may cause program installation issues.

Use the following methods to identify any Windows Installer issues that may be causing problems when you install, uninstall, or update programs.

Method 1: Determine whether the Windows Installer engine is working

Click Start , type cmd in the Search box or click Run then type cmd in the dialog (Windows XP or Windows Server 2003), and then press Enter to open a Command Prompt window.

At the command prompt, type MSIExec, and then press Enter.

If the MSI engine is working, you should not receive any error messages. If you receive an error message, enter the error message text into a search engine such as Bing or Google to locate troubleshooting information about the issue.

Try to install or uninstall again.

Method 2: Make sure that the Windows Installer service is not set to Disabled

Click Start , type services.msc in the Search box or click Run then type services.msc in the dialog (Windows XP or Windows Server 2003), and then press Enter to open Services.

Right-click Windows Installer, and then click Properties.

If the Startup type box is set to Disabled, change it to Manual.

Click OK to close the Properties window.

Right-click the Windows Installer service, and then click Start. The service should start without errors.

Try to install or to uninstall again.

Method 3: Check your version of Windows Installer, and upgrade to the latest version if necessaryImportant This method applies to Windows XP, Windows Vista, Windows Server 2003, Windows Server 2003 R2, and Windows Server 2008 only.

Click Start , type cmd in the Search box or click Run then type services.msc in the dialog (Windows XP or Windows Server 2003), and then press Enter to open a Command Prompt window.

At the command prompt, type MSIExec, and then press Enter. If the MSI engine is working, you should not receive any error messages, and a separate dialog box should open. This shows the MSI version.

If the installer is not version 4.5, download and install Windows Installer 4.5.

Try to install or to uninstall again.

Method 4: Reregister the installer engineImportant This method applies to Windows XP and to Windows Server 2000 only.

Click Start, click Run, type cmd, and then click Command Prompt.

At the command prompt, type the following, and then press Enter after each line:

Try to install or to uninstall again.

The installation or update method doesn’t run to completion

There are several methods that can be used to install, to uninstall, or to update a program. Additionally, the method or methods that are used may not have started or completed successfully. In this situation, try some other method to install, or to update the program.

The following are common methods that are used to install software:

Insert the CD or DVD media, and then let the installation auto-start.

Browse to the CD, DVD, removable media, or other location where the programs installation files are stored, and then double-click the Setup program. The setup file is typically one of the following:

Autorun or Autorun.exe

Setup or Setup.exe

Install or Install.exe

Click Run when you download the program from a website.

The installation media is unreadable

Installation media such as CD and DVD media may be dirty or scratched and therefore be unreadable by the CD or DVD reader. To resolve this issue, follow these methods:

Method 1: Clean the CD or DVDTo do this, use a CD or DVD disc-cleaning kit. Or, use a soft, lint-free cotton cloth to gently wipe the silver side of the disc. Do not use paper cloth, as this can scratch the plastic or leave streaks. When you clean the disc, wipe from the center of the disc outward. Do not use a circular motion. If the problem continues to occur, clean the disc by using a damp cloth or a commercial CD or DVD disc-cleaning solution. Dry the disc thoroughly before you insert it into the drive.

Method 2: Copy the installation files to your computer or to other removable mediaWhen you do this, note the location, and then run the installer from that location. The installation file is typically named Autorun.exe or Setup.exe, but this may vary. If you’re not sure, check the Readme file in the folder for instructions about how to run the installation process. If an executable file (.exe) is available, we do not recommend that you run .msi files directly without specific instructions from the vendor.

Note If multiple CDs or DVDs are required, we recommend that you copy all the disks to the same folder, in reverse order (higher disk numbers first). Be prepared to approve the overwriting of existing files if you are prompted, and then install from that location.

Method 3: Obtain a fresh version of the installation packageIf you tried to install from a CD or DVD, do the following:

Check the software manufacturer’s website for a more recent version of the software package. Download and install the new version.

If you already have the latest version, download the program from the manufacturer’s website, and then run the installation.

Downloaded or copied installation files are corrupted

Method 1: Copy the installation files to your computerCopy the installation files to a local hard disk on your computer or to other removable media. Note the location, and then run the installation from that location. The installation file is typically named Autorun.exe or Setup.exe, but this may vary. If you’re not sure, check the Readme file in the folder for instructions about how to run the installation. If an executable file (.exe) is available, we do not recommend that you run .msi files directly without specific instructions from the vendor.

Читайте также:  Boot repair arch linux

If you are installing a program from the Internet, redownload the file (select Save instead of Run in the download dialog box), save the file to a folder on a local hard disk on your computer or to other removable media. Then, run the installation from that location.

If your installation files are on a network (for example, a commercial or corporate environment), copy all the files to a folder on a local hard disk on your computer, and then run the installation from that location.

Method 2: Obtain a fresh version of the installation packageIf some time has elapsed between when you downloaded the package and when you tried to install it, do the following:

Check the software manufacturer’s website for a more recent version of the software package. Download and install the new version.

If you already have the latest version, download the program again, and then run the installation.

Programs that are currently running on your computer are interfering with the installation process

Disable programs that might be interfering with the installation process. To do this, follow these steps:

Click Start , type msconfig in the Search box, and then click msconfig.exe.

If you are prompted for an administrator password or confirmation, type the password, or provide confirmation.

On the General tab, click Selective startup, and then clear the Load startup items check box.

Click Services, click Hide all Microsoft services, and then click Disable all.

Click OK, and then click Restart.

Try running your software program installation.

When you are finished troubleshooting the problem, restart the computer in Normal Startup mode. To do this, follow these steps:

Click Start , type msconfig in the Search box, and then click msconfig.exe.

If you are prompted for an administrator password or confirmation, type the password, or provide confirmation.

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

There are typically several ways to remove any program. In this situation, try some other method to remove the program.

The following are common methods that are used to install software:

Method 1: Use the uninstall option (if available)

Click Start , and then click All Programs.

Select the folder for the program that you are trying to uninstall, and then open the folder.

If there is an uninstall option, try using it.

Method 2: Use Control Panel options

Click Start , click Control Panel, click Add and Remove Programs or Programs and Features, and then click Uninstall a program.

Select the program, and then click Uninstall. Follow the instructions.

Note The following steps are appropriate for advanced users only.

Make sure that you don’t have any file or folder names that are longer than 260 characters.

For more about the maximum path length limitation, see Naming files, paths, and namespaces.

Most programs create an installation log. If you can’t locate such a log, you can enable verbose MSI logging. For more information, see How to enable Windows Installer logging.

Note If you’re running the .msi log file without the bootstrapping application (.exe), you can add parameters for verbose logging. For example, you can run the following command:

Msiexec path\ your_msi.msi /L*v path\ your_msi_log.txt For a list of msiexec command-line parameters, see Command-line options.

A failed installation typically logs «Return Value 3» where the problem occurred and where the installation rollback began. The description of the failure appears immediately before the Return Value 3 log entry.

You can use the Wilogutl.exe tool to analyze log files from a Windows Installer installation. This tool may suggest solutions to errors that are found in a log file. It is available in the latest Windows Software Development Kit.

The following is an example of how to use the Wilogutl.exe tool at a command line:

wilogutl /q /l c:\mymsilog.log /o c\outputdir\

You may be able to manually uninstall some parts of the program through the Windows interface. For example, you may be able to delete program files and folders. Because the steps to do this may differ widely, depending on the version of Windows that you’re running and on the program that you’re trying to uninstall, no prescriptive steps are provided here. If you’re not sufficiently familiar with the program that you’re trying to uninstall to positively identify the files and folders for that program, we do not recommend that you try this method. Generally, when you begin to delete program files and folders, you run the risk of damaging your operating system. Use this method at your own risk.

If you are considering uninstalling the program manually, be aware of the following:

Before you use this method, make sure that you create a system restore point.

Before you get started, move any personal data or documents that may have ended up in the installation folder of the program that you’re uninstalling. For example, move this material into the Documents folder.

If you cannot manually delete a program file, this may mean that the file is being used or that some other program is accessing the file and preventing you from deleting it. For example, antivirus software may be accessing the file. When antivirus software is accessing a program file and making it impossible to delete it, it’s likely that this same antivirus software was preventing you from uninstalling the program by more traditional means.

For general information about how to install or to uninstall a program, see the following:

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