|Disable File and Printer Sharing (Windows 95/98/Me)|
Category: Home > Security > Network
When file and printer sharing is installed it allows users to make services available to other users on a network, this functionality can be disabled by changing this setting.
Open your registry and find the key below, if it doesn't already exist then create it.
Create two new DWORD values named "NoFileSharing" and "NoPrintSharing" and set the values to either '1' for sharing disabled or '0' for sharing enabled. Both settings do not have to be the same, it is possible to have one disabled and the other enabled.
Restart Windows for the change to take effect.
|(Default)||REG_SZ||(value not set)|
User Key: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\|
System Key: [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\
Name: NoFileSharing, NoPrintSharing
Type: REG_DWORD (DWORD Value)
Value: (0 = file sharing, 1 = disabled)
Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.
Last Modified: February 12, 2003