Puppet Class: winrm::config::localaccounttokenfilter
- Defined in:
-
manifests/config/localaccounttokenfilter.pp
Summary
Allows the use of a local account to have remote access to the system.
https://support.microsoft.com/en-us/help/951016/description-of-user-account-control-and-remote-restrictions-in-windows
Overview
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# File 'manifests/config/localaccounttokenfilter.pp', line 12
class winrm::config::localaccounttokenfilter (
Boolean $local_account_token_filter_policy_enable = $winrm::local_account_token_filter_policy_enable,
) {
if $local_account_token_filter_policy_enable {
$policy_value = '1'
} else {
$policy_value = '0'
}
registry_value { 'LocalAccountTokenFilterPolicy':
ensure => present,
path => 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\LocalAccountTokenFilterPolicy',
type => 'dword',
data => $policy_value,
}
}
|