---Advertisement---

Fix “File Contains a Virus” Error in Windows – 100% WORKING

Published On: August 26, 2025
Fix “File Contains a Virus” Error in Windows - 100% WORKING
---Advertisement---

Hello friends, welcome back to my channel. In today’s guide, we’ll address a very common and frustrating Windows error: “Operation did not complete successfully because the file contains a virus or potentially unwanted software.”

Don’t worry — this issue can be fixed easily using a 100% working method. Just follow the steps below carefully.


Step 1: Open Windows Settings

  1. Click on the Start button.
  2. Type Settings in the search bar and open the Settings app.
Open Windows Settings

Step 2: Navigate to Security Settings

  1. Inside the Settings window, click on Privacy & Security.
  2. Find and select Windows Security.
  3. Click on Virus & Threat Protection to access all protection settings for your system.

Step 3: Manage Virus Protection Settings

  1. Scroll down and locate Manage Settings under the Virus & Threat Protection section.
  2. Click on it to open the Manage Settings page.
  3. You’ll see several toggles, including:
    • Real-time Protection
    • Cloud-delivered Protection
    • Automatic Sample Submission
    • Tamper Protection
    Turn off all of these toggles temporarily.
    This step is necessary to make changes to the blocked file.
Manage Virus Protection Settings

Step 4: Use Command Prompt to Fix the Issue

  1. Go back to your desktop and click on the Start button again.
  2. Type CMD, then click on Command Prompt.
  3. Open the Notepad file where the required commands are saved.
  4. Copy the first command, paste it into Command Prompt, and press Enter.
  5. Copy the second command, paste it as well, and press Enter again.
Use Command Prompt to Fix the Issue

Once both commands execute successfully, the issue should be resolved, and your file will no longer be blocked by Windows.


Final Step: Verify & Restart

After completing these steps, you should now be able to run and open your file without any issues.


Conclusion

That’s it! By temporarily disabling protection settings and running the necessary commands, you can quickly fix this Windows error.

If you found this tutorial helpful, make sure to subscribe to my channel for more useful tech tips. Thanks for watching, and I’ll see you in the next tutorial!

---Advertisement---

Related Post

Enable New Windows 11 25H2 Features After December Update (KB5070311)
Enable/Disable Steam Networking IP Sharing – Step-by-Step Guide
Valorant Stuck on Loading Screen? Fix It Now!
Tips

Valorant Stuck on Loading Screen? Fix It Now!

By Tech Gitter
|
December 31, 2025
How to Increase or Decrease Font Size in Google Chrome
Solutions

How to Increase or Decrease Font Size in Google Chrome

By Tech Gitter
|
December 29, 2025

Leave a Comment

Join WhatsApp Join Telegram