10 March 2016

Enable file and print sharing from the command line

Run this command on the remote computer to enable file and print sharing (all one line):

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

No comments:

Post a Comment