Privilegierte-Konten-Check

1.1

The script works exclusively READ-ONLY. It changes nothing in Active Directory, creates nothing, deletes nothing and
transfers no data. It writes exactly one HTML file (and optionally CSV files) to the specified
output folder. Members (also via nested groups) of Domain Admins, Organization Management, Schema Admins, Administrators, Account Operators, Server Operators
The script works exclusively READ-ONLY. It changes nothing in Active Directory, creates nothing, deletes nothing and
transfers no data. It writes exactly one HTML file (and optionally CSV files) to the specified
output folder. Members (also via nested groups) of Domain Admins, Organization Management, Schema Admins, Administrators, Account Operators, Server Operators and Backup Operators are considered privileged.
The groups are found by their fixed identifiers (SIDs), so the script works in any Windows language.

Prerequisites: Windows PowerShell 5.1, the "ActiveDirectory" module (present on domain controllers, otherwise RSAT
"Active Directory Domain Services und Lightweight Directory Services-Tools") and a domain account with read permissions.
Administrator rights are not required. Without read permission on the password policies (Password Settings
Container), point P7 for accounts with their own policy appears as "not checked".

Limitations: The built-in accounts Guest, krbtgt and DefaultAccount are never listed, even if they are in a
privileged group. Accounts whose password must be changed at the next logon do not appear
under P3. Only the domain of the computer or the specified server is read; members from other
domains of the forest are not captured. The finding (group) names the top-level privileged group,
not the nesting path.

Deutsch:
Das Skript arbeitet ausschließlich LESEND. Es ändert nichts im Active Directory, legt nichts an, löscht nichts und
überträgt keine Daten. Es schreibt genau eine HTML-Datei (auf Wunsch zusätzlich CSV-Dateien) in den angegebenen
Ausgabeordner. Als privilegiert gelten Mitglieder (auch über verschachtelte Gruppen) von Domänen-Admins,
Organisations-Admins, Schema-Admins, Administratoren, Konten-Operatoren, Server-Operatoren und Sicherungs-Operatoren.
Die Gruppen werden über ihre festen Kennungen (SID) gefunden, das Skript arbeitet deshalb in jeder Windows-Sprache.

Voraussetzungen: Windows PowerShell 5.1, das Modul "ActiveDirectory" (auf Domänencontrollern vorhanden, sonst RSAT
"Active Directory Domain Services und Lightweight Directory Services-Tools") und ein Domänenkonto mit Leserechten.
Administratorrechte sind nicht erforderlich. Ohne Leserecht auf die Kennwortrichtlinien (Password Settings
Container) erscheint der Punkt P7 für Konten mit eigener Richtlinie als "nicht geprüft".

Grenzen: Die eingebauten Konten Gast, krbtgt und DefaultAccount werden nie aufgeführt, auch wenn sie in einer
privilegierten Gruppe stehen. Konten, deren Kennwort bei der nächsten Anmeldung geändert werden muss, erscheinen
nicht unter P3. Es wird nur die Domäne des Computers bzw. des angegebenen Servers gelesen; Mitglieder aus anderen
Domänen der Gesamtstruktur werden nicht erfasst. Die Fundstelle (Gruppe) nennt die oberste privilegierte Gruppe,
nicht den Verschachtelungspfad.

Show more

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name Privilegierte-Konten-Check

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2026 IT Admin Tools by MM. MIT-Lizenz.

Package Details

Author(s)

  • IT Admin Tools by MM

Tags

ActiveDirectory Security Privileged Admin Audit Report HTML Sysadmin German Deutsch ReadOnly

Functions

T Datum JaNein Ort Html Kurz Export-Csv Einheitlich WertAnzeige SpaltenAnzeige IdZahl IdText IstPlatzhalter InfoWennNurNichtGeprueft NichtGeprueft Befund BerichtSchreiben FileTimeDatum KontoObjekt Vermerken Zeile

Dependencies

This script has no dependencies.

Release Notes

1.0: erste Veröffentlichung. 7 Prüfpunkte zu Administratorkonten, HTML-Bericht.

FileList

Version History

Version Downloads Last updated
1.1 (current version) 8 11/15/2026
1.0 7 11/13/2026