Security Policy Errors

How to Fix Excel Virus Warnings for MPG File Links

Aamir Naveed AkramAamir Naveed Akram Oct 10, 2026 870 views

Question details

The user wants to prevent Excel from displaying virus or security warnings when clicking hyperlinks that point to MPG video files.

How to Manage Excel Security Warnings for MPG Video Links
Product
Microsoft Excel
Device & OS
not provided
Scenario
Clicking file:// hyperlinks pointing to local or networked MPG video files within a workbook.
Observed behavior
Excel displays a security warning about potentially unsafe linked content, even if the destination folder is a Trusted Location and Protected View is disabled.
Before you start

Before attempting to bypass hyperlink security settings, ensure that all linked MPG files originate from a secure, verified source to protect your system from actual malicious threats.

Solution 1Recommended

Review Hyperlink Security Settings and Modify Storage

Avoid broadly disabling vital security protections, and instead change how the linked media is hosted.

Excel's built-in hyperlink security is designed to protect users from executing potentially malicious local files. Modifying system registry keys to bypass these warnings is generally discouraged as it compromises your computer's overall security.

Instead of disabling warnings universally, consider altering how your media is hosted or reviewing official Microsoft documentation for managed hyperlink security.

1
Review Trust Center Settings

Navigate to File > Options > Trust Center > Trust Center Settings to review your current document and hyperlink security configurations.

2
Use Alternative Link Hosting

Consider moving your MPG videos to a secure, managed intranet site or cloud storage. Replace your local 'file://' paths in the spreadsheet with 'https://' URLs.

3
Test Links in a Controlled Environment

Create a new, blank workbook, add the updated links, and verify the behavior before sharing the workbook with other users.

Review Hyperlink Security Settings and Modify Storage
Important Security Warning: Avoid making untrusted registry changes to force-disable hyperlink warnings, as this can expose your entire system to malicious software.
Free Microsoft Office alternative

Try WPS Office for a Streamlined Spreadsheet Experience

If you are frustrated by overly restrictive hyperlink warnings and complex security settings in Microsoft Excel, consider switching to WPS Office. It provides a lightweight, user-friendly environment with excellent format compatibility for all your spreadsheet tasks.

Free and lightweight alternative to Microsoft ExcelFully compatible with Microsoft Office formats including .xlsx, .xls, and .csvSeamless migration of existing spreadsheets and hyperlinksClean, intuitive interface with straightforward security management
microsoft office alternative - wps office

Frequently Asked Questions

Why does Excel show a security warning for local video links?

Excel flags certain file types and protocols, such as 'file://', as potentially unsafe to prevent the accidental execution of malware. This can happen even if the files are stored in a designated Trusted Location.

Can I turn off the hyperlink security warning via the registry?

While there are registry workarounds discussed in some forums, it is highly discouraged by Microsoft. Modifying the registry disables hyperlink security globally and leaves your computer vulnerable to malicious files.

Do https links trigger the same virus warnings as file links?

Typically, 'https://' links pointing to recognized web storage or secure intranet sites are handled differently by Office applications and may bypass the strict local file execution warnings. This is why migrating media to a web server is a recommended workaround.