Skip to content
This repository was archived by the owner on Nov 15, 2024. It is now read-only.

Commit 825e667

Browse files
author
Jason Helmick
committed
Added RDP for client Issue #57
1 parent f2577db commit 825e667

File tree

6 files changed

+483
-16
lines changed

6 files changed

+483
-16
lines changed

Configurations/POC-MultiRole/VMConfigurationData.psd1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@ demonstrations and would need to be modified for your environment.
133133
CustomBootStrap = @'
134134
# To enable PSRemoting on the client
135135
Enable-PSRemoting -SkipNetworkProfileCheck -Force;
136+
# To enable RDP
137+
Set-ItemProperty -Path "HKLM:\System\ControlSet001\Control\Terminal Server" -Name "fDenyTSConnections" -Value 0;
138+
136139
'@
137140
}
138141

Configurations/TEST-SingleDC/VMConfigurationData.psd1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ demonstrations and would need to be modified for your environment.
134134
CustomBootStrap = @'
135135
# To enable PSRemoting on the client
136136
Enable-PSRemoting -SkipNetworkProfileCheck -Force;
137+
# To enable RDP
138+
Set-ItemProperty -Path "HKLM:\System\ControlSet001\Control\Terminal Server" -Name "fDenyTSConnections" -Value 0;
137139
'@
138140
}
139141
#>

Configurations/TEST-SingleServer/VMConfigurationData.psd1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,9 @@ demonstrations and would need to be modified for your environment.
119119
CutomBootStrap = @'
120120
# To enable PSRemoting on the client
121121
Enable-PSRemoting -SkipNetworkProfileCheck -Force;
122+
# To enable RDP
123+
Set-ItemProperty -Path "HKLM:\System\ControlSet001\Control\Terminal Server" -Name "fDenyTSConnections" -Value 0;
124+
122125
'@
123126
}
124127
#>

Configurations/devops-powershell-fundamentals/VMConfigurationData.psd1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,9 @@ demonstrations and would need to be modified for your environment.
128128
CustomBootStrap = @'
129129
# To enable PSRemoting on the client
130130
Enable-PSRemoting -SkipNetworkProfileCheck -Force;
131+
# To enable RDP
132+
Set-ItemProperty -Path "HKLM:\System\ControlSet001\Control\Terminal Server" -Name "fDenyTSConnections" -Value 0;
133+
131134
'@
132135
}
133136

0 commit comments

Comments
 (0)