Active Directory
Konfiguration
Powershell
Local Password
Get-LocalUser -Name "Administrator" | Set-LocalUser -Password (ConvertTo-SecureString -AsPlainText "Passw0rd" -Force)
Local Netconf
New-NetIPAddress -InterfaceIndex 3 -AddressFamily IPv4 -IPAddress '172.16.7.100' -PrefixLength '255.255.255.0' -DefaultGateway '172.16.7.254'
Set-DnsClientServerAddress -InterfaceIndex '3' -ServerAddresses ('172.16.7.11','172.16.7.12')
Set-Hostname
Rename-Computer -NewName 'DC01' -Restart -Force
Netzwerkkarte auf Private setzen
Get-NetConnectionProfile
Set-NetConnectionProfile -InterfaceIndex [Index der Netzwerkkarte] -NetworkCategory "Private"
Firewall abschalten
netsh advfirewall set allprofiles state off
IPv6 de-/aktivieren
Disable-NetAdapterBinding -Name [Name der Netzwerkkarte] -ComponentID ms_tcpip6
Enable-NetAdapterBinding -Name [Name der Netzwerkkarte] -ComponentID ms_tcpip6
Aufnahme in die Domäne
Powershell
Domain-Join
Add-Computer -Domain "podxx.spielwiese.intern" -Restart -Force
GPOs
GUI
Keine Login History
PSO
GUI
Password Settings Objects
Zertifikate & PKI
GUI
Externe Root CA
-> Group Policy Management Editor
--> Computer Configuration
---> Policies
----> Windows Settings
-----> Sicherheitseinstellungen
------> Public Key Policies
-------> Trusted Root CA
AD-integrierte CA
Installiere 'Active Directory Certificate Services'
MMC erstellen:
-> Snap-ins:
- Active Directory Sites and Services
- Certificate Templates
- Certification Authority
- Enterprise PKI
- Group Policy Management
Rechtklickt auf ADSSS -> View -> Show Service Node
Rechte im Template lt. Bild setzen
Powershell
AD-integrierte CA
> Zertifikat Anfodern
````ruby
Get-Certificate -Template PODxx.Computer -CertStoreLocation Cert:\LocalMachine\My\
````