Lazy enable SMB access on Windows
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!
Tweet