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, 09:16 AM #1 Batch script to add port exceptions in Windows 7
Hi Everyone,
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?
Code:
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
Many Thanks,
Martin
-
-
IDG Tech News
-
30th June 2011, 09:34 AM #2 If you start using the newer ADMX templates for Windows 7 you can configure this in Group Policy.
-
-
30th June 2011, 09:43 AM #3 
Originally Posted by
AngryTechnician
If you start using the newer ADMX templates for Windows 7 you can configure this in Group Policy.
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.
Big fan of your blog, I especially like the gerbal incident.
-
-
30th June 2011, 02:19 PM #4 
Originally Posted by
MNHughes
Hi Everyone,
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?
Code:
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
Many Thanks,
Martin
Hi Martin
Usually Impero will add in your port exceptions If using windows firewall strange if windows firewall not allowing Impero client through.
Russell
-
-
30th June 2011, 03:07 PM #5
We only have server 2003 at the moment so no ADMX compatibility
You can control Win7 on a 2003 network using RSAT.
-
SHARE: 
Similar Threads
-
By erloyaamit in forum Scripts
Replies: 1
Last Post: 14th October 2010, 01:09 PM
-
By peterdoherty in forum How do you do....it?
Replies: 8
Last Post: 14th December 2009, 07:46 PM
-
By davidm in forum Windows
Replies: 3
Last Post: 26th March 2009, 09:37 PM
-
By My220x in forum Scripts
Replies: 2
Last Post: 23rd March 2008, 07:48 PM
-
By PrimaryTech in forum Scripts
Replies: 8
Last Post: 7th July 2007, 06:04 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules