Windows 10: Programatically disabling "Password protected sharing"

Discus and support Programatically disabling "Password protected sharing" in Windows 10 Network and Sharing to solve the problem; The product I'm working on relies heavily on letting an embedded device fetch some files from an anonymous share. I made an installer that preps a... Discussion in 'Windows 10 Network and Sharing' started by Alexander Grönlund, Jan 17, 2019.

  1. Programatically disabling "Password protected sharing"


    The product I'm working on relies heavily on letting an embedded device fetch some files from an anonymous share.


    I made an installer that preps a Windows 10 machine with all necessary modifications, creating a share, populating the share and so on.


    The way I disabled "Password protected sharing" earlier was setting the following registry entries

    HKLM\SYSTEM\CurrentControlSet\Control\Lsa\everyoneincludesanonymous => 1

    HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\restrictnullsessaccess => 0


    Now we have started receiving machines that have the 1803 windows 10 update and this no longer works.


    Are there any more registry entries I need to modify to get my installer working again?

    :)
     
    Alexander Grönlund, Jan 17, 2019
    #1

  2. Password Protected Sharing

    Is there a permanent way to disable password protected sharing in Windows 10?

    -> Unsharing all shared folders on each machine will disable all sharing.

    -> A Windows 10 forum would be a better place to post this question.
     
    Frederik Long, Jan 17, 2019
    #2
  3. Sharing a folder still asking to enter password even after disabling turn off password protecting sharing in Windows 10

    Old title: Sharing is not working

    Dear Microsoft

    I have a basic question about the networking. I have two computer and i want to share the folder named "games" using the lan. I connect both computer (computer_1 and computer_2) in computer 1 i
    shared this folder for everyone to read and write. But the problem is that in the computer_1
    turn off the password protecting but it still requiring the password to access the folder "games". And also there is Microsoft password is not working.

    Means turn off password protecting sharing is not work.

    I want to access this folder in computer_2 without requiring any password for computer_1.

    I used the following process also but it still requiring to enter in the computer_1.

    • private (current profile)
    • Turn on network discovery
    • Turn on file and printing sharing
    • Guest of Public
    • Turn on network discovery
    • Turn on file and printing sharing
    • All Network
    • Turn on sharing so anyone with the network access can read and write file in the public folder
    • Turn off password protecting
     
    Hemantgehlot, Jan 17, 2019
    #3
  4. Programatically disabling "Password protected sharing"

    SHARING: PASSWORD PROTECTED SHARING

    Hi Bob,

    Just to verify, we would like to know if you're trying to turn off password protected sharing. If yes, you can follow the steps provided by Kapil Arya MVP in this

    thread
    .

    Feel free to contact us if you need assistance with Windows.
     
    Dennis Mop, Jan 17, 2019
    #4
Thema:

Programatically disabling "Password protected sharing"

Loading...
  1. Programatically disabling "Password protected sharing" - Similar Threads - Programatically disabling Password

  2. Asked 1K times: How to disable turn off password protected sharing

    in Windows 10 Network and Sharing
    Asked 1K times: How to disable turn off password protected sharing: Two PCs, one Windows 10 Home and the second Windows 11 Home. I login to both using the same Microsoft account. The home network is sharing a single folder from each. The share permission allows "Everyone". I must be missing some other requirement to make this work....
  3. computer not showing on network when password protected sharing is disabled windows 11

    in Windows 10 Gaming
    computer not showing on network when password protected sharing is disabled windows 11: Hi,As the question states, both my machines' login details is my Microsoft account email and password. When network and sharing is on and I want to access a machine it asks for username and password. If I want this disabled and go to the settings and turn off the password...
  4. Updates Revert "Password Protected Sharing" to ON

    in Windows 10 Network and Sharing
    Updates Revert "Password Protected Sharing" to ON: I have 3 computers that access a shared drive called "Shared". They're on a LAN. Every Windows update reverts this change. I need a way to keep it persistant by not having to turn Password Protected Sharing back OFF after every update. Any ideas? Maybe using regedit? I...
  5. Password protected sharing over Network sharing

    in AntiVirus, Firewalls and System Security
    Password protected sharing over Network sharing: How can we turn on password protected sharing over Network sharing,thank you https://answers.microsoft.com/en-us/windows/forum/all/password-protected-sharing-over-network-sharing/635517ef-5d29-4e18-80f5-43c8896e6ac9"
  6. Turn on password protected sharing over Network sharing.

    in Windows 10 Network and Sharing
    Turn on password protected sharing over Network sharing.: how do I set up a password for netwotk sharing? ***Modified Title from: How do I set up a password for network sharing*** https://answers.microsoft.com/en-us/windows/forum/all/turn-on-password-protected-sharing-over-network/04c4ee71-adcd-45ea-90be-e35904259e1e
  7. Cannot turn off the password protected sharing. The option for password protected sharing...

    in AntiVirus, Firewalls and System Security
    Cannot turn off the password protected sharing. The option for password protected sharing...: Hi support team I want to turn off the password protected sharing on my PC. So, the other users available on the same network can access my shared folder without entering any user credentials. To do that I entered into the Control Panel\All Control Panel Items\Network and...
  8. password protected sharing

    in Windows 10 Network and Sharing
    password protected sharing: I can't turn it off. I know how it's supposed to work. I turn it off, click "save changes" but it doesn't turn off. I can't use the local users and groups snap in with my version of windows 10. I have tried the registry edit method mentioned elsewhere. That did not work....
  9. Network share ignores password protected sharing

    in Windows 10 Network and Sharing
    Network share ignores password protected sharing: I am trying to make a shared folder on my network that is only accessible to me and cannot be viewed by other users.When I create the share, no matter how I set permissions, the folder becomes accessible to everyone on the network. This is the case whether I use a homegroup...
  10. Password Protecting the Internet on Shared Computer

    in Windows 10 Network and Sharing
    Password Protecting the Internet on Shared Computer: Working as an I.T. Assistant for a public business my boss wants me to start password protecting the internet on all staff computers. Recently, somebody in the public was able to access questionable material on my computer, due to it being located in the public, while I was...