• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 698
  • Last Modified:

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
0
gstanl
Asked:
gstanl
1 Solution
 
David Johnson, CD, MVPOwnerCommented:
just allow the program without a path.
0
 
gstanlAuthor Commented:
Thanks.
stan
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now