Closed mhujer closed 5 years ago
The tweak is not as part of the default preset, you have to run it explicitly, in which case FAQ Q/A 1 goes double for you. Moreover it already has a note stating "Completely disables file and printer sharing"
which should be pretty self-explanatory, especially when it comes to shared drives.
@Disassembler0 thanks for the answer. I'm definitely not blaming the tool, i just blame myself for using it wrong.
I wasn't using Docker when I created my preset so it did not occur to me, that it may break it. See the PR #217 which adds the note with warning.
Enabling the
DisableSMBServer
rule breaks Shared Drives (mounted volumes) in Docker for Windows.If you are trying to enable Shared Drives in Docker and the drive checkbox won't stay checked, you probably have this in the Docker error log (
c:\Users\%USERNAME%\AppData\Local\Docker\log.log
)The solution is either to remove
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\SMB2
key or change its value to1
https://github.com/Disassembler0/Win10-Initial-Setup-Script/blob/b3b12239ecae4143f908d547ff3210027a32ad94/Win10.psm1#L532-L537
Maybe a note can be added to the code so the others are spared of this :-)