Security – Unsigned Executable File Message (SECURELOAD System Variable) (Updating Land F/X or Restarting CAD)
Issue
You see the following security warning each time you update Land F/X and restart CAD:
Security – Unsigned Executable File: The publisher of this executable file could not be verified and the file is not located in a trusted folder.
This warning might appear up to three times in a row when you restart CAD, and you might see any of the following files listed as untrusted: acad.dll, LandFX.mnl, and/or LandFX.vlx.
Cause
You're most likely seeing this warning because:
- You have the SECURELOAD system variable set to a value of 1, AND
- AutoCAD is treating any or all of the executable files required for Land F/X to load (the three files listed above) as files in untrusted locations.
About the SECURELOAD setting
The SECURELOAD system variable determines whether or not AutoCAD loads executable files, such as those required for Land F/X to function.
SECURELOAD can be set to any of the following values:
- 0: Executable files will load from any location, and you won't see the warning message pictured above.
- 1: Executable files will only load if they're in a location that's included in your Trusted Paths, and you'll see the security warning pictured above when an executable file isn't able to load.
- 2: Executable files will only load if they're in a location that's included in your AutoCAD Trusted Paths. With the 2 setting, you won't see the warning – executable files such as ours just won't load. (You might see an Unknown command or No function definition error message when Land F/X is unable to load.)
For further information on SECURELOAD, see the official Autodesk article on the SECURELOAD system variable.
Solution
The simplest way to address any of these issues (at the very least, as an initial troubleshooting step) is to set SECURELOAD to 0.
1. Type SECURELOAD in the Command line and press Enter. When prompted to enter a value, type 0.
2. Restart AutoCAD or F/X CAD. You shouldn't see the security warning.
3. Click any Land F/X tool. What happens now?
-
The tool works just fine, and you don't see an error message: Setting SECURELOAD to 0 resolved the issue. Are you OK with keeping SECURELOAD at 0?
- Yes: You've resolved the issue and can go back to work. (Note: We see no issue with keeping SECURELOAD set at 0.)
- No, it's not an option.
- You see an error message containing the text "Unknown command" or "No function definition": Land F/X is still not loading correctly. Follow our steps to address the error message you're seeing:
Is keeping SECURELOAD set to 0 not an option for you? Here's what to do.
As long as Land F/X is able to load – that is, you're not seeing an Unknown command or No function definition error – you should be able to keep SECURELOAD set to 0 without issue. (It's our default setting with F/X CAD, in fact.)
However, your office may require you to have SECURELOAD enabled (that is, set to 1 or 2), or you may just not want to have it set to 0. If that's the case, you'll need to take a few extra steps each time you update Land F/X or move your LandFX folder:
1. For now, set SECURELOAD to 1.
2. Copy the following text: C:\Program Files\Landfx\_menus_\…
Take care to copy the ellipses (...) at the end of that line of text.
3. You should see the security warning again.
Take note of:
- The file name that appears next to the word Name. (It will likely be one of the following files: acad.dll, LandFX.mnl, and/or LandFX.vlx.)
- The folder path that appears next to the word Location.
4. Type TRUSTEDPATHS into the AutoCAD Command line and press Enter.
5. When prompted to enter a value, paste the copied text from Step 2 and press Enter.
6. Restart CAD. What happens now?
You don't see a security warning or error message. You've successfully added Land F/X to your trusted paths.
If you have SECURELOAD set to anything other than 0, you may need to add paths manually to your Trusted Paths in order to get Land F/X to load and update without issue. You'll have some added protection against untrusted sites, but you'll also need to repeat these steps each time you upgrade AutoCAD or move your LandFX folder to a new location.