ActiveX Control Initialization GPO Setting - Office

RJames2010 36 Reputation points
2020-11-11T20:06:16.213+00:00

I'm testing the ActiveX Control Initialization GPO setting via the registry and per the Microsoft Excel spreadsheet for GPOs, if I set the DWORD value to 2 for uficontrols, that should be:

If SFI, load the control in safe mode and use persisted values (if any). If not SFI, load in unsafe mode with persisted values (if any), or use the default (first-time initialization) settings. This level is similar to the default configuration, but does not prompt the user.

However, when I look in the Trust Center Settings after making the registry change (and restarting the Office application) it shows that the ActiveX Setting is set to "Enable all controls without restriction...."

It makes me uncertain if 2 is the correct value and I was looking for confirmation. For reference, GetADMX has the same information as the spreadsheet from MSFT.

Any help would be appreciated.

Thanks!

Office Management
Office Management
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Management: The act or process of organizing, handling, directing or controlling something.
2,118 questions
{count} votes

3 answers

Sort by: Most helpful
  1. RJames2010 36 Reputation points
    2020-11-12T14:13:07.67+00:00

    It's not Excel development - its Office Group Policy settings.

    To be honest, I'm asking because we're blocking ActiveX controls and apparently the built-in mechanism that Access uses to import Excel files into the database is an ActiveX control, so I'm trying to make a Microsoft feature work.

    0 comments No comments

  2. Emi Zhang-MSFT 24,521 Reputation points Microsoft Vendor
    2020-11-13T09:21:10.257+00:00

    Hi @RJames2010 ,
    I suggest you check if you have set the Disable All ActiveX settings:

    39578-250.png

    Registry Hive HKEY_CURRENT_USER
    Registry Path software\policies\microsoft\office\common\security
    Value Name disableallactivex
    Value Type REG_DWORD
    Enabled Value 1
    Disabled Value 0

    0 comments No comments

  3. RJames2010 36 Reputation points
    2020-11-18T14:33:36.827+00:00

    That reg setting doesn't exist on my test box. Access is allowing the ActiveX control if I set uficontrols to a value of 2, but in the Trust Center it looks like it will allow everything without restriction, which is not what I want.

    Thank you!

    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.