There are many ways to disable Windows 10 Defender Firewall.
Via command line
Launch Command Prompt. To do this, left-click on the items Start. Utility Windows. (right-click) Command Prompt. Advanced. Run as administrator.
How to disable Windows 10 Defender firewall using the command line
When the command prompt window opens, you will need to enter the command in it netsh advfirewall set allprofiles state off, and then press Enter on the keyboard. If you need to enable the firewall, you will need to enter the command in the command line netsh advfirewall set allprofiles state on and press Enter. After each successfully entered command, an OK message should appear.
Open Services with the keys WINR and teams services.msc.
How to disable the Windows 10 Defender Firewall service
In the window that opens, under the name Services, find Windows Defender Firewall. Open its properties and set the Startup Type. Disconnected, and then click on the buttons below Stop and To apply.
Via Control Panel
Open the Control Panel by clicking on the button Start. Utility Windows. Control Panel.
Control Panel, Firewall
Go to Control Panels. System and Security. Windows Defender Firewall. Turning Windows Defender Firewall On or Off.
Disable Windows 10 Defender Firewall
In the window that opens, put dots for the private and public network at the point Disable Windows Defender Firewall (not recommended). By clicking OK, the firewall will immediately shut down.