Skip to content
Activities · Activity 12.1

Q.Ask your teacher to show you how to enable and disable firewall on your computer.

West Bengal WbchseTextbookSubjectiveImportance★★★★★est
5% · 1/20 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

This is a plain theory question — it asks you to describe how to enable and disable a firewall, not to write code or pick an option. The answer is a practical, step-by-step explanation of the two common ways to do this on a typical computer.


The Idea: What a Firewall Is and Why You'd Toggle It

A firewall is a security gatekeeper — it sits between your computer and the network, inspecting incoming and outgoing traffic and blocking anything that doesn't match your rules. It's the first line of defence against unauthorised access.

You'd normally enable it to protect your system, and disable it only temporarily — for example, when troubleshooting a connection issue, installing certain software, or testing an application that needs open ports. Leaving it off for long is like leaving your front door unlocked.


How to Enable and Disable the Firewall

There are two main ways: through the graphical interface (easiest for most users) and through the command line (faster for advanced users). I'll walk you through both.

Method 1: Using the Control Panel (Windows)

  1. Open the Control Panel (search for it in the Start menu).
  2. Click System and Security, then Windows Defender Firewall.
  3. On the left panel, click Turn Windows Defender Firewall on or off.
  4. You'll see two sections: one for Private network settings and one for Public network settings.
  5. To enable, select Turn on Windows Defender Firewall for both.
  6. To disable, select Turn off Windows Defender Firewall (not recommended unless necessary).
  7. Click OK to save.
Watch out

Disabling the firewall leaves your computer exposed to network threats. Only do it temporarily, and re-enable it as soon as your task is done.

Method 2: Using Command Prompt (Administrator)

If you prefer speed or need to script it, use the command line:

  • To enable:

    netsh advfirewall set allprofiles state on
    
  • To disable:

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.