Jump to content

Windows/Server: Difference between revisions

From Wiki
Marcluer (talk | contribs)
mNo edit summary
Marcluer (talk | contribs)
mNo edit summary
Line 13: Line 13:
</pre>
</pre>
</blockquote>
</blockquote>
* Active Directory -> Promote -> Add new forest (ad.example.de)
* Active Directory -> Promote -> Add new forest (ad.example.de)
<blockquote>
<blockquote>
Line 19: Line 20:
</pre>
</pre>
</blockquote>
</blockquote>
<blockquote>
<pre>
</pre>
</blockquote>
<blockquote>
<pre>
</pre>
</blockquote>


== Remote Desktop Services ==
== Remote Desktop Services ==
Line 47: Line 29:
</pre>
</pre>
</blockquote>
</blockquote>


* Install role
* Install role
Line 71: Line 52:
</pre>
</pre>
</blockquote>
</blockquote>


* Enable users - Add users to groups:
* Enable users - Add users to groups:
** Remote Desktop Users
** Remote Desktop Users
** RDS allow log on
** RDS allow log on


[[Category:Windows]]
[[Category:Windows]]

Revision as of 20:24, 8 October 2025

Active Directory

  • Rename server
Rename-Computer -NewName "RDS" -Restart
  • Server Manager -> Add roles -> Active Directory Domain Services + DNS
Install-WindowsFeature AD-Domain-Services, DNS -IncludeManagementTools
  • Active Directory -> Promote -> Add new forest (ad.example.de)
Install-ADDSForest -DomainName "ad.example.com" -DomainNetbiosName "AD"

Remote Desktop Services

  • Add user group
Import-Module ActiveDirectory
New-ADGroup "RDS allow log on" -GroupScope Global -GroupCategory Security
  • Install role
Install-WindowsFeature RDS-RD-Server,RDS-Licensing -IncludeManagementTools
Restart-Computer
  • Group Policy Management
    • Forest → Domains → ad.example.de → Right click: Domain Controllers → Create GPO: "RDS"
    • Right click: "RDS" → Edit
      • Computer Configuration → Policies → Administrative Templates → Windows Components → Remote Desktop Services → Remote Desktop Session Host → Licensing
        • Use the specified Remote Desktop license servers: Enable and add Server FQDN
        • Set the Remote Desktop licensing mode: Per User
      • Computer Configuration → Policies → Windows Settings → Security Settings → Local Policies → User Rights Assignment
        • Allow log on through Remote Desktop Services → add "RDS allow log on"
    • Update
gpupdate
  • Enable users - Add users to groups:
    • Remote Desktop Users
    • RDS allow log on