Disabling file and print sharing in windows firewall?

amitshah2003ukamitshah2003uk 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 icon_wink.gif

Comments

Sign In or Register to comment.