This is not something that can be controlled in the registry or a service. We had the unpleasant experience in finding this out, during our migration to AD. For some strange reason, someone had suggested that all the facilites turn off File and Printer sharing. Once it was announced that we were going to AD, we needed to figure out a way to turn it back on. The first tool I found and used at the time was NETSET. It is included in the Resource Kit Utilities, but it not for the tame at heart. To get Netset to work, we had to first uninstall F&PS (because it was installed, but not checked) and then reinstall F&PS.

Well after our migration I found some other tools and they are described here: http://www.jsiinc.com/SUBJ/tip4700/rh4705.htm
Never used it, but it looks like it will do exactly what you need. To bad I couldn't find this when I needed it
_________________________
(... better days ahead)