Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2014-03-10
2
Medium Priority
?
315 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 2000 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

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

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

When asking a question in a forum or creating documentation, screenshots are vital tools that can convey a lot more information and save you and your reader a lot of time
Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
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…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

688 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