This error is usually a result of left-overs files, registry entries and firewall settings from a previous anti-virus protection software. Unfortunately, it is a bit difficult for a new bie to trace the left-overs of anti-virus softwares, which is the reason why “i am writing” this guide – it will help you do the same steps as i did to get Security Essentials (up & running).
Step 1: Running System File Checker Scan To Repair Corrupt Files
– To run the system file checker scan, click the Start button and type cmd, right-click cmd and select Run As Administrator.
– In the command prompt, type sfc /scannow
– And wait for the scan to finish. After the scan finishes, reboot your system.
Step 2: Uninstall Other Anti-Virus Programs
– Go to Control Panel
– Programs & Features -> Uninstall A Program
– Look through the list of installed programs, and uninstall any other anti-virus software found (such as) McAfee, Norton, AVG, BullGuard, Titanium, ClamAV etc..
– Reboot your PC again.
Step 3: Check C:\ Drive for left-over folders
Go to C:\Program Files (x86) & C:\Program Files ( to open windows explorer -> Hold Windows Key and Press E ) and look through the list of Folders. If any anti virus or malware software is found, such as Microsoft AntiMalware, AVG, Symantec -> delete the entire folder but this must be done after you have manually uninstalled the program from Control Panel, if it has already been uninstalled, then you can proceed with the removal of the folder.
Step 4: Run the MS Removal Bat File
Save the following code as msremoval.bat
cd /d "%ProgramFiles%\Microsoft Security Client" TASKKILL /f /im MsMpEng.exe TASKKILL /f /im msseces.exe TASKKILL /f /im MpCmdRun.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_CLASSES_ROOT\Installer\UpgradeCodes\26D13F39948E1D546B0106B5539504D9" /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 PAUSE EXIT
Open the location where the file is saved, right click on it and select Run As Administrator
Next, reboot the PC after running the msremoval.bat file.
Once this is done, re-download essentials and install it. Download the latest version of Microsoft Security Essentials. I also encountered a 0x8004ff82 error number after 0x80070643, in the process which was also fixed during the steps i stated above. If you are still having issues with it, you may ask me in the comments below and if my guide worked for you, a thank you in the comments will be appreciated.