Skip to content

Commit

Permalink
No need to add users to Admins and RDP groups
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Grzeskowiak authored and pete-j-g committed Mar 7, 2023
1 parent 42fcbad commit 30dfadb
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ tasks:
Install-WindowsFeature -Name RSAT-ADDS-Tools

# Allow Domain Users to connect via RDP and give them local admin rights
Add-LocalGroupMember -Group "Remote Desktop Users" -Member "Domain Users@${delius_iaps_ad_domain_name}"
Add-LocalGroupMember -Group "Administrators" -Member "Domain Users@${delius_iaps_ad_domain_name}"

exit 3010 # Reboot instance, see https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2launch-v2-settings.html#ec2launch-v2-exit-codes-reboots
Expand Down

0 comments on commit 30dfadb

Please sign in to comment.