error code 0x80040154 solved

Error Code: 0x80040154 [Solved]

error code 0x80040154 solved
Credit: Microsoft Community

The error code: 0x80040154 pops up in your computer without any type of warning messages. Although many users have faced this error while using Microsoft Security Essentials, this error may pop up on your computer screen anytime while using other applications like Mails, Skype, calendar, etc. Sometimes, the third-party antivirus installed in your computer can also be conflicting with Microsoft Security Essentials. You can fix this error by following these solution methods.

Run the system restore.

Restore the system which may help you to fix this error. You can follow these steps to run the system restore.

  • Go to the Run Window and type control panel.
  • Make your icon display category as small.
  • Find an icon called system with a computer screen icon and click on it.
  • You can see System Protection on the left side of the window, click on System Protection.
  • It may require administrator approval, provide the administrator approval.
  • After that, a new window will pop up. You can see System restore option there, click on it.
  • After tapping on it, your system will start to restore.
  • After that, press on next.
  • Now, select the restore point and continue the process, click on next.
  • After that, click on finish.
  • Now, your computer will restart and take some time to restore completely, wait for it to finish.

Note: You can only proceed to System Restore if you have System Protection turned on. So, you must be sure that system protection is turned on in your pc to complete the system restoration process.

Uninstall other anti-malware programs

You should be sure that any of the anti-malware programs are not installed on your computer. If Microsoft Security Essentials and other third-party antivirus are installed at the same time, it can cause various malfunctions. You can uninstall your antivirus by following these easy steps.

  • Open the Run window by pressing Windows Key + R.
  • Type control panel in the open box of Run windows and hit enter.
  • Click on the programs and features.
  • You can see the list of applications. From there, right-click on the specific anti-virus which you are willing to uninstall.
  • Right-click and select uninstall.
  • After that, follow the instructions accordingly.

After completing the process, check if your problem is solved.

Uninstall the Microsoft security essential

If the virus/malware infection has changed its file structure of Microsoft Security Essentials then, you can uninstall and reinstall the Microsoft Security Essentials to solve the error. You can follow these simple steps to uninstall Microsoft Security Essentials.

  • Go to the search bar and type Control Panel.
  • After that, select Control Panel from the top of the list of results.
  • After opening the Control panel, click on programs and features.
  • You can see the list of programs, find Microsoft Security Essentials.
  • You should right-click on Microsoft Security Essentials and choose Uninstall.
  • Finally, you should follow the instructions accordingly.

 Remove Microsoft Security Essentials with mseremoval.bat

You can remove the Microsoft Security Essentials with mseremoval.bat by following these steps.

  • Press Windows Key + R to open the Run Window.
  • Type notepad in the open box and press Enter.
  • After opening notepad, copy and paste these in Notepad.
    cd /d “%ProgramFiles%\Microsoft Security Client”
    setup.exe /x
    TASKKILL /f /im MsMpEng.exe
    TASKKILL /f /im msseces.exe
    net stop MsMpSvc
    sc delete MsMpSvc
    REG DELETE “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\MsMpSvc” /f
    REG DELETE “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Antimalware” /f
    REG DELETE “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Security Client” /f
    REG DELETE “HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Microsoft Antimalware” /f
    REG DELETE “HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Current Version\Run\MSC” /f
    REG DELETE “HKEY_CLASSES_ROOT\Installer\Products\4C677A77F01DD614880F352F9DCD9D3B” /f
    REG DELETE “HKEY_CLASSES_ROOT\Installer\Products\4D880477777087D409D44E533B815F2D” /f
    REG DELETE “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Security Client” /f
    REG DELETE “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{774088D4-0777-4D78-904D-E435B318F5D2}” /f
    REG DELETE “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{77A776C4-D10F-416D-88F0-53F2D9DCD9B3}” /f
    REG DELETE “HKEY_CLASSES_ROOT\Installer\UpgradeCodes\1F69ACF0D1CF2B7418F292F0E05EC20B” /f
    REG DELETE “HKEY_CLASSES_ROOT\Installer\UpgradeCodes\11BB99F8B7FD53D4398442FBBAEF050F” /f
    REG DELETE “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\4C677A77F01DD614880F352F9DCD9D3B” /f
    REG DELETE “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\4D880477777087D409D44E533B815F2D” /f
    REG DELETE “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UpgradeCodes\11BB99F8B7FD53D4398442FBBAEF050F” /f
    REG DELETE “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UpgradeCodes\1F69ACF0D1CF2B7418F292F0E05EC20B” /f
    takeown /f “%ProgramData%\Microsoft\Microsoft Antimalware” /a /r
    takeown /f “%ProgramData%\Microsoft\Microsoft Security Client” /a /r
    takeown /f “%ProgramFiles%\Microsoft Security Client” /a /r
    REM Delete the MSE folders.
    rmdir /s /q “%ProgramData%\Microsoft\Microsoft Antimalware”
    rmdir /s /q “%ProgramData%\Microsoft\Microsoft Security Client”
    rmdir /s /q “%ProgramFiles%\Microsoft Security Client”

REM Stop the WMI and its dependency services

  • sc stop sharedaccess
  • sc stop mpssvc
  • sc stop wscsvc
  • sc stop iphlpsvc
  • sc stop winmgmt
  • REM Delete the Repository folder.
    rmdir /s /q “C:\Windows\System32\wbem\Repository”
    sc stop
    EXIT
  • Type “mseremoval.bat” in section Filename.
  • Select all files from the drop-down list in the section Save As Type.
  • Click on save and close the notepad.
  • Select and go to the location where you have saved the Notepad file.
  • Right-click the file and click on run.

Reset the system to solve error code: 0x80040154

The last but not the least option is to reset your Windows system. You must format the HDD to get rid of the software which is infected and also clean install new windows. You must back up your all the important files before you reset the system. Please note that repairing the PC will not help in this scenario.

After completing the process, turn on the Windows firewall and check for the windows update. If Windows update is available, update it. We hope your error code: 0x80040154 is solved now.

Leave a Comment

Your email address will not be published. Required fields are marked *