Windows 7 Thread, Batch script to add port exceptions in Windows 7 in Technical; Hi Everyone,
We use Impero here as a classroom management tool that needs over 100 port exceptions so in Win ...
30th June 2011, 10:16 AM #1
Batch script to add port exceptions in Windows 7
We use Impero here as a classroom management tool that needs over 100 port exceptions so in Win XP I've made a script that does this automatically however the same script doesn't work in Windows Vista and above, does anybody have an idea?
FOR /L %%I IN (start of port range here,1,end of port range here) DO netsh firewall add portopening TCP %%I "Impero services: port %%I" enable subnet
IDG Tech News
30th June 2011, 10:34 AM #2
If you start using the newer ADMX templates for Windows 7 you can configure this in Group Policy.
30th June 2011, 10:43 AM #3
We only have server 2003 at the moment so no ADMX compatibility, I was being an idiot I forgot that unlike windows XP you can add port ranges in Windows 7 so there is no need to use a batch script I can just make it part of our laptop image.
Originally Posted by AngryTechnician
Big fan of your blog, I especially like the gerbal incident.
30th June 2011, 03:19 PM #4
Originally Posted by MNHughes
Usually Impero will add in your port exceptions If using windows firewall strange if windows firewall not allowing Impero client through.
30th June 2011, 04:07 PM #5
You can control Win7 on a 2003 network using RSAT.
We only have server 2003 at the moment so no ADMX compatibility
By erloyaamit in forum Scripts
Last Post: 14th October 2010, 02:09 PM
By peterdoherty in forum How do you do....it?
Last Post: 14th December 2009, 08:46 PM
By davidm in forum Windows
Last Post: 26th March 2009, 10:37 PM
By My220x in forum Scripts
Last Post: 23rd March 2008, 08:48 PM
By PrimaryTech in forum Scripts
Last Post: 7th July 2007, 07:04 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)