windows 2008 r2 advanced firewall pscp.exe all users

Stand-alone Windows 2008 r2.  
Trying to figure out an advanced firewall rule entry so a specific program is permitted to run.

Each user has a home directory at 'C:\Users\user_name'.
In each user's home dir is a folder that contains a pscp.exe file.

The pscp.exe is called by a third party program where each user's configuration within that program is such that the expected path to the pscp.exe is:  'C:\Users\user_name\My_Templates\pscp.exe'.
I can not change that configuration.

I would like to build an outbound firewall rule that will permit the pscp.exe file to run from all user's 'My_Templates' folder.

I have firewall rules in place that use an absolute path to permit programs to connect out, eg: '%ProgramFiles% (x86)\putty\putty.exe' .
But this is to a single location.  The problem here is the multitude of user locations.

If I only had three or four users I suppose I could do something like the absolute path and use the full path to the User's folders.  However, that is not realistic.

Does anyone know how I would write a rule path so it would get to the pscp.exe file for all the user's?

Something like this --  'C:\Users\....*all_user_names*...\My Templates\pscd.exe'  ?

Thanks.
stan
gstanlAsked:
Who is Participating?
 
David Johnson, CD, MVPConnect With a Mentor OwnerCommented:
just allow the program without a path.
0
 
gstanlAuthor Commented:
Thanks.
stan
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.