I'm trying to find a way to active "Public folder sharing" under "All networks" in the network and sharing center settings.

I am looking for a way to automate this ie: using a netsh command or finding the registry key value to change so I can just run a powershell script to turn it on/off.

Image of what i'm trying to change:


  • 1
    Are you trying to turn it on or turn it off, your screenshot, has it currently turned off. – Ramhound Jan 14 at 21:32

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.