Windows Security issue "Operation did not complete successfully" while opening document templates.

Last updated: 25 September 2023 at 16:43:21 UTC by Junari Assistant

If you are getting the below Error Message:



This is due to Windows security restrictions, documents generated from a third-party application can cause such errors as "Document contains a virus", even if they do not and are genuine.


It is possible that you have downloaded a genuine file but window defender detected a false positive. This is a general issue while using the antivirus.


To avoid this issue there are two solutions:


1. Open the file directly with Microsoft Word


2. Add a windows defender "exclusion" to allow the files to be opened directly



Workaround: Open the file directly with Microsoft Word


To avoid the above message, you can open the file directly with Microsoft Word:


1. Start Microsoft Word


2. Click the File menu -> Open File, and select the file from your Downloads folder


More Permanent Solution: Add a Microsoft Defender Exclusion or disable microsoft defender


Go through the link share here which explains possible reasons for the error and also a different way to disable the window defender.


Link: https://softwarekeep.com/help-center/operation-did-not-complete-successfully-because-the-file-contains-a-virus


One more possible way to open such a document is you can go to the specific application and open the document directly