How to set a Remote Desktop exception in the Windows Firewall for different languages

posted in: Blog, Powershell | 0

Setting a firewall exception is a simple job right? Well, it is, if you are running an English OS. As soon as the OS language is something else, the exception group will also change to that language. In the case of Swedish, the name will be “Fjärrskrivbord” instead of “Remote Desktop”. This might be tricky if you want to do this on a quite a few computers with different languages.

One way of doing it is by writing a Powershell script:

An easier solution to this problem is using the rule group “@FirewallAPI.dll,-28752”, which is independent of the language installed.

This would mean you would put this in your script:

There are of course, many more ways of doing this, but these are two ways you can do it.

Leave a Reply

* Copy This Password *

* Type Or Paste Password Here *