Disabling file and print sharing in windows firewall?
amitshah2003uk
Member Posts: 39 ■■□□□□□□□□
Hi guys I wish to remotely enable file and print sharing in the exeptions tab of windows firewall for 35 computers.
But I am not sure how to do this remotely from a batch file
I have tried creating a batch file which reads computers from a text file and uses the comand below along with psexec:
netsh firewall set service type = FILEANDPRINT mode = ENABLE
but it keeps saying the default admin share is not enabled.
Your surgestions will be a great help
Thanks
But I am not sure how to do this remotely from a batch file
I have tried creating a batch file which reads computers from a text file and uses the comand below along with psexec:
netsh firewall set service type = FILEANDPRINT mode = ENABLE
but it keeps saying the default admin share is not enabled.
Your surgestions will be a great help
Thanks
Comments
-
royal Member Posts: 3,352 ■■■■□□□□□□Group Policy“For success, attitude is equally as important as ability.” - Harry F. Banks
-
sprkymrk Member Posts: 4,884 ■■■□□□□□□□Are you trying to do this remotely on computers that already have the firewall turned on? Think about that for a second....All things are possible, only believe.
-
somedudefromthenet Member Posts: 54 ■■□□□□□□□□Put ze Puters on an OU then apply kustom GP Poke around the CompConf/WinSet/AdminTemps/Network/NetConn/WinFirewall
You might just say "Ahh!"
Now I'm off for my monthly cleaning of my unhappy/dusty PC
Overclocked Admin -
NetAdmin2436 Member Posts: 1,076+2 for group policy.
This is basically what somedudefromthenet once said . Scroll to the bottom of this link, and it will become more clear.
http://www.windowsecurity.com/articles/Customizing-Windows-Firewall.htmlWIP: CCENT/CCNA (.....probably) -
amitshah2003uk Member Posts: 39 ■■□□□□□□□□Thanks guys your the best.
Done the following
Logged on to a computer that is a member of the domain and has Windows XP SP2 installed, with an account that is a member of the Group Policy Creator Owners security group.
From the Default Domain Policy navigated to Computer Configuration, Administrative Templates, Network, Network Connections and then Windows Firewall