Skip to content

Commit

Permalink
Add example userdata for reenabling RDP
Browse files Browse the repository at this point in the history
Signed-off-by: Jason T. Greene <[email protected]>
  • Loading branch information
n1hility committed Sep 26, 2023
1 parent 5b9f617 commit 2028aa5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions win_images/enable-rdp-userdata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<powershell>
Set-ItemProperty -Path "HKLM:\System\CurrentControlSet\Control\Terminal Server" -Name "fDenyTSConnections" -Value 0
Enable-NetFirewallRule -DisplayGroup "Remote Desktop"
</powershell>

0 comments on commit 2028aa5

Please sign in to comment.