Solved

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

Posted on 2014-03-10
2
306 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 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

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Shutting a group of desktops computers in the AD domain 8 38
logon time 6 37
Batch File search for Drive Letter 8 44
intel CPUs suffix question.. 4 38
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
How to record audio from input sources to your PC – connected devices, connected preamp to record vinyl discs, streaming media, that play through your audio card: Vista, Windows 7, Windows 8, Windows 8.1 and Windows 10 – both 32 bit & 64.
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

808 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