The lazy programmer scripts
scripts that work

Lazy enable SMB access on Windows GitHub

The script needs to be run as administrator in a Powershell or a cmd session.

Tested on Windows versions >= 6.0

netsh advfirewall firewall set rule group="File and Printer Sharing" new enable=yes

That's all, folks!

Written by kami on Monday September 14, 2015
Permalink - Tags: windows, smb, netsh, cmd, powershell

Leave a comment

comments powered by Disqus

« Lazy install apache2 - Lazy detect Linux distro »