I want Remote Desktop on all domain computers to be only accessible from one IP. However there's a default local Allow Inbound rule for Remote Desktop on all computers that windows sets up by itself, and it allows all IPs.

Is there a way to delete or disable this local firewall rule using group policy?


I don't think that would be practical, due to a custom rule could be created and you wouldn't be able to cover all of those rules. It is possible to use group policy to not apply local rules, but that may break something.

An alternative would be to create two deny rules. The first rule denies remote IP address range The second rule denies remote IP address range . For example, to allow IP address

TCP/3389 Deny rule 1: Deny remote address range:
TCP/3389 Deny rule 2: Deny remote address range:

And of course you should create an TCP/3389 allow rule for your one IP address.

You should also create two deny rules for UDP/3389, as modern Windows operating systems may use UDP, unless you have group policy configured for remote desktop to only use TCP. Or just create one UDP/3389 firewall deny rule for all addresses if you don't want or need it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.