Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Configuration NetCeaseConfig {
Param (
[string[]]$NodeName = 'localhost'
)
Import-DscResource –ModuleName 'PSDesiredStateConfiguration'
Node $NodeName
{
Registry NetCease
{
Key = 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\DefaultSecurity'
ValueName = 'SrvsvcSessionInfo'
Ensure = 'Present'
Force = $true
ValueData = '010004801400000020000000000000002C00000001010000000000051200000001010000000000051200000002008C000600000000001400FF011F0001010000000000050300000000001400FF011F0001010000000000050400000000001400FF011F000101000000000005060000000000180013000F00010200000000000520000000200200000000180013000F00010200000000000520000000230200000000180013000F0001020000000000052000000025020000'
ValueType = 'Binary'
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment