The list of trusted and blocked files of Windows Firewall is in this location.
[HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ sharedaccess \ Parameters \ firewallpolicy \ standardprofile \ authorizedapplications \ list]
Create a similar
C: \ Program Files \ Tencent \ qq2009 \ bin \ qq.exe
The data of the string value is
C: \ Program Files \ Tencent \ qq2009 \ bin \ qq.exe: *: enabled: qq2009
This form
The name of the string value is the one you want to add to the Trust ListProgram(Files in the wellknown path can be in the form of % System % WINDIR %)
The data format of the string value is as follows:
Complete program path: trusted host address or host group separated by subnet mask: Trust/block: Text displayed in the Windows Firewall Trust List
For example, add the "mine clearance" program to the win firewall Trust List and only allow it to communicate with the computer with the 192.168.1.5 IP address. You can write it as follows:
C: \ windows \ system32 \ winmine.exe: 192.168.1.5/255.255.255.255: enabled: mine clearance