Introduction In this article, I describe how to enable or disable file and printer sharing in Windows This is a key feature in the Windows family for sharing files and printers on the network with other users. We can also use this feature in Windows 10 to share files and printers on the network. The file-sharing feature is a process that enables the user to share files in a shared folder that are accessible to other users on the same network. Similarly, the printer sharing feature allows multiple computers to connect to the same network to access common printers.
When the file and printer sharing feature is turned on, the files and printers that you share from the computer are accessed by other users on the same network. When we need to share the file and printer with other users on the network, we have different options to enable it to use different methods such as command prompt, Windows PowerShell, and control panel.
This tutorial will show you the steps on how to enable or disable file and printer sharing in Windows Method 1. Using Command Prompt By using the Command Prompt Admin , the user can easily enable or disable file and printer sharing option.
Follow the below instructions to proceed. Step 2 A To turn off disable the file and printer sharing option, type the following command in the command prompt. Step 2 A To turn off disable the File and printer sharing option for different profiles, type the following command in the Windows PowerShell Admin. Through Control Panel With the help of the Control Panel, the user can easily enable or disable file and printer sharing option.
Step 1 Open Control Panel. Step 2 Click on the "View network status and tasks" option under the "Network and Internet" section. Add a comment. Active Oldest Votes.
Improve this answer. Russ Warren Russ Warren 1, 10 10 silver badges 21 21 bronze badges. Hey, good deal. Thanks for posting the follow-up! Paul Paul 2 2 gold badges 6 6 silver badges 19 19 bronze badges. Is the drive you're trying to share formatted as NTFS?
What about the Computer Browser service? If the server service isn't running, it shouldn't be either, but what's in the error log when you try to start that one? If you're not going to bother even attempting to answer the OP's question, then don't bother to post at all. Better Fix click Start button click Control panel click administrative Tools click services short cut slide down to Server right click properties set start up type to automatic done finished.
The question states that the Server service isn't starting, so setting it to Automatic wouldn't help. The Overflow Blog. Podcast Making Agile work for data science. Stack Gives Back Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually. Related There are too many for us to run around and do manually. I need to know how to install that service on XP machines.
I'd like to do it through our GPO Server or a batch file if possible. I've looked around and can't find a clear answer. The one solution I've attempted that almost seemed to work was a batch file with netset about which I know nothing, so this could very well be the wrong way to go. Basically, the batch file called an. And I kind of feel like I'm missing something simple. Is there something built into GP to handle this?
Note, we need it installed, not just enabled. I looked at all this and could find a solution that I could test. First, Joe, thanks for the vote of confidence; I'm not sure how I measure up to that.
The answer lies with the snetcfg. Apparently it isn't an included utility, but a sample code that was included in the Driver Development Kit that needed compiled for the platform on which it need to be used. It was basically a demonstration for driver programers to learn how to use the Inetcfg API. With that being said several people have posted compiled versions on the Internet; if you trust that they aren't riddled with viruses.
So appearently the demand for such scriptable functionality reached Microsoft and they answered. Now about the registry. Export the HKLM key to a file, lets call it org. Re-install the service and Export the key again to a file called cng. You can see that the changes made to the registry are not at all trival. I wouldn't suggest trying to go that route. I downloaded the next to latest DDK the latest requires Visual Studio, which I don't have , they still have a sample application which I could compile, but it was a GUI app; not something that you can script.
So I think your options are to either trust and download someone's compiled snetcfg or do it manually. I certainly could be missing something, and I am sure by now you have found most of this out already. I had already tried the second one, but that just makes an exception in the firewall.
0コメント