How to Enable File and Print Sharing through Intune Firewall settings

Iron Contributor

I would like to enable File and Print sharing within Intune FW settings. Is it possible if so how? If not, why so? and is Microsoft going to provide an option to bring it in future versions. Next, how would I enable it is there any documentation?

 

Similarly for WinRM

 

What if I enable it to ANY and not PRIVATE or PUBLIC? 

2 Replies
what about proactive remediation
netsh advfirewall firewall set rule group="File and Printer Sharing" new enable=Yes
Hi Thiago,

Yes, I have done that through Poweshell script but through Firewall create policy can we do it under the Firewall section. Is it possible to open ports only and that would automatically open up the respective ports.