Solved

How do I pre-define a firewall "zone" in the Windows Firewall for a specific connection name?

Posted on 2014-03-10
2
311 Views
Last Modified: 2014-03-13
Folks -

I have an application that creates a software NIC with a '2' after my domain name and it uses this for various tunneling operations.  Let us say my domain name is "Contoso.com".  Therefore, the connection name is "Contoso.com 2".

Following the application's install, I receive the Windows Firewall screen asking me to choose a zone from the "Home", "Work", "Public" list we've all seen.

What I'd like to do is either use Group Policy or a command-line command to pre-specify where "Contoso.com 2" should go, in this case, the "Work" zone.  That way, following the application's installation, the user won't be prompted for this information.

Is there a way to do this that you're aware of?  I can't seem to find the setting for a specific connection name in Group Policy but might not be looking in the right area.  Perhaps a netsh command can handle it?

Thanks in advance.
0
Comment
Question by:amendala
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 38

Accepted Solution

by:
Rich Rumble earned 500 total points
ID: 39920276
0
 

Author Comment

by:amendala
ID: 39927723
The PowerShell script does in fact work.  Unfortunately, what I didn't realize is that the classification of the network isn't machine specific, it's user profile specific.  So running this in one user context doesn't fix everyone.  :(

That said, it's precisely what I asked for so I appreciate your help!
0

Featured Post

Optimum High-Definition Video Viewing and Control

The ATEN VM0404HA 4x4 4K HDMI Matrix Switch supports 4K resolutions of UHD (3840 x 2160) and DCI (4096 x 2160) with refresh rates of 30 Hz (4:4:4) and 60 Hz (4:2:0). It is ideal for applications where the routing of 4K digital signals is required.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Configuring Remote Assistance for use with SCCM
An introduction to the wonderful sport of Scam Baiting.  Learn how to help fight scammers by beating them at their own game. This great pass time helps the world, while providing an endless source of entertainment. Enjoy!
This Micro Tutorial will give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seveā€¦

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question