Skip to content

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.

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.


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!

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 😊 I’ve updated the post with your method 😉

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

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

  • I can’t do step 3 on home edition, and the fix given only works on Windows 8. Is there a command line tool to achieve the same result?

  • Kapil Arya

    ^^ You can try FIX 1 & 2 on Home edition.

  • If ever I needed a reminder why I hate MS, Win 10 is it.
    All my office machines run Win 7, took the plunge and upgraded a laptop to Win 10 ver 1703, now have lost network connections from the Lap top to the MSHOME win 7 machines, can see them but denied access.

    The option to turn off “password protected sharing” is not available, tried the above mentioned lusrmgr.msc solution, that does not work either, and, the Win 7 machines do not display the laptop in the network.

    I have a business to run, and cannot waste time with MS Win 10, who is going to pay me for lost business MS, I doubt it.
    I don’t know what the solution is, perhaps a different Operating system?

  • it work nicely , this is helpful for us. thank u so much.

  • Kapil Arya

    ^^ Glad we could help 😎

  • Changing the guest account fix my problem – again. It broke under the anniversary update and broke again with the creator update. Now, ‘protected’ stays ‘off.’ Still have the ‘master browser’ issue, a gift from the 1703 update, but there’s workarounds.

  • Kapil Arya

    ^^ 😊

  • Thanks for the fix it works, I update Win 10 to 1703 last weekend since MS nag so much and than I can’t turn off password protect sharing, MS should have this FIX

  • Kapil Arya

    ^^ Glad the fix worked 😊

  • Dear Kapil,
    I have Server 2016 and I had set my Password Protected Settings as “Turned OFF”. All of the sudden it became ON and now I am trying to Turn OFF but as soon I save changes and go back to check again under Advance Network Sharing Settings, I find it ON. Whatever I try its not getting off.

    Please help me.

  • Kapil Arya

    ^^ Have you tried the registry and lusrmgr based fixes mentioned here?

  • Can you please include commandline alternatives? Thanks

  • Hi there I tried resetting the Guest password and guest what it works just don’t forget to uncheck the other and check the never expire password and it will go back smoothly.

  • Kapil Arya

    ^^ Thanks for your inputs 😊

  • Leave a Reply

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

    Recent Comments

    • muhammad talha : hey! this actually worked.but i am wondering if it will harm...

      3 hours ago

    • Karchos : Dr. MVRL Murthy' s solution worked for me as well. I have ch...

      6 hours ago

    • dddd : Fix1 worked on HP thanks a million...

      6 hours ago

    • Rami : Hi Kapil, I have a similar problem but from the first step...

      18 hours ago