Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: Excel for Mac, Excel Long Term Service Channel (LTSC) for Mac 2024, Excel LTSC for Mac 2021
By default, when Excel opens an encrypted file, Excel tries to use a default password to decrypt the file. This preference prevents Excel, version 16.20 or later, from trying a default decryption password.
Use the following information to configure a policy:
Category | Details |
---|---|
Domain |
com.microsoft.Excel |
Key |
TryDefaultPassword |
Data Type |
Boolean |
Possible values |
No Yes (default) |
The following example sets the option so that Excel doesn't try a default password when opening an encrypted file:
defaults write com.microsoft.Excel TryDefaultPassword -bool No
This key is CFPreferences-compatible, which means that it can be set by using enterprise management software for Mac, such as Jamf Pro.