Windows Security is the built-in protection suite included with Windows 11. It helps protect your computer from viruses, malware, ransomware, phishing attacks, and other security threats. In addition to antivirus protection, Windows Security also includes tools that allow you to control which applications can run, access files, or interact with protected parts of the operating system.
There may be times when you want to block a specific application from running or accessing certain resources. For example, you may want to prevent an untrusted program from modifying files, stop potentially unwanted software from running, restrict access to protected folders, or improve overall system security. Windows 11 provides several security features that can help achieve this, including Controlled Folder Access, App & Browser Control, SmartScreen, Firewall rules, and reputation-based protection.
While Windows Security does not include a simple “Block App” button for every application, it offers multiple methods to restrict or prevent apps from operating normally. Depending on your needs, you can block an app from accessing the internet, modifying protected folders, or running altogether.
This guide explains several ways to block apps using Windows Security in Windows 11.
What Does Blocking an App Mean?
Blocking an app can involve different types of restrictions, such as:
- Preventing the app from running.
- Blocking internet access.
- Restricting file access.
- Preventing changes to protected folders.
- Blocking potentially unwanted applications.
- Stopping unrecognized software from launching.
The method you choose depends on what type of restriction you want to apply.
Method 1: Block an App Using Controlled Folder Access
Controlled Folder Access can stop applications from modifying files in protected folders.
Follow these steps:
- Open Windows Security.
- Click Virus & Threat Protection.
- Select Manage Ransomware Protection.
- Turn on Controlled Folder Access.
- Do not add the application to the allowed apps list.
When the blocked application attempts to modify files in protected folders, Windows Security will prevent the action.
This method is useful when protecting important documents from untrusted software.
Method 2: Block an App Through Windows Defender Firewall
Windows Defender Firewall can prevent an application from accessing the internet.
Follow these steps:
- Press Windows + S.
- Type Windows Defender Firewall.
- Open the application.
- Click Advanced Settings.
- Select Outbound Rules.
- Click New Rule.
- Choose Program.
- Click Next.
- Browse to the application’s executable file.
- Select Block the Connection.
- Click Next.
- Choose all network profiles.
- Click Next.
- Enter a rule name.
- Click Finish.
The application will no longer be able to communicate through the network.
This method is commonly used to block software from accessing online services.
Method 3: Enable Reputation-Based Protection
Windows Security can automatically block suspicious and potentially harmful applications.
Follow these steps:
- Open Windows Security.
- Click App & Browser Control.
- Select Reputation-Based Protection Settings.
- Enable:
- Check Apps and Files
- SmartScreen for Microsoft Edge
- Potentially Unwanted App Blocking
- Phishing Protection
These features help prevent unsafe applications from running or downloading harmful content.
Windows will display warnings when potentially dangerous software is detected.
Method 4: Block Potentially Unwanted Applications
Potentially unwanted applications (PUAs) can cause unwanted advertisements, browser changes, or performance issues.
Follow these steps:
- Open Windows Security.
- Select App & Browser Control.
- Click Reputation-Based Protection Settings.
- Turn on Potentially Unwanted App Blocking.
- Enable:
- Block Apps
- Block Downloads
Windows Security will automatically block many unwanted applications before they are installed.
This method provides protection against adware and low-reputation software.
Method 5: Block an App by Quarantining It
If Microsoft Defender identifies an application as malicious, you can quarantine it.
Follow these steps:
- Open Windows Security.
- Select Virus & Threat Protection.
- Click Protection History.
- Locate the detected application.
- Select the threat.
- Choose Quarantine.
The application will be isolated and prevented from running normally.
This method is effective when dealing with malware or suspicious software.
Method 6: Block an App Using SmartScreen
Microsoft Defender SmartScreen helps block unknown or untrusted applications.
Follow these steps:
- Open Windows Security.
- Select App & Browser Control.
- Click Reputation-Based Protection Settings.
- Enable Check Apps and Files.
When an unrecognized application is launched, SmartScreen may display a warning and prevent execution.
This helps protect users from potentially dangerous downloads.
Method 7: Restrict App Access to Protected Folders
You can specifically deny an application’s access to protected folders.
Follow these steps:
- Open Windows Security.
- Navigate to Manage Ransomware Protection.
- Enable Controlled Folder Access.
- Ensure the application is not listed under allowed apps.
When the application attempts to modify protected files, access will be blocked automatically.
This method provides targeted file protection without affecting other applications.
Method 8: Use Family Safety App Restrictions
Windows Family Safety can restrict applications for child accounts.
Follow these steps:
- Open Settings.
- Select Accounts.
- Click Family.
- Choose the child account.
- Open Family Safety settings.
- Select the application.
- Block access or apply usage restrictions.
This method is useful for parental controls and shared computers.
Method 9: Enable Microsoft Defender Application Control
Windows Defender Application Control allows administrators to control which applications can run.
Follow these steps:
- Open Windows Security.
- Select App & Browser Control.
- Review available application control options.
- Configure allowed applications according to your security requirements.
This feature is primarily used in professional and enterprise environments.
It provides one of the strongest forms of application restriction available in Windows.
Method 10: Review Security Events and Blocked Apps
Windows Security keeps records of blocked applications and security actions.
Follow these steps:
- Open Windows Security.
- Click Protection History.
- Review recent events.
- Examine blocked applications and actions.
This allows you to verify that your restrictions are working as intended.
Monitoring protection history can help identify software that repeatedly attempts unauthorized actions.
When Should You Block an App?
Blocking an application may be useful when:
- The application is untrusted.
- The software repeatedly triggers security warnings.
- You want to prevent internet access.
- A program modifies important files unexpectedly.
- The application is adware or potentially unwanted software.
- You want additional parental controls.
- You are securing a business computer.
Blocking apps can help reduce security risks and improve system stability.
Things to Consider Before Blocking an App
Before blocking an application:
- Verify that it is not required by Windows.
- Confirm it is not part of legitimate software.
- Create a backup if necessary.
- Review protection history for additional details.
- Test restrictions carefully.
Blocking essential applications can sometimes affect normal system functionality.
Always understand the purpose of the software before restricting it.
Frequently Asked Questions
1. Can Windows Security completely block an application from running?
Windows Security can restrict applications through SmartScreen, reputation-based protection, Controlled Folder Access, and application control features. The exact behavior depends on the method used.
2. How can I block an app from accessing the internet?
You can create a Windows Defender Firewall outbound rule that blocks the application’s network connections.
3. What is the easiest way to block suspicious apps?
Enabling SmartScreen and Potentially Unwanted App Blocking in Windows Security provides automatic protection against many suspicious applications.
4. Can I unblock an application later?
Yes. Most Windows Security restrictions, firewall rules, and protection settings can be modified or removed at any time.
Final Thoughts
Windows Security provides several powerful tools that can help block or restrict applications in Windows 11. Whether you want to prevent an app from accessing the internet, stop it from modifying protected files, block potentially unwanted software, or strengthen overall security, Windows includes built-in features that make the process relatively straightforward.
For most users, enabling SmartScreen, reputation-based protection, and Controlled Folder Access provides excellent protection against untrusted software. Advanced users can further restrict applications using Windows Defender Firewall or Microsoft Defender Application Control for more precise control.
By understanding the available options and applying the appropriate restrictions, you can improve the security of your Windows 11 system and reduce the risk posed by unwanted or potentially harmful applications.


