Results 1 to 7 of 7

Thread: [Windows Firewall] Mass Enable of File/Printer Sharing

  1. #1
    Squeeler Vini's Avatar
    Join Date
    Jul 2003
    Location
    Sheffield
    Posts
    1,769
    Thanks
    44
    Thanked
    8 times in 8 posts

    [Windows Firewall] Mass Enable of File/Printer Sharing

    are the windows firewall rules stored in the registry?

    i need to enable file/printer sharing in windows firewall on about 100 pc's and dont fancy going round individual pc's one at a time.

    how can i enable this setting on all the machines from the comfort of my chair.

  2. #2
    Squeeler Vini's Avatar
    Join Date
    Jul 2003
    Location
    Sheffield
    Posts
    1,769
    Thanks
    44
    Thanked
    8 times in 8 posts
    Quote Originally Posted by Vini
    are the windows firewall rules stored in the registry?

    i need to enable file/printer sharing in windows firewall on about 100 pc's and dont fancy going round individual pc's one at a time.

    how can i enable this setting on all the machines from the comfort of my chair.
    GPO is my friend.

  3. #3
    Squeeler Vini's Avatar
    Join Date
    Jul 2003
    Location
    Sheffield
    Posts
    1,769
    Thanks
    44
    Thanked
    8 times in 8 posts
    GPO was my friend, it still would be if it worked.

    Surely theres a way to create a reg file to enable/disable the File/Printer Sharing rule?

  4. #4
    Squeeler Vini's Avatar
    Join Date
    Jul 2003
    Location
    Sheffield
    Posts
    1,769
    Thanks
    44
    Thanked
    8 times in 8 posts
    Code:
    @ECHO OFF
    ECHO.
    netsh firewall set service type = FILEANDPRINT mode = ENABLE
    CLS
    EXIT
    batch file's donnit

  5. #5
    Administrator Moby-Dick's Avatar
    Join Date
    Jul 2003
    Location
    There's no place like ::1 (IPv6 version)
    Posts
    10,665
    Thanks
    53
    Thanked
    385 times in 314 posts
    I'd be more concerned as to why your GP's are not applying properly instead of bodging a fix together
    my Virtualisation Blog http://jfvi.co.uk Virtualisation Podcast http://vsoup.net

  6. #6
    Squeeler Vini's Avatar
    Join Date
    Jul 2003
    Location
    Sheffield
    Posts
    1,769
    Thanks
    44
    Thanked
    8 times in 8 posts
    Quote Originally Posted by Moby-Dick
    I'd be more concerned as to why your GP's are not applying properly instead of bodging a fix together
    thats not for me to worry about here

  7. #7
    Senior Member
    Join Date
    Mar 2005
    Posts
    4,825
    Thanks
    161
    Thanked
    358 times in 288 posts
    • badass's system
      • Motherboard:
      • ASUS P8Z77-m pro
      • CPU:
      • Core i5 3570K
      • Memory:
      • 32GB
      • Storage:
      • 1TB Samsung 850 EVO, 2TB WD Green
      • Graphics card(s):
      • Radeon RX 580
      • PSU:
      • Corsair HX520W
      • Case:
      • Silverstone SG02-F
      • Operating System:
      • Windows 10 X64
      • Monitor(s):
      • Del U2311, LG226WTQ
      • Internet:
      • 80/20 FTTC
    Quote Originally Posted by Vini
    thats not for me to worry about here
    Ahhh the good old "make it an SEP"
    "In a perfect world... spammers would get caught, go to jail, and share a cell with many men who have enlarged their penises, taken Viagra and are looking for a new relationship."

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
  •