You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
296 B

2 years ago
registry_key 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server' do
values [{
name: 'fDenyTSConnections',
type: :dword,
data: 0 }]
end
execute 'Enable RDP firewall rule' do
command 'netsh advfirewall firewall set rule group="Remote Desktop" new enable=Yes'
end