Windows 10: Password Protected Sharing - Turn On/Off with PowerShell

Discus and support Password Protected Sharing - Turn On/Off with PowerShell in Windows 10 Network and Sharing to solve the problem; How can I use PowerShell to turn on/off "Password Protected Sharing" setting in Advanced sharing settings? 66136 Discussion in 'Windows 10 Network and Sharing' started by fred3, Oct 5, 2016.

  1. fred3 Win User

    Password Protected Sharing - Turn On/Off with PowerShell


    How can I use PowerShell to turn on/off "Password Protected Sharing" setting in Advanced sharing settings?

    :)
     
    fred3, Oct 5, 2016
    #1

  2. How do I remove the network credentials password from Windows 10.

    You need to Turn off password protected sharing on the remote computer.

    Open Start > Settings > Network & Internet > Status

    Scroll to the bottom

    Click Network and Sharing Center

    Click Change advanced sharing settings

    Expand All Networks

    Under Password protected sharing

    Switch between 'Turn on password protected sharing and Turn off password protected sharing'

    Then choose 'Turn off password protected sharing'

    Then click 'Save changes'
     
    Andre Da Costa, Oct 5, 2016
    #2
  3. Nonymuse Win User
    Cannot turn off password protected sharing on Windows 10

    I also have this problem. I have encountered many network resets for clients that I work with, pretty well all have responded properly when both allowing access to public folders and turning off the password protected sharing - easy network access has
    been restored. On my own personal pc at home, (which is networked with one other Windows 10 machine and a Windows 7 laptop) I can allow access to the public folders, but when I check off the "Turn off password protected sharing", this option does NOT save,
    and a login with password is required to access the public folders from the other two machines. This is unacceptable and a real pain in the you-know-where. One would think that with all the brainpower that Microsoft has, it would have tested the recent updates
    thoroughly enough to avoid **** like this.
     
    Nonymuse, Oct 5, 2016
    #3
  4. bro67 Win User

    Password Protected Sharing - Turn On/Off with PowerShell

    bro67, Oct 6, 2016
    #4
  5. fred3 Win User
    bro67: I used the link you provided and scanned the contents. All I could see was information about file shares .. i.e. specifically. I'm sorry if my question wasn't clearer. I'm asking about these Advanced Sharing Settings specifically. The setting regarding passwords is at the bottom of the image:

    Password Protected Sharing - Turn On/Off  with PowerShell [​IMG]
    Perhaps I missed the connection to this in the link provided but I didn't see it.
    That said, it's a very interesting bunch of information and surely will be valuable at some point!
    Thanks
     
    fred3, Oct 6, 2016
    #5
  6. bro67 Win User
    The Advanced Sharing options are just quick set options for those who do not know or want to get into the meat and potatoes of the OS. The Technet information is going to be your best resource, along with Windows IT Pro. Everything that is found on a search is about the Command Terminal. The link that I posted yesterday for the first post was just a jumping off point, because it gave you the direction to where you needed to dig in further.

    Most stuff that is advanced is done by "Roll your own", when it comes to items that are normally done on Domains and in scripts for when users log in.
     
    bro67, Oct 6, 2016
    #6
  7. fred3 Win User
    Well, I've looked at it a bit now and don't find the connection. For example, if passwords are required then where/how is that connection made? Or is it that there is *no* such blanket setting and that the notion gets translated into a bunch of individual settings? One can imagine that but it seems counter to having powerful tools like PowerShell, etc.
     
    fred3, Oct 7, 2016
    #7
  8. bro67 Win User

    Password Protected Sharing - Turn On/Off with PowerShell

    Password tokens are only to unlock the gate to let you into the protected share. Without that, you are just going to see that there is a share out there. What you are wanting to do is done through a startup script and can be done in many different ways. Using Powershell is going to take a learning curve in what you want to do, since it is new territory.

    Jimbo is pretty good with this kind of stuff. You may want to dig a little deeper with the information in both of those links, since they are just basic this is how you do it stuff, not actually what you need to do.
     
    bro67, Apr 5, 2018
    #8
Thema:

Password Protected Sharing - Turn On/Off with PowerShell

Loading...
  1. Password Protected Sharing - Turn On/Off with PowerShell - Similar Threads - Password Protected Sharing

  2. cannot turn off Password Protected Sharing Windows 10

    in Windows 10 Gaming
    cannot turn off Password Protected Sharing Windows 10: cannot turn off Password Protected Sharing Windows 10 https://answers.microsoft.com/en-us/windows/forum/all/cannot-turn-off-password-protected-sharing-windows/c3606607-7dc7-44db-944d-d7da4a5744d2
  3. cannot turn off Password Protected Sharing Windows 10

    in AntiVirus, Firewalls and System Security
    cannot turn off Password Protected Sharing Windows 10: cannot turn off Password Protected Sharing Windows 10 https://answers.microsoft.com/en-us/windows/forum/all/cannot-turn-off-password-protected-sharing-windows/c3606607-7dc7-44db-944d-d7da4a5744d2
  4. cannot turn off Password Protected Sharing Windows 10

    in Windows 10 Software and Apps
    cannot turn off Password Protected Sharing Windows 10: cannot turn off Password Protected Sharing Windows 10 https://answers.microsoft.com/en-us/windows/forum/all/cannot-turn-off-password-protected-sharing-windows/c3606607-7dc7-44db-944d-d7da4a5744d2
  5. Network Sharing prompts for password (Password protected sharing turned off) - Windows 10

    in Windows 10 Network and Sharing
    Network Sharing prompts for password (Password protected sharing turned off) - Windows 10: I've been using Network Share (HomeGroup before) for a while. Weeks ago I changed my Microsoft account password, and then here I got a problem. Let's say my main PC is PC A, and my second PC is PC B. When I try to access files on B from A, everything works fine. But when I...
  6. 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...
  7. Windows 10 Turn Off Password Protected Sharing

    in Windows 10 Customization
    Windows 10 Turn Off Password Protected Sharing: We are looking for a way to turn off password protected sharing either programmatically or through some type of scripting (cmd, powershell, etc.) for Windows 10 1607. It is the option in Advanced Sharing Settings (All Networks) in Network and Sharing Center. We can...
  8. Advanced Shared Settings won't turn "off" password protected sharing

    in Windows 10 Network and Sharing
    Advanced Shared Settings won't turn "off" password protected sharing: I'm trying to set up homegroup networking with other household computers. My new HP/Windows 10 is asking for a password. When I go to control panel, network & internet, network & sharing center, advanced sharing settings, all networks and select "turn off password protected...
  9. Network share requesting password, but password protection turned off!

    in Windows 10 Network and Sharing
    Network share requesting password, but password protection turned off!: Hi Guys, This is a curious one. I have three PCs (two desktop and one laptop) all running Windows 10 Pro 64-bit (1607). Each system has a shared partition, set up exactly the same, which has sharing set for 'everyone', with 'full control'. Password protected...
  10. Turn On or Off Password Protected Sharing in Windows 10

    in Windows 10 Tutorials
    Turn On or Off Password Protected Sharing in Windows 10: How to: Turn On or Off Password Protected Sharing in Windows 10 How to Turn On or Off Password Protected Sharing in Windows 10 When password protected sharing is turned on, only people who have a Public folders. If you wanted to give access to shared files to other...

Users found this page by searching for:

  1. powershell turn off password protected sharing

    ,
  2. turn off password protected sharing powershell

    ,
  3. how to turn off password protected sharing using powershell or command script

    ,
  4. How to turn on password protected sharing using powershell,
  5. password protected sharing using powershell,
  6. auth to protected share over powershell,
  7. set password for password protected sharing,
  8. Turn off Windows 10 password protected sharing powershell,
  9. powershell switchoff password protected share,
  10. turn off print file sharing password powwershell,
  11. powershell to turn off password protection,
  12. windows 10 powershell turn off password protected sharing,
  13. windows 10 powershell trun off password protected sharing,
  14. powershell disable protected sharing ,
  15. powershell turning off password protected sharing