-
-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Enabling optimizations with the Powershell script erases the default keys in
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters
Such as:
EnablePlainTextPassword
EnableSecuritySignature
RequireSecuritySignature
ServiceDll
ServiceDllUnloadOnStop
Which leads to breaking of the Workstation service on the next reboot and making it unable to start anymore with error code 2 "File not found"
I think the problem is New-Item -Force which is being used.
Here is a .reg file which repairs this damage:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters]
"EnablePlainTextPassword"=dword:00000000
"RequireSecuritySignature"=dword:00000000
"EnableSecuritySignature"=dword:00000001
"ServiceDll"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\
00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\
77,00,6b,00,73,00,73,00,76,00,63,00,2e,00,64,00,6c,00,6c,00,00,00
"ServiceDllUnloadOnStop"=dword:00000001
ldy985 and BlueToastldy985
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working