To remove the security warning when opening a file on Windows 11 or Windows 10 computer, you need to turn on a setting in the Internet Options panel. It is called Launching applications and unsafe files. You need to enable this setting. For that, you can follow this detailed guide to remove the security warning when opening a file on Windows 11/10.