New
#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?
How can I use PowerShell to turn on/off "Password Protected Sharing" setting in Advanced sharing settings?
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:
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
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.
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.
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.