Loading...

Knowledge Center


McAfee Common Framework returned error 80040154 @ 1. (when you initiate an AutoUpdate)
Technical Articles ID:   KB57899
Last Modified:  7/1/2019
Rated:


Environment

McAfee Agent (MA) 5.x
McAfee VirusScan Enterprise (VSE) 8.x

Problem

You see one of the following errors when you initiate an AutoUpdate:
 
McAfee Common Framework returned error 80040154 @ 1. (issue: SecureFrameworkFactory.dll) ERROR: Failed to initialize Common Updater Subsystem)

Make sure the McAfee Framework Service is running
 

Cause

Caused by either:
  • A missing or unregistered .dll file because of third-party software or an incomplete upgrade from an older version of VirusScan Enterprise.
  • A missing or empty Common Framework folder.

Solution

If the file exists but is not registered, re-register SecureFrameworkFactory.dll and SecureFrameworkFactory3.dll as follows:
  1. Click Start, Run, type explorer, and click OK.
  2. Navigate to: C:\Program Files\McAfee\Common Framework\
  3. Make sure that SecureFrameworkFactory.dll exists in this folder. If not, copy it from the same location on a working system.
     
    NOTE: If you do not have another system, see Solution 3.
     
  4. Click Start, Run, type CMD, and click OK.
  5. In the command window, type the following command and press Enter:
     
    Regsvr32.exe "C:\Program Files\McAfee\Common Framework\SecureFrameworkFactory.dll"
     
  6. Click OK when you receive the confirmation that the file was successfully registered.
  7. Repeat the previous steps for SecureFrameworkFactory3.dll.

Solution

Re-register all Framework and Windows DLL files
This issue can usually be resolved by re-registering the DLL files in the McAfee Common Framework folder and the DLLs in the Windows System32 folder. 
  1.  Stop the McAfee Agent Service (5.x) or McAfee Framework Service (4.x): 
    1. Click Start, Run, type services.msc, and then click OK.
    2. Right-click the McAfee Agent Service (5.x) and select Stop.
    3. Close the Services window.
       
  2. Register all DLL files in the Common Framework folder:
    1. Click Start, Run, type CMD, and click OK.
    2. To navigate to the Common Framework folder, type the following command and press Enter:

      cd C:\Program Files\McAfee\Common Framework\

      NOTE: The above command uses the default installation directory. If you specified a different directory during installation, use that location instead. 
       
    3. To re-register the files, type the following command and press Enter:

      for %m in (*.dll) do regsvr32 /s %m 
       
    4. Wait for the DLL registrations to complete.
       
  3. Register all DLL files in %SystemRoot%\System32:
    Some of the shared McAfee DLL files are located in this folder.
     
    1. To navigate to the System32 folder, type the following command and press Enter:

      cd  %SystemRoot%\System32 
    2. To register all files in the System32 folder, type the following command and press Enter:

      for %m in (*.dll) do regsvr32 /s %m 
    3. Wait for the DLL registrations to take place, and then close the command prompt window.
       
  4. Restart the McAfee Agent Service (5.x)
    1. Click Start, Run, type services.msc, and click OK.
    2. Right-click the McAfee Agent Service (5.x) and select Start.
    3. Close the Services window.
    4. Initiate an AutoUpdate.

Solution

If either of the previous solutions fail to resolve this issue, or if the Common Framework folder is either missing or empty (indicating a failed upgrade), remove VirusScan Enterprise and the McAfee Agent and reinstall.

Rate this document

Glossary of Technical Terms


 Highlight Glossary Terms

Please take a moment to browse our Glossary of Technical Terms.