Microsoft Security Client - Error code: 0x80070002 at logon

  • Article ID: 121342
  • Rating:
  • 12 customers rated this article 3.4 out of 6
  • Updated: 30 Oct 2014


At each log-on you see the following message displayed:

Microsoft Security Client

An error has occurred in the program during initialization. If this problem continues, please contact your system administrator.

Error code: 0x80070002

First seen in

Sophos Cloud Managed Endpoint


The inbuilt Competitor Removal Utility (CRT) has not removed the start-up registry key, e.g.



Data: c:\Program Files\Microsoft Security Client\msseces.exe" -hide -runkey

Note: this item has been raised as DEF98017.

What To Do

In the first instance, the error message can be safely dismissed.

To prevent the message being displayed on each log-on, the 'MSC' registry value referenced in the section above can be deleted using Regedit.exe. Example:

If you need to remove the registry key from more than one computer, the following scripted approach may prove helpful. 

  1. Download the file RemoveMSCKey.txt and rename to RemoveMSCKey.vbs.
  2. Run the script file on each computer, e.g.:
    cscript.exe RemoveMSCKey.vbs

If you need more information or guidance, then please contact technical support.

Rate this article

Very poor Excellent