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:


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:


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.

That’s it!

SHARE: Facebook Google+ Twitter


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


  • 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,

  • Kapil Arya

    ^^ Thanks for your inputs on this 😊

  • Leave a Reply

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

    What's New

    Recent Comments

    • Alan : Excellent fix. This was happening on accounts that had been ...

      3 hours ago

    • Jon Starling : Fix1 didn't work for me, so I deselected Windows Spotlight, ...

      4 hours ago

    • Keerthy Jayavel : Kapil... i changed the date to last week and got opened but ...

      4 hours ago

    • Kapil Arya : ^^ Feedback like this made my day, thank you ☺️...

      5 hours ago

    • Kapil Arya : ^^ This works in Windows 7 too and you can try the steps 😊...

      5 hours ago

    • Tony : Yes, Yes, Yes this is the only solution I could find that ac...

      6 hours ago