Can I use a login script to add a exception port in Xp's firewall?

  • Thread starter Thread starter Rob Bergstrom
  • Start date Start date
R

Rob Bergstrom

I have 75 clients that need 4 ports excepted in their sp2 firewall.
I need to find a way to do this remotely.
Any ideas?
Rob
 
Xp firewall stores the rules on the registry,
i have done it before, and it works.
but i dont really remember the path to registry
u can either do it with a batch/script or logon to the remote registry 75
times. which is not very efficent
 
nospam68 said:
I have 75 clients that need 4 ports excepted in their sp2
firewall.
I need to find a way to do this remotely.
Any ideas?
Rob

use a script that runs the NETSH command for each remote computer
a little bit of playing with excel will create a CMD script that runs
the NETSH for each computer

75x NETSH -r RemoteMachine [your commands]

NETSH -r COMP1 [your commands]
NETSH -r COMP2 [your commands]
NETSH -r COMP3 [your commands]
NETSH -r COMPn [your commands]
...
etc.

or create a script that has all computer names and read each computer
name once, runs the command, reads the next computer and runs the
command, etc

Cheers,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top