HomeQuestions and answersHow to solve the cryptic error "...file format or file extension is not valid..." caused by Window Defender if "Block Win32 API calls from Office macros" rule is set. |
||
Answered Questions (FAQ)If you have a question or experience a problem with ASAP Utilities then please verify if there is already an answer to your question or solution for you problem in our list of frequently answered questions.Priority support for clientsIf you can't find the answer on our website then please contact us.Version historyA history of the various updates and improvements throughout the yearsHow it makes YOU rock in ExcelThese short tutorials show you how to benefit from the tools in ASAP Utilities and are guaranteed to save you time and speed up your work in Excel.User GuideThe ASAP Utilities User Guide is a practical manual that will show you how to get the best out of our excel add-inInstallationA quick installation guide.Bug reportIf you have found a bug first make sure you are using the most recent version. If that is the case go to our bug-report pageDebug informationIn some cases you will be asked by our support-team to turn on the debug-mode to help solve specific problems.Excel BooksThe best books on Excel. Whether you want to learn Excel, write better formula's, learn how to use macros or write professionals applications in Excel these are the best booksHow to solve the cryptic error "...file format or file extension is not valid..." caused by Window Defender if "Block Win32 API calls from Office macros" rule is set.Published: November 19, 2021 (latest revision Januari 30, 2024)reference id: QA0340 Question
What causes this error in Excel?Is your organization currently using (the professional edition of) Windows Defender? Microsoft Defender can block standard Windows functionalityMicrosoft Defender for Endpoint and Microsoft 365 Defender can use attack surface reduction rules (ASR rules) to help prevent malware infection. "Block Win32 API calls from Office macros"In case your company has the rule "Block Win32 API calls from Office macros" defined, then ASAP Utilities can't function properly because it uses Windows API calls.
Defender: Warn mode for usersPrior to warn mode capabilities, attack surface reduction rules that are enabled could be set to either audit mode or block mode. With the new warn mode, whenever content is blocked by an attack surface reduction rule, users see a dialog box that indicates the content is blocked. The dialog box also offers the user an option to unblock the content. The user can then retry their action, and the operation completes. When a user unblocks content, the content remains unblocked for 24 hours, and then blocking resumes. Warn mode helps your organization have attack surface reduction rules in place without preventing users from accessing the content they need to perform their tasks. Does ASAP Utilities use the Windows API?Yes, ASAP Utilities uses Windows API calls.
Solution: If Windows API calls are blocked, make an exception for ASAP UtilitiesIn case your organization has the "Block Win32 API calls from Office macros" rules applied in combination with "block mode", then you can still use ASAP Utilities by making and exception for our files as explained by Microsoft. The ASAP Utilities xlam files that use Windows API calls from MicrosoftThe "%ProgramFiles(x86)%\ASAP Utilities\" folder is the default installation folder.
The following applies to versions 8.1 and older. (Starting from version 8.2 the below files no longer use a Win32 API call.)
%LocalAppData%\...\Content.MSO\ and .tmp fileIn case it still doesn't work with the above exceptions and you get a warning with a reference to a randomly named .tmp file in the %LocalAppData%\Microsoft\Windows\INetCache\Content.MSO\ folder, then you need to update Windows Defender because it's something that Microsoft has already solved. In case it then still doesn't work: Resources
« back | ||
Home
Privacy Policy
Cookie Policy
EULA
Download
All added Excel tools
Sitemap
Contact Us
©1999-2024 ∙ ASAP Utilities ∙ A Must in Every Office BV ∙ The Netherlands
Empowering Excel Users Worldwide for 25 Years |