Security Policy Errors

Stop Excel Treating NAS Files as Internet Files

Elise WilliamsElise Williams Nov 27, 2026 868 views

Question details

Prevent Excel from treating files on a NAS as Internet files while retaining protection for other files.

Stop Excel Treating NAS Files as Internet Files
Product
Microsoft Excel
Device & OS
Windows; affected computer version not provided
Scenario
Opening Excel workbooks stored on a network-attached storage drive.
Observed behavior
Excel warns that NAS workbooks came from an Internet location, even after the NAS was added as a trusted location. Disabling Protected View removes the warning but reduces protection for other files.
Before you start

Identify the exact NAS path you use to open the workbooks, including whether it is a mapped drive or a UNC path such as \\NAS\Share. Confirm that you trust the NAS and its users before changing trust or security-zone settings.

Solution 1Recommended

Check Excel's Trusted Location for the Exact NAS Path

Use this approach when Excel already has a trusted location but files on the NAS still trigger a warning.

1
Check the opening path

In File Explorer, navigate to the NAS workbook and note whether you open it through a mapped drive or a UNC path such as \\NAS\Share. Use that same path consistently when opening files.

2
Open Trusted Locations

In Excel, go to File > Options > Trust Center > Trust Center Settings > Trusted Locations. If available, select Allow Trusted Locations on my network.

3
Add the exact folder

Select Add new location, enter the NAS folder path used to open the files, and select the option to trust subfolders if the workbooks are stored below that folder. Select OK to save.

4
Test a workbook

Close and reopen Excel, then open a workbook from the configured path using File > Open. Check whether the warning still appears.

Check Excel's Trusted Location for the Exact NAS Path
Trust only controlled folders: Files in a trusted location can bypass some Office security checks. Add only a NAS folder whose contents and access you trust.
Free Microsoft Office alternative

Open NAS Spreadsheets with WPS Office

WPS Office is a free, lightweight Office alternative with a familiar interface. Open spreadsheets from your NAS in WPS Spreadsheet and move between Office-compatible files, though it does not change Excel or Windows security settings.

Open spreadsheets stored on an accessible NAS shareCompatible with Microsoft Excel XLSX and XLS formatsFamiliar spreadsheet interface for an easier transitionFree and lightweight office suite
QA img-9

Frequently Asked Questions

Why does Excel warn about a file on my NAS?

Windows may classify the NAS as an untrusted or Internet location, or the path used to open the workbook may not match an Excel trusted location. Check the path in File Explorer and the settings under Excel's Trust Center.

Does a mapped drive match a UNC trusted location automatically?

Do not assume it does. Check whether you open the workbook using a mapped drive or a path such as \\NAS\Share, then add the exact path under File > Options > Trust Center > Trust Center Settings > Trusted Locations.

How do I trust files in NAS subfolders?

In Excel's Trusted Locations settings, add or edit the trusted NAS folder and select the option to trust its subfolders. Only do this if you trust the contents of those folders.

Should I turn off Protected View to stop the warning?

Turning it off can reduce protection for other files. First check the NAS trusted path and Windows Local intranet settings while leaving Protected View enabled.