-
Notifications
You must be signed in to change notification settings - Fork 8
Reset‑TlsProtocol
Resets specified TLS/SSL protocols by removing SCHANNEL registry keys.
Reset-TlsProtocol [[-Protocol] <SChannelSslProtocols>] [-Client] [-Force]
[-WhatIf] [-Confirm] [<CommonParameters>]
Removes SCHANNEL protocol registry keys under
HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols
for the server-side Server key by default.
Use the -Client switch to
operate on the Client key instead.
This resets the protocol configuration
to the Windows default behavior.
If no protocol is specified, all supported protocols are reset.
Reset-TlsProtocol
Resets all supported TLS/SSL protocols for server-side connections by removing the corresponding registry keys, restoring Windows default behavior.
Reset-TlsProtocol -Protocol Tls12
Resets TLS 1.2 for server-side connections by removing the corresponding registry key, restoring Windows default behavior.
Reset-TlsProtocol -Protocol Tls12 -Client
Resets TLS 1.2 for client-side connections.
Reset-TlsProtocol -Protocol Ssl2, Ssl3
Resets SSL 2.0 and SSL 3.0 for server-side connections.
Reset-TlsProtocol -Client -Force
Resets all supported TLS/SSL protocols for client-side connections without prompting for confirmation.
Reset-TlsProtocol -Protocol Tls -Force
Resets TLS 1.0 for server-side connections without prompting for confirmation.
When specified, operate on the protocol Client registry key instead of
the default Server key.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseSuppresses confirmation prompts.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseOne or more protocol names to reset.
Accepts values from the
[SChannelSslProtocols] enum such as Ssl2,
Ssl3, Tls, Tls11, Tls12, Tls13, Dtls1, Dtls12.
If not specified, all
supported protocols are reset.
Type: SChannelSslProtocols
Parameter Sets: (All)
Aliases:
Accepted values: Ssl2, Ssl3, Tls, Tls11, Tls12, Tls13, DTls1, DTls12
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalsePrompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseShows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.