WDAC Audit Mode - Preventing .ocx files from loading

71644982 0 Reputation points
2023-08-29T08:40:31.71+00:00

Hi, I hope someone can help with this. When we have a WDAC policy active in audit mode we see it preventing .ocx modules from loading. When we disable the audit mode WDAC policy the modules are able to load without issue.

When WDAC policy is not on the device, the module Will load:User's image

When Audit mode Policy is active on the device, the module will not load:

User's image

These are the current WDAC policy settings we have defined:

User's image

We don't see WDAC creating any Block events in Audit logs. Any ideas?

Windows for business | Windows Client for IT Pros | User experience | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 44,766 Reputation points
    2023-08-31T07:37:35.9333333+00:00

    Hello,

    Thank you for your question and for reaching out with your question today.

    The error messages you provided indicate issues related to loading and registering the .ocx module. Given that you're not seeing block events in the audit logs, this suggests that the issue might not be directly related to WDAC blocking.

    Since you're facing specific errors related to registering the .ocx module, here are some ideas for you to investigate:

    1. The error message "The module 'mhlabl32.ocx' was loaded but the call to DllRegisterServer failed with error code 0x80040200" indicates a problem with registering the DLL. This could be related to permissions, dependencies, or conflicts.
    2. Ensure that the user account attempting to register the DLL has sufficient permissions. Run the command prompt or the application attempting registration as an administrator.
    3. .ocx files often have dependencies on other libraries. Ensure that all required dependencies for 'mhlabl32.ocx' are present and properly registered.
    4. There could be conflicts with other versions of the same or related DLLs. Check if there are any other versions of the 'mhlabl32.ocx' or related files present on the system and resolve any version conflicts.
    5. .ocx files are typically COM components. Ensure that the COM component registration settings are correctly defined and not conflicting with other components or policies.

    If the reply was helpful, please don’t forget to upvote or accept as answer.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.