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

  1.    06 Oct 2016 #1

    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?
      My ComputerSystem Spec

  2.   My ComputerSystem Spec

  3.    07 Oct 2016 #3

    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:
    Click image for larger version. 

Name:	2016-10-07 Advanced sharing settings.jpg 
Views:	14 
Size:	196.4 KB 
ID:	104823Perhaps 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


      My ComputerSystem Spec


  4. Posts : 3,590
    Mac OS Sierra
       07 Oct 2016 #4

    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.
      My ComputerSystem Spec

  5.    07 Oct 2016 #5

    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.
      My ComputerSystem Spec


  6. Posts : 3,590
    Mac OS Sierra
       07 Oct 2016 #6

    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.
      My ComputerSystem Spec


 

Related Threads
How to Turn On or Off Password Protected Sharing in Windows 10 When password protected sharing is turned on, only people who have a user account and password on your computer can access shared files, printers attached to your computer, and the...
Hello all! I'm new to this forum, but have been a member of SevenForums for many years! My issue just all of the sudden came up out of the blue. One of the PC's on my home LAN all of the sudden switched settings from having the password setting...
Password Protected Programs in Software and Apps
I just want to know what software is available that lets you password protect any program you want. Something that is not a password manager.
I'm using windows 10 prof 32 bit and joining a domain. I'm trying to share printer and folders but everytime people trying to connect it, they need to enter user and password to access it. I know the way to fix it is by turning off the password...
I have a Windows 10 PC, with one of it's functions being that of a file server/NAS for my home network. I set it up with password protected sharing and a user account/password that everyone knows and uses to access it. I didn't really have any...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 03:49.
Find Us