How do I turn Password Protected Sharing on or off programmatically?

后端 未结 6 702
梦毁少年i
梦毁少年i 2020-12-29 16:24

Windows Vista and 7 has this switch in Network and Sharing Center. It\'s on by default, and that prevents unauthenticated access to shares even if they\'re shared with Every

6条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-29 16:47

    Export the complete register as 1.reg, turn sharing on (or off, if it was on), export to 2.reg and check for the differences?

    To be able to use the diff utility, export the files in Win9X/NT4 registration files (*.reg) -format

提交回复
热议问题