Files
Gl-Komp-IT-Sys/Active Directory/README.md

2.0 KiB

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

AD - Password Settings Objects

-> Password Settings Objects
--> Advaned View (Activ Directory User & Computer)
---> Active Directory Administrativ Center
----> System
-----> Password Settings Container

GUI-Config

Keine Login History

-> Windows-Einstellungen
-->Sicherheitseinstellungen
--->Lokale Richtlinien
---->Sicherheitsoptionen
----->Interaktive Anmeldung

GUI-Config