Yes. Open the windows defender firewall settings, click "advanced settings", right-click the rule to be edited or removed, and select the appropriate option.