Go Premium for a chance to win a PS4. Enter to Win

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
?
320 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
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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

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
It is a real story and is one of my scariest tech experiences. Most users think that IT experts like us know how to fix all computer problems. However, if there is a time constraint and you MUST not fail the task or you will lose your job, a simple …
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
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…

926 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