Step 1: Click on Search Box, and then type 'control panel'.
Step 2: Click on 'Control Panel' to open it.
Step 3: Click on 'Windows Defender Firewall'.
Step 4: Click on 'Turn Windows defender firewall on or off' from left menu.
Step 5: Click on 'Turn off windows defender firewall (not recommended)' under private and public network settings, and then click on 'ok' button at the bottom.
To Turn On:
Step 1: Follow 4 steps from above.
Step 2: Click on 'Turn on windows defender firewall', Under private and public network settings, and then click on 'ok' button at the bottom.