Prevent access to File and Printer sharing control (For All Users).

Click here to run a free scan for registry errors
With this setting you can prevent access to File and Printer sharing control, using Network system icon in Control Panel.
Level: Recommended For Experts Only
Description:
Control panel is a repository of various applets/administrative tools that can be used to configure the windows, applications, and services environment. If you go to start > settings menu and select control panel, windows will open the control panel window. This setting can prevent access file and printer sharing control, using network system icon in the current applets list displayed in the control panel. It restricts adding of the selected device to your system. The file and printer sharing control enables you to set the preferences for sharing files and computers. If you enable this setting, you can remove the file and printer control page from the network icon on the control panel. For this, go to start > run menu, enter regedit and navigate to the registry path listed below. If the subkey \network does not exist, create it as explained below. Then, create a dword value nofilesharingcontrol at both the hkey_current_user and hkey_local_machine registry paths. Now, right-click and modify their values to 1 which can prevent access to file and printer sharing control. However, if you want to enable the option back, change the value data to 0 or delete the added values. The changes take effect after a restart or logoff. When editing the registry it is highly recommended to run a quick scan for optimization, you can test your system now for free.




Screenshots


First, click the 'Start' button, and select 'Run'. In the resulting dialog box, type "regedit".
Second, go to <b>[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\] </b> and create a new key as "Network".
Create a new 'DWORD value' as "NoFileSharingControl".
Right Click on "NoFileSharingControl" and select 'Modify'.
Finally, set the value data as "1" and click 'OK'. Once you are done, follow the above steps to make similar changes on HKEY_LOCAL_MACHINE registry path.


Registry Entries

- back to top

  • Path: [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\]
  • Location: Local Machine
  • Value Name: Network
  • Data Type: Key
  • Action Type: Add an Entry
  • Path: [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Network\]
  • Location: Local Machine
  • Value Name: NoFileSharingControl
  • Data Type: DWORD (DWORD Value)
  • Enabled Value: 1
  • Disabled Value: 0
  • Action Type: Add an Entry
  • Path: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\]
  • Location: Current User
  • Value Name: Network
  • Data Type: Key
  • Action Type: Add an Entry
  • Path: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Network\]
  • Location: Current User
  • Value Name: NoFileSharingControl
  • Data Type: DWORD (DWORD Value)
  • Enabled Value: 1
  • Disabled Value: 0
  • Action Type: Add an Entry


Related Tweaks

- back to top