Microsoft Excel Trusted Locations You can't add a network location

Icyash 0 Reputation points
2026-11-24T12:10:36.0933333+00:00

Open Excel, "Microsoft has blocked the macro from running because the source of this file is not trusted.", In "Trusted locations", when adding a network location, "The path you entered cannot be used as a trusted location for security reasons. Please choose a different location or a specific folder." How to solve it?

Microsoft 365 and Office | Excel | For business | Windows
0 comments No comments

2 answers

Sort by: Oldest
  1. AI answer

    2026-11-24T12:10:53.1466667+00:00

    Use one of these supported approaches:

    1. Add a specific folder, not the network root. In Excel, go to File > Options > Trust Center > Trust Center Settings > Trusted Locations > Add new location. Then select a specific subfolder on the share. Office can reject a broad path such as a server root or share root for security reasons.
    2. If the file is on a network share and Excel still blocks macros, use the network-location approaches for files you trust:
      • Add the location to Trusted sites
      • If it is an intranet location, add it to the Local intranet zone
      Microsoft notes that for files centrally located on a network share, these are the supported ways to prevent macros from being blocked when the file can’t be unblocked individually.
    3. If the file was downloaded and carries Mark of the Web, remove that from a local copy:
      • In File Explorer, right-click the file > Properties
      • On the General tab, select Unblock if it appears
      • If there is no Unblock checkbox for the network copy, copy the file to a local folder, open or save it locally, then save it back to the network location
    4. If the file is only needed by one user, the safest option is to keep it in a local trusted location instead of a network trusted location. Microsoft recommends local trusted locations by default and says network trusted locations are not recommended.

    Important security note: files in a Trusted Location bypass security checks, including Protected View and some validation checks, and active content such as VBA macros is enabled. Only trust locations that are tightly controlled.


    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

  2. Rory Archibald 19,315 Reputation points Volunteer Moderator
    2026-11-24T12:51:18.4166667+00:00

    Is the option to allow trusted locations on a network checked?

    User's image

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.