I want to be able to automate setting advanced sharing, public folder sharing and password protected sharing. I want to be able to do this via command line, vbscript, reg hack, ... However I can. I've googled and binged for days. Tried using regshot to look at before/after registry settings when I manually changed them. Nothing. Any help would be great. Or even if I can find where the settings are stored would be helpful. I can set network discovery and file and printer sharing with "netsh advfirewall firewall set rule group=" but there are no groups/rules for public folder sharing and password proteced sharing. Thank you.