> For the complete documentation index, see [llms.txt](https://hacking-notes.jord4n.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hacking-notes.jord4n.pro/de/active-directory/enumeration/local-admin-access-discovery.md).

# Suche nach lokalem Administratorzugriff

### Finde Maschinen, auf denen der Benutzer lokaler Administrator ist

{% code overflow="wrap" %}

```powershell
Find-LocalAdminAccess -Verbose
```

{% endcode %}

Dieser Befehl prüft, auf welchen Maschinen der aktuelle Benutzer lokale Administratorrechte hat.

Dies ist ein sehr nützlicher Befehl in der Aufklärungsphase nach einer Kompromittierung in einem Labor.

<figure><img src="/files/d4c08e7ff97c5d54eafef2f8a9fbcd35673db95b" alt=""><figcaption></figcaption></figure>

### Lokale Administratoren auf mehreren Maschinen auflisten

{% code overflow="wrap" %}

```powershell
Invoke-EnumerateLocalAdmin -Verbose
```

{% endcode %}

Dieser Befehl ermöglicht es Ihnen, lokale Administratoren auf mehreren Hosts in der Domäne zu identifizieren.

<figure><img src="/files/e165ff07a8e2948418cae779294732626e850be4" alt=""><figcaption></figcaption></figure>

### Benutzersitzungen in einer Gruppe finden

{% code overflow="wrap" %}

```powershell
Invoke-UserHunter -GroupName "RDPUsers"
```

{% endcode %}

Dieser Befehl sucht nach Sitzungen, die von Benutzern eingerichtet wurden, die zu der `RDPUsers` Gruppe gehören.

Dieser Befehl sucht nach Sitzungen, die von Benutzern eingerichtet wurden, die zu der `RDPUsers` Gruppe gehören.

Dies kann dabei helfen, Folgendes zu identifizieren:

* auf welchen Maschinen eine Gruppe aktiv ist;
* wo einige interessante Benutzer verbunden sind;
* welche Maschinen eine weitere Analyse verdienen.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://hacking-notes.jord4n.pro/de/active-directory/enumeration/local-admin-access-discovery.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
