How to install programs in safe mode. Windows Safe Mode - how to start and when to use. What exactly can be fixed in safe mode?

Safe mode is often the only available option for dealing with a system that has suddenly failed, especially when there is nothing else available. And in many cases it turns out to be quite enough, especially if the malfunction is caused by an incompatible software version or unsuccessful updates. However, an unpleasant surprise may be that the service Windows Installer V this mode disabled. Fortunately, this is easy to fix and today we will tell you how.

The logic of the developers is sometimes difficult to understand. The main purpose of safe mode is to eliminate problems that prevent the system from loading, incl. removing incompatible software or drivers. But for some reason the standard Windows Installer service was considered unsafe and safe mode turned off. The result is a vicious circle: in order to remove incompatible software, we must boot into normal mode, which this very software actively prevents.

What should I do? Contacting support is undoubtedly “valuable” advice, but you usually need to restore the system here and now, especially if the “hero of the occasion” is known. Trying to start the service manually will also fail:

The official recommendation from Microsoft is to perform a clean boot, disabling all third-party services and startup items. In many cases, this will help, unless we are talking about low-level components launched by standard services (drivers, crypto provider, etc.). Therefore, we will use the “undocumented” opportunity and launch the Windows Installer service contrary to the established restrictions.

The error text in the screenshot above should give some thought; if the system unconditionally states that this service cannot work in safe mode, then somewhere there should be a list of services that can work in this mode.

Such a list is contained in the system registry in the branch:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal

For safe mode and in the thread:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SafeBoot\Network

For Safe Mode with Networking.

Open the registry editor and create a section in the specified branch with the name MSIServer, open it and assign the parameter Default meaning Service.

To make your work easier, you can create ready-made registry files, for this in any text editor create a file, add the content below and save it with the extension .reg.

For safe mode:


@="Service"

For Safe Mode with Networking:

Windows Registry Editor Version 5.00


@="Service"

After making changes to the registry, a reboot is not required; you can immediately launch the required service. To do this, or open the snap-in Computer Management - Services and Applications - Services or use the command line:

Net start msserver

Now you can normally uninstall applications that use the Windows Installer service in safe mode. You can start other services in a similar way, but you should exercise reasonable caution, since if this service is the source of the failure, then you will not be able to reboot into safe mode and you will have to take other measures to restore the system.

Hello, dear readers of the blog site. Today a short article on the topic operating system windows, or rather about how you can remove unnecessary programs in Safe Mode. This may come in handy in some cases. For example, as in mine, when the Windows operating system on my computer stopped starting in normal mode after installing one program.

Recently, after installing a driver for a USB dongle, my laptop began to display Blue screen of death or simply BSoD. Of course, you could not bother and type computer repair in Lyubertsy into a search engine, find some company and they would fix everything for 500 rubles. But I went over the hard way and decided to figure out what was going on myself. I’ll tell you right away what’s on my laptop: windows 7 and all screenshots in the article and instructions are given specifically for this operating system.

When I tried, Windows started without any problems. An attempt to roll back the system to a restore point before installing the driver was unsuccessful. After loading in normal mode, the blue screen appeared again, and when loading in safe mode, a message appeared that it was not possible to perform a system restore because it was not possible to access the system files.

Next, I simply tried to remove the ill-fated driver. But when I tried to remove the driver from safe mode, I received the message “The Windows Installer service could not be accessed. Windows Installer may not be installed. Please contact support for help."

IN English version On Windows this message will look like this: "The Windows Installer Service could not be accessed. This can occur if the Windows Installer is not correctly installed. Contact your support personnel for assistance."

When I try to start the service Windows Installer(in the service management console it is called "Windows Installer") an error message also appeared (The service could not be started and this service does not start in safe mode):

As it turned out later, you can start the service by editing the system registry. In order to avoid the above problems and get the WIndows Installer to work in safe mode, we have prepared brief instructions:

1. Launch the registry editor regedit.

To do this in the menu "Start" in the file search bar enter regedit and run the found file, which will appear at the top Start.

2. We make changes to the system registry.

To do this, use the tree menu in the left area of ​​the editor to open this section:

And create a subsection here with the name MSIServer. To do this, right-click on the section name and select “Create -> Section” in the menu that opens.

And as the name of the created subsection we write MSIServer.

Meaning "Default" make it equal "Service". To do this, double-click on the parameter name. A window will appear "Changing a string parameter". In this window in the field "Meaning" enter the required value.

As a result of editing the system registry in the section HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\ we should have a subsection MSIServer whose parameter value Default should be equal Service.

3. Start the Windows Installer service

After the above steps, you will be able to start the Windows Installer service. There are several ways to start the service. The easiest way is to type in the command line net start msserver. If the launch is successful, a message appears on the command line that "Windows Installer service started successfully".

Or you can use service management console. To do this, right-click on the icon "My computer" on the desktop or in the menu "Start" and press "Control".

After this a window will open "Computer Management". In the left area of ​​the window in the menu go to the section "Services and Applications" -> "Services". A list of services will open in the right pane of the window. We are looking for a service in this list "Windows Installer", right-click on it and press "Run".

If you did everything correctly, the service should start and you should be able to remove programs in safe mode.

I will add that in this way you can start almost any service in safe mode. That's all, see you again on the blog pages.

Safe Mode in Windows systems is one of basic tools, allowing you to restore the functionality of the system. One of the significant disadvantages of safe mode is the inability to install/uninstall programs from msi packages. This limitation is due to the fact that the developers considered the service Windows Installer(Window Installer) is potentially unsafe, and decided to cancel the start of this service when the system boots in safe mode. Which in some cases is extremely inconvenient.

Most modern applications use the Windows Installer service for their correct installation/uninstallation, and if it is not available, their installation or uninstallation is impossible. Let's assume that in order to restore the system's functionality, it is necessary to remove in safe mode some application that interferes with the normal loading of the system (for example, an antivirus). When you try to run a standard uninstaller to remove an application, the system reports:

The Windows Installer Service could not be accessed. This can occur if the Windows Installer is not correctly installed. Contact your support personal for assistance

It is also not possible to manually start the Windows Installer service in Safe Mode (Services -> Windows Installer -> Start):

Windows could not start the Windows Installer service on Local Computer. Error 1084: This service cannot be started in Safe Mode

However, there is a small trick that allows you to start the Windows Installer service in safe mode and correctly uninstall the software.

To enable the Windows installer service in Safe Mode:


After starting the MSISServer service, it is possible to directly uninstall/install any application with an msi installer in safe mode.

If you are reading this post, you already know that Windows Installer (MSI) does not run in Windows Safe Mode by default. This is very annoying because you may have installed an application or program in normal mode, which subsequently prevents Windows 10 from starting. Trying to uninstall a program from Safe Mode results in an error because the Windows Installer service does not start in Safe Mode. Here is a simple workaround that will allow you to start the Windows Installer service in Safe Mode.

Let's say that after an incorrect shutdown, one of the programs began to prevent the operating system from loading in normal mode. As soon as the desktop loaded, the OS received BAD_POOL_HEADER(). If you know which of the installed programs is causing the system to crash, you need to remove it; if not, you will have to remove the last installed applications one by one.

If you try to uninstall an application that was installed from an MSI package in Safe Mode, you will receive the following error:

The Windows Installer service could not be accessed. Windows Installer may not be installed. Contact support for assistance.

How to remove a program or application in safe mode

To enable Windows InstallerInstaller in safe mode, follow these steps.

Go to the next registry key.

Create a new subkey named "MSIServer".

In the created section MSIServer, set the value for default string parameter on "Service" as shown below. This will allow Windows Installer to run in normal safe mode (no network support).

Now repeat the same for

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SafeBoot\Network

This will enable Windows Installer in Safe Mode with Networking. See screenshot below.

Now open command line and enter:

This will instantly activate the Windows Installer service.

Now you can uninstall any application or program in safe mode!

This trick works in all modern Windows versions, including Windows 10, Windows 8 and Windows 7.

To save your time, you can download ready-made registry files.

The archive contains two files:

Enable Windows Installer in Safe Mode - Enable uninstalling apps in Safe Mode.

Disable Windows Installer in Safe Mode - Disable uninstalling applications in Safe Mode (cancel changes).

Read why you need safe mode. How to start your computer in safe mode and fix your PC using it. Safe Windows mode is an important built-in tool. On computers infected with malware or crashing due to driver errors, Safe Mode may be the only way launch.


Safe Mode starts your computer with minimal necessary set drivers and services. All third party programs are disabled, and even system tools are limited to only the necessary set of functions.

Safe Mode is a great way to get rid of malware that is blocking your computer from booting or functioning. It also provides an environment in which you can roll back system or driver updates, clean up startup, uninstall recently installed programs or diagnose and troubleshoot Windows problems.

Content:

When can Safe Mode help?

At normal startup Windows loads all system services, installed hardware drivers and programs from startup. In Safe Mode, the system starts with the standard video driver, which provides a low screen resolution and does not affect hardware support. Windows starts only with the services necessary for the system and disables autoloading of third-party programs.

If your computer reboots cyclically, freezes during boot, displays a BSOD error with a blue screen of death, or the system is blocked from booting by a ransomware virus banner, then safe mode will be an excellent solution for diagnosing and treating these problems.

How to start your computer in safe mode


Your Windows 10 PC will automatically start in safe mode if it fails 3 times in a row. But you can force start safe mode. . To launch Safe Mode in Windows 7 or 8, you must hold down the Shift button while rebooting the system.

How to fix PC in safe mode?


After starting Safe Mode, you can perform a number of common system maintenance and troubleshooting tasks:

    Search and remove viruses. Use an antivirus to scan your computer and remove malware in safe mode. Malware work in background and interfere with the operation of the system and antivirus. A virus that does not allow itself to be removed normally can be removed in Safe Mode. If you don't have an antivirus yet, you can download and install one. Windows 10 already has a free antivirus built-in that will help you find and remove the virus.

    Running System Restore. If yesterday your computer was working normally, but as a result of changing settings or installing new drivers or programs, problems appeared - use restore points. Automatic Windows update usually enabled by default on most computers. Sometimes such updates lead to the PC being blocked from loading, the system reboots cyclically or displays an error and a blue screen of death. Often booting into safe mode and rolling back to an earlier successful system configuration will completely resolve the problem.


    Removing recently installed faulty software. If installing a program blocks the system from starting or results in an error blue screen, you can delete it in the control panel. Such errors can be caused not only by programs that start automatically when the system starts, but by software that constantly monitors the availability of updates on the Internet.

    Removing or updating drivers. Automatic update drivers can also lead to system failures. In safe mode, most drivers do not start or are replaced with less functional but more stable versions. Often the cause of the crash may be the video driver or sound card. If you or the system automatically updated the driver to a faulty version, roll back to previous version or use the driver from the official website of the device manufacturer.

    Determining the cause of the failure. If the computer does not start in normal mode, not in safe mode, then most likely your hardware is faulty. In this case, you should disconnect all third-party devices and restart. Ideally, you should leave only the processor, memory and HDD with the system. Then connect the devices one at a time and repeat the launch to detect the problem. If you receive a BSOD error during normal startup, use the Event Log and System Stability Monitor for more information and recommendations to resolve the issue.

Reinstalling Windows

Often, finding and solving a problem that leads to a system crash is not justified in terms of the time spent. Faster and simple solution There will be a clean installation of Windows.

Certainly, reinstalling Windows will result in the loss of your personal files, so make sure you have backup copy. Windows 8 or 10 provides an alternative to reinstallation - resetting the computer to its original state. At the same time, you can save your personal files.

If after this your computer is still unstable, then there is a hardware failure in your computer. To continue working with the PC, you need to identify the faulty part and replace it.