Skip to content

Published: June 7, 2016 | Applies to:

This guide will show how to turn off password protected sharing in Windows 10, so that trusted users on your system can access shared data easily.

Password protected sharing is a networking based feature in Windows, with which you can allow or block other users on your system to access shared files, printers and public folders. By default, this feature is turned on and someone else having an user account on your system can go to Network pane in the File Explorer, to access the shared data.

How To Turn Off Password Protected Sharing In Windows 10

As I said that the password protected sharing is on by default, you’ll be asked to enter your credentials while accessing shared data:

How To Turn Off Password Protected Sharing In Windows 10

Now if in your case, all the other members on your system are worth trusting and you do not want to let Windows ask them credentials each time they access shared data, you can turn off password protected sharing for them. There are two methods for it, discussed below. You should be an administrator of your machine to follow them.

How To Turn Off Password Protected Sharing In Windows 10

Method 1 – Via Control Panel/Network And Sharing Center

1. Right click on the network icon in taskbar notifications area and select Open Network and Sharing Center.

How To Turn Off Password Protected Sharing In Windows 10

2. In the Network and Sharing Center window, click Change advanced sharing settings link as shown below.

How To Turn Off Password Protected Sharing In Windows 10

3. Then in Advanced sharing settings window scroll down and expand All Networks. You’ll then find Password protected sharing heading. Under it, select Turn off password protected sharing option and click Save Changes.

How To Turn Off Password Protected Sharing In Windows 10

You can now reboot your system and password protected sharing will be turned off after restarting your system. In case if the same doesn’t happens, you need to turn off password protected sharing by tweaking registry, which is mentioned in Method 2.

Method 2 – Using Registry Editor

Registry Disclaimer: The further steps will involve registry manipulation. Making mistakes while manipulating registry could affect your system adversely. So be careful while editing registry entries and create a System Restore point first.

1. Press W8K + R and put regedit in Run dialog box to open Registry Editor (if you’re not familiar with Registry Editor, then click here). Click OK.

Windows 10 Registry Editor

2. In the left pane of Registry Editor, navigate to following registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa

How To Turn Off Password Protected Sharing In Windows 10

3. In the right pane of Lsa key, look for registry DWORD (REG_DWORD) named everyoneincludeanonymous which might have value set to 0. Double click on it to change the value.

How To Turn Off Password Protected Sharing In Windows 10

4. Now modify the Value data in Edit DWORD Value box and set it to 1. Click OK. Then navigate to following registry location:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters

How To Turn Off Password Protected Sharing In Windows 10

5. Lastly, in the right pane of Parameters key, set the registry DWORD (REG_DWORD) named restrictnullsessaccess from 1 to 0. Close the Registry Editor and reboot.

How To Turn Off Password Protected Sharing In Windows 10

After reboot, you’ll find that password protected sharing is finally turned off.

Method 3 – From Comments (UPDATED: Nov 27, 2016)

If you’re on upgraded Windows 10 Anniversary Update or later, above mentioned methods may not work for you. Our reader “Kissache” has shared an alternative method that you can use in this case.

1. Press W8K + R and type lusrmgr.msc into Run dialog box, click/tap OK to open Local Users and Groups snap-in.

LUSRMGR.MSC

2. In next window, click Users.

How To Turn Off Password Protected Sharing In Windows 10

3. Moving on, then right click Guest and select Properties.

How To Turn Off Password Protected Sharing In Windows 10

4. Finally in Guest property sheet, check Password never expires and uncheck other options present there. Click Apply followed by OK.

How To Turn Off Password Protected Sharing In Windows 10

Reboot, and Password Protected sharing should be turned off.

That’s it!


SHARE: Facebook Google+ Twitter

25 Comments

  • The registry method does not work for me with anniversary edition.

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa]
    “everyoneincludesanonymous”=dword:00000001
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters]
    “restrictnullsessaccess”=dword:00000000

  • Kapil Arya

    ^^ Have you rebooted after performing registry manipulation?

  • Thank you for your answer. Yes I’ve rebooted and checked the registry entries too, no permission error.
    Still asking for password while they try to access my shared folder.

  • Kapil Arya

    ^^ I’ll check and get back to you. Thanks for your feedback!

  • Thanks, waiting for your reply.

  • Kapil Arya

    ^^ It’s working fine here, if you’re facing this issue with HomeGroup, you can unjoin it and join net shared workgroup.

  • Yes I’m trying to use it with homegroup. How can I join a net shared workgroup without a server? Couldn’t find anything useful in google.

  • Unable to turn off protected sharing after the Anniversary update, but was working fine before. After turning it ‘off’ and saving change, it returns to ‘on.’ Tried the registry changes, but didn’t fix it. After logging in with MS account, I am able to see /access files even when using the ‘local’ account, but this setting cannot be changed. Any ideas?

  • Kapil Arya

    ^^ Odd, I suggest you to report the issue to Windows team with the help of Feedback app. Don’t forgot to mention your Windows 10 edition with your message.

  • I solved this. This was as simple as Control Panel | Network & Sharing Centre | Advanced Settings | All network Options | Turn Off Password Protected Sharing. Seems the update flipped it back on.

  • Kapil Arya

    ^^ Might be the cause is upgrade. IMO, users with clean install won’t have that issue.

  • Same here it doesn’t work after upgrading to anniversary.

  • does not work… same problem as Daniel except I dont use groups…

  • After 2 hours (Jesus !) updating to anniv, turn off doesn’t work with either method. I had to go back to the previous windows version cause the office network did’nt work properly. Thanks Microsoft, you really did it this time. I really don’t know how many millions of work hours are wasted with this “free” update.

  • Right on Bokos, I’ve, intermittently, been trying to fix this for two days. I’m gonna do what you did, go back to previous version. What a waste of time.

  • This didn’t work for me either. I am running Windows 10 Pro. I noticed an error in the last upgrade. I looked at the registry in step two (services) when I was following your suggestion and noticed a line “EnableAuthenticaticateUserSharing” set at 1 and was wondering if this is the line that might need changing. I am no expert at this by the way. I also have 5 other computers networked as a workgroup and this one is the only one the seems to have the sharing
    access issue. Any more recommendations would be appreciated. Thanks

  • I have the problem also. Only he windows drive I affected other drives on the same computer can be set shareable. I have several customers that have the problem after receiving the Premium upgrade..

  • Hello, after the Anniversary Update of my Windows 10, I had exactly the same issues as all the people here, but I found the solution on the web.

    So…. everything that Kapil Arya wrote here works perfect, BUT ONLY if you also make sure to open the “Properties” dialog-box for the “Guest” built-in account in “Computer Management” and make sure that “Password never expires” is selected whilst all the other check boxes are NOT selected.

    After doing that, the “Password protected sharing” will remain turned OFF no matter what method you use to turn it off.

    Have a nice day everyone,
    Kissache

  • Kapil Arya

    ^^ Thanks for your inputs on this 😊

  • Hi there!

    The Kissache’s solution works for me:
    1.- Computer Management.
    2.- Users
    3.- Guest (properties)
    4.- Check “Password never expires”
    5.- Deselect other checkboxes.

    Now “Password protectd sharing” can turned OFF.

    Thank you so much.

  • Kapil Arya

    ^^ Great!

  • Also works for me. The guest set at “Password never expires” is the key. Simple and easy. I had fixed the problem temporarily by restoring system in past. Problem recurred with new update. Your solution is a fast fix if it happens again and may when update occurs later. This needs to be shared with MS.
    Thanks

  • Kapil Arya

    ^^ Thanks for re-confirming it :) I’ve updated the post with Kissache’s method. Credits to him for sharing working solution!

  • In my version, Local Users and groups are not allowed, said “This snapin may not be used with this edition of windows 10. To manage user accounts for this computer, use the User Accounts tool in the control panel.” Please help.

  • Kapil Arya

    ^^ Refer: http://www.kapilarya.com/this-snap-in-may-not-be-used-with-this-edition-of-windows

  • Leave a Reply

    Your email address will not be published. Required fields are marked *

    What's New


    Recent Comments

    • Praveenraj : Thanks for your help !!!!...

      3 hours ago

    • Amit : Thank you so much !...

      21 hours ago

    • Manotosh : at first i can browse in 3g speed in my 2g data packs.but no...

      1 day ago

    • Kapil Arya : ^^ This means problem is with your network connection, not W...

      1 day ago


    Windows Group Policy Troubleshooting