Stop Excel Treating NAS Files as Internet Files
Question details
Prevent Excel from treating files on a NAS as Internet files while retaining protection for other 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.
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.
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.
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.
In Excel, go to File > Options > Trust Center > Trust Center Settings > Trusted Locations. If available, select Allow Trusted Locations on my network.
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.
Close and reopen Excel, then open a workbook from the configured path using File > Open. Check whether the warning still appears.

Review the Windows Security Zone for the NAS
Check Windows zone settings if the exact trusted path does not resolve the warning or another computer on the same network behaves differently.
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.

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.




