Disable Excel password protection

Connect Centre01 5 Reputation points
2023-06-08T01:55:49.8766667+00:00

I am trying to disable Excel password protection via group policy to prevent user from saving file with password. After much research, I came across 2 solutions.

 

By the way, my machine is Win 10 Pro with Office Home and Business 2021. I also downloaded and applied latest administrative template for Office from Microsoft website.

 

Solution 1
In the Group Policy Editor, navigate to User Configuration > Administrative Templates > Microsoft Excel > Excel Options > Security
Select "Password to open" and set as "Disabled".
Select "Password to modify" and set as "Disabled"

 

However, the path found in the group policy is Microsoft Excel 2016 instead of Microsoft Excel.  Under the Excel Options > Security, there is no "Password to open" and "Password to modify"

Solution 2
User Configuration > Administrative Templates > Microsoft office 2016 > Security Settings
Select "Disable password to open UI" and set as "Enabled"

Based on description, this setting apply to Office 2016. I tried and it does not work for Office 2021.

 

Any way I can prevent saving Excel file with password via group policy or registry key?

Microsoft 365 and Office Excel For business Windows
Windows for business Windows Client for IT Pros User experience Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Tanay Prasad 2,250 Reputation points
    2023-06-08T07:19:11.21+00:00

    Hi,

    It seems that the specific group policy settings you mentioned may not be available or applicable to your version of Microsoft Office (Office Home and Business 2021). Group policies for Office versions may vary, and certain settings may not be present.

    You can try the following alternative approach:

    1. Open the Group Policy Editor by pressing Windows Key + R, typing "gpedit.msc," and hitting Enter.
    2. Navigate to User Configuration > Administrative Templates > Microsoft Office > [Your Office Version] > Excel > Save.
    3. Look for the setting "Disable Save As password" or a similar option. Enable this setting.

    Note- The exact path and setting name may vary depending on the Office version.

    Let me know if this works.

    Best Regards.

    0 comments No comments

  2. Emi Zhang-MSFT 30,046 Reputation points Microsoft External Staff
    2023-06-08T09:46:21.7666667+00:00

    Hi,

    Did you download the Administrative Template files (ADMX/ADML) from this link?

    https://www.microsoft.com/en-us/download/details.aspx?id=49030

    If yes, it's not supported with Office 2021 Home and Business.

    I suggest you refer to this article and try the registry key to help you:

    https://admx.help/?Category=Office2016&Policy=office16.Office.Microsoft.Policies.Windows::L_DisablepasswordtoopenUI

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

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.

    Just checking in to see if the information was helpful. Please let us know if you would like further assistance.


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    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.